Summary: Units supported by food killed due to starvation
even when free of upkeep
                 Project: Freeciv
            Submitted by: bardo
            Submitted on: dom 09 jun 2013 10:32:16 GMT
                Category: None
                Severity: 3 - Normal
                Priority: 5 - Normal
                  Status: None
             Assigned to: None
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any
        Operating System: None
         Planned Release: 



When a city is short of food (empty foodbox and negative growth), if there is
a unit supported by food, then the unit is killed instead of reducing the pop
size of the city.
The bug is that units supported by food are killed due to starvation even when
they are free of food upkeep.

It doesn't happen with default rules because the effect
"Unit_Upkeep_Free_Per_City" is never used with food.

I attach savegame with civ2-3 ruleset, using v2.3.4, where every military unit
needs food upkeep, but there are free units related to the size of the city.

If you press end turn, one unit with food upkeep is destroyed, as expected,
but if you keep pressing end turn, the rest of units will be destroyed, one
per turn, even when they no longer require food (no food upkeep icon in city


File Attachments:

Date: dom 09 jun 2013 10:32:16 GMT  Name: civ2-3_v2.3.4_foodupkeep.sav.bz2 
Size: 14kB   By: bardo



Reply to this item at:


  Mensaje enviado vía/por Gna!

Freeciv-dev mailing list

Reply via email to