- Sep 23, 2020
- 6
- 41
Just a piece of constructive criticism, but it currently seems like the way food works for the hives is that your brood cows add food up to a max of 100, and then your tentacles eat the food, which leads to an issue of if you make any more than 100 food, it gets wasted, and the moment your tentacles require 100 food per day, they will all automatically die.
I'm assuming this is written something like this each day:
Food = Food + BroodCow1FoodGenerated + Brood Cow2FoodGenerated +...; (you get the point)
Food = Food - TentacleFoodEaten;
if (Food<=0, kill tentacles,);
Obviously I have no clue how it's actually written and just guessing, but if it is something like this, I'd recommend changing it to something more like
FoodPerDay = BroodCow1FoodGen + BroodCow2FoodGen (etc once again) - TentacleFoodEaten;
Food = Food + FoodPerDay;
if (Food<=0, kill tentacles,);
This way, you can say, make 200 food per day and eat 150 food per day, resulting in only generating 50 extra food, and still having the max food storage of 100
I'm assuming this is written something like this each day:
Food = Food + BroodCow1FoodGenerated + Brood Cow2FoodGenerated +...; (you get the point)
Food = Food - TentacleFoodEaten;
if (Food<=0, kill tentacles,);
Obviously I have no clue how it's actually written and just guessing, but if it is something like this, I'd recommend changing it to something more like
FoodPerDay = BroodCow1FoodGen + BroodCow2FoodGen (etc once again) - TentacleFoodEaten;
Food = Food + FoodPerDay;
if (Food<=0, kill tentacles,);
This way, you can say, make 200 food per day and eat 150 food per day, resulting in only generating 50 extra food, and still having the max food storage of 100