This is a food starvation system allowing players to eat any of a list of food items. When your food reaches 0 a preset unit will start to lose health. This system does not include any display you must set that up yourself and the starvation only works on one unit. I built it to be easy to edit.
---Tutorial---
Open up your world editor and select file, preferences then check the "automaticly create unkown variables" then open the map and copy & paste the starvation system into your map
Once you have pasted the starvation system into your map open up the variable editor and set the variables starting value to what you want the player’s food to start at. Once you have done this open up the trigger editor and select the starvation trigger, change every triggering unit to the desired unit.
to add a new item to the food system open up the food up trigger and change the item being manipulated to the desired food, if you already have done this and want another type of food, copy and paste the trigger
If you can make the trigger more efficient or have found a bug email me at
[email protected] ty
Keywords:
food,system,starvation,hunger,avo