SandPond
SandPond copied to clipboard
More types of plant
Maybe it would be cool to have more types of plant. The current plant could be renamed to grass or moss our something. Then we could have vines and other things maybe. Maybe they should need water to grow.
What if the type of plant changes depending on environment if in water seaweed if touching stone moss if near wood vine
It could do but it sounds more complicated! It would be cool to try. I think that sometimes I would want to specifically choose a certain type of plant though, like a tree VS grass VS a flower 🤔
i did try it ` element Seed { colour "Brown" emissive "Green" category "Life" prop temperature ROOM
symbol W Water
symbol S Seaweed
symbol T Wood
symbol V Vine
symbol N Sand
symbol C Coral
symbol G Grass
symbol D Dirt
@ => _
_ @
all(xyz.directions) {
@W => S.
}
all(xyz.directions) {
@T => V.
}
all(xyz.directions) {
@N => C.
}
all(xyz.directions) {
@D => G.
}
}` Makes the game EXTREMELY LAGGY though and i only tried it with dirt to make grass/ the plant element
` element Seed { colour "Brown" emissive "Green" category "Life" prop temperature ROOM
symbol W Water
symbol S Seaweed
symbol T Wood
symbol V Vine
symbol N Sand
symbol C Coral
symbol G Grass
symbol D Dirt
@ => _
_ @
all(xyz.directions) {
@W => S.
}
all(xyz.directions) {
@T => V.
}
all(xyz.directions) {
@N => C.
}
all(xyz.directions) {
@D => G.
}
}`
thats the code by itself
Cool! I think having lots of different all loops is the thing slowing it down. If I remember correctly, the transpiler doesn't optimise it that well. Either, you could try changing them to any. Or, you could have just one all loop and place all the rules in the same block. Or you could do both!
okay i will work on it
I think using water to grow would be cool to see.