URL:
  <http://gna.org/bugs/?20879>

                 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
                 Release: 
         Discussion Lock: Any
        Operating System: None
         Planned Release: 

    _______________________________________________________

Details:

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
view).



    _______________________________________________________

File Attachments:


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

<http://gna.org/bugs/download.php?file_id=18062>

    _______________________________________________________

Reply to this item at:

  <http://gna.org/bugs/?20879>

_______________________________________________
  Mensaje enviado vía/por Gna!
  http://gna.org/


_______________________________________________
Freeciv-dev mailing list
Freeciv-dev@gna.org
https://mail.gna.org/listinfo/freeciv-dev

Reply via email to