Open nghugo opened 7 months ago
Re: Resources let's exclude the threshold for baby_packets because not every family has a baby (we don't record the number of babies in a family anyway). For all other resources, it makes sense to create a threshold. You can define the multiplicative factor as you see fit (positive integer)
We have not defined thresholds for each resource yet.
Within each camp, we can dynamically calculate the threshold for each resource using the current camp population. Eg each person needs - 2 water packets, 1 food packet, 1 bedding packet, …
Whenever a resource amount falls lower than the relevant threshold, print a warning message on the screen. Resource amount can become lower than the relevant threshold when: