SebLague / Ecosystem-2

527 stars 162 forks source link

Plants not respawninig #14

Open JiggliestBooty opened 3 years ago

JiggliestBooty commented 3 years ago

I got most of the sim going like last time, added pause, main, options, save and load menus I also got foxes working. anyways is there a way to get the plants to spawn? since after a while the bunnies die off and soon after the foxes due to the food chain breaking. I will create a pull request once I fix that

gonzalo11pg commented 3 years ago

you do that ?

SerbianLastName commented 2 years ago

I got most of the sim going like last time, added pause, main, options, save and load menus I also got foxes working. anyways is there a way to get the plants to spawn? since after a while the bunnies die off and soon after the foxes due to the food chain breaking. I will create a pull request once I fix that

https://github.com/dataforestLTD/PolyGod/blob/main/Assets/Scripts/Behaviour/Plant.cs

I've been working on a game based on Sebastians Ecosystem-2. This is how I just got the plants to regrow, but they can still die, if they are eaten too fast. You could also mess with the numbers to adjust when it tries to re-grow and by how much.