Closed bhazzard closed 12 years ago
Feeding currently only takes food and food production into account, and does not handle the "not enough food" scenario. Food will just go negative if that happens. We probably need to make the "not enough" scenario fire an event which displays a UI element of some sort that asks if you want to lose 10 points, or allows you to select resources to complete the feeding round... unless you don't have enough resources to feed either, in which case you just lose 10 points.
I saw that you handled the "not enough food" scenario. However, if you don't have enough food more than once, it breaks fantastically. Basically it shows two "what do you want to do?" dialogs, but neither let you get out of that screen.
Good catch, fixed it
feeding with resources works now, closing this, any bugs will be separate issues
First, All players are distributed 1 food token for every level of food production they have attained.
Next, all players simultaneously lose 1 food for each worker they have (without the need for player interaction). If any player has unfed workers, and less resources than the number of unfed workers they have, they lose 10 points (without the need for player interaction).
If any player has remaining unfed workers, and a number of resources greater than or equal to the number of unfed workers they have then starting with the player with unfed workers that is closest to the left of the leader, including the leader, each of these players must choose between: