I need some help thinking of a calculation for food supplies. Basically, the amount of time food supplies will last depends on the number of people in your army, which I count with “total_troops”.
Example: Say if I have 1000 units of food and an army of 100, it should last me 10 days. If in the next scene my army grows to 200, that food calculation should now update to say I have 5 days.
Can anyone good with math help me think of a way to calculate army-size vs food vs how long it will last?
I was thinking that 1 unit of food will correspond to enough food for 1 people for 1 day? Or something? idk
Thanks in advance