[1.21d] Food distribution anomalies (was: Zone report not clear about emergency food)
Posted: Wed Jun 28, 2023 5:37 pm
In attached savefile (staged in order to evidenziate the issue) Pepotio zone is feeded by emergency food only.
Zone report says that 228 emergency food (less than needed due to depleted stocks" has been supplied to population, but it seems wrong.
First, population is 22.400 (last turn they were 22.800, 500 has been recruited + 100 "natural growth") - food used is 228, so it seems that all people of previous turn are feed (maybe it's ok) but are recruits feeded twice, once as leaving population and once as new recruits? I think so because food consumed by recruits (68 in this case) is calculated on current (start of turn) number of recruits, not at the end of previous turn (would have been 58) but 5 of that food has already be feeded to city as emergency food for leaving people.
This also seems to happen for private food and even for workers when they are recruited as military.
Second, the part referring depleted stock is not clear to me: at first I thought SHQ was short of food (as suggested here) but...
1011 at turn start
-90 sent to units
-68 consumed by recruits
it's more than enought to give 228 food to Pepotio even accounting other zones delivers after emergency food distribution.
So I really don't understand what this "due to depleted stocks" refers to.
edit: is it possibile that the condition for showing "emergency food has been supplied to population" / "emergency food (less than needed due to depleted stocks) has been supplied to population" is simply reversed?
Zone report says that 228 emergency food (less than needed due to depleted stocks" has been supplied to population, but it seems wrong.
First, population is 22.400 (last turn they were 22.800, 500 has been recruited + 100 "natural growth") - food used is 228, so it seems that all people of previous turn are feed (maybe it's ok) but are recruits feeded twice, once as leaving population and once as new recruits? I think so because food consumed by recruits (68 in this case) is calculated on current (start of turn) number of recruits, not at the end of previous turn (would have been 58) but 5 of that food has already be feeded to city as emergency food for leaving people.
This also seems to happen for private food and even for workers when they are recruited as military.
Second, the part referring depleted stock is not clear to me: at first I thought SHQ was short of food (as suggested here) but...
1011 at turn start
-90 sent to units
-68 consumed by recruits
it's more than enought to give 228 food to Pepotio even accounting other zones delivers after emergency food distribution.
So I really don't understand what this "due to depleted stocks" refers to.
edit: is it possibile that the condition for showing "emergency food has been supplied to population" / "emergency food (less than needed due to depleted stocks) has been supplied to population" is simply reversed?