Terasology / LightAndShadow

Light & Shadow is an experimental game type set in a quirky Alice in Wonderland inspired setting
Apache License 2.0
8 stars 22 forks source link

Very basic growth sim #47

Closed rzats closed 2 years ago

rzats commented 7 years ago

This isn't meant to be a "fancy" growth simulator of any sort, but a simple "check for crops every minute or so then increment the growth stage" to go with the art assets in https://github.com/MovingBlocks/Terasology/issues/580.

Should be fairly straight forward. Could be done with the ES using GrowthComponents attached to the crops and a System checking anything with a growth component once in a while and adding another block of height. Not sure if that would cause too many entities. Or just one per crop type + next gen ES magic in the multiplayer branch to get all fitting blocks in a chunk?

Could also adapt the door / diamond ace for the multi-block approach so the whole thing breaks as once. Or alternatively the billboard check used to make grass "break" if the supporting block is broken. In theory you could possibly harvest only the top of the plant and leave the lower blocks in place?

--- Want to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/38661391-very-basic-growth-sim?utm_campaign=plugin&utm_content=tracker%2F1483903&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F1483903&utm_medium=issues&utm_source=github).
TheFlash98 commented 7 years ago

Hey I'd like to take this up, any good place to start at?

jdrueckert commented 2 years ago

From the current vision for LaS, crop growth is not relevant anymore. The maps are intentionally dynamically created but in themselves rather static throughout the rounds. Also, there is GrowingFlora which does what I guess is the desired feature here.