amethyst / evoli

An ecosystem-simulation game made with Amethyst
https://community.amethyst.rs/t/evoli-introduction/770
Other
217 stars 33 forks source link

Add a feed system #51

Closed marotili closed 5 years ago

marotili commented 5 years ago

At the moment, entities will starve to death. In PerformDefaultAttackSystem check if the defending entity dies, if that is the case, add the amount of nutritional value (a new component) to the fullness of the attacking entity.

erlend-sh commented 5 years ago

After this is done we’ll come up with a way for a dead entity to leave a dead body that several predators will feed on. One large herbivore body should be enough to bring several predators to max fullness.

hbina commented 5 years ago

Hi I would love to work on this, I am fairly new to Rust so any guidance is appreciated!

marotili commented 5 years ago

Hi @hbina, If you have specific questions, feel free to ask them in the Amethyst discord in the #showcase-team channel. If you already have some code, even if it is not working, you can create a WIP pull request so that we can help you fix errors etc.

What you need to do:

I hope that helps :)

marotili commented 5 years ago

Implemented in #69