URL:
  <http://gna.org/patch/?3933>

                 Summary: Method of transferring unit upkeep from cities lost
to conquering enemies
                 Project: Freeciv
            Submitted by: mss_8734
            Submitted on: Mon Jun  3 22:24:19 2013
                Category: rulesets
                Priority: 5 - Normal
                  Status: None
                 Privacy: Public
             Assigned to: None
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any
         Planned Release: 

    _______________________________________________________

Details:

This patch introduces game.info.upkeep_transfer_style with values in [0,4] for
transferring unit upkeep from cities lost to conquering enemies (all styles
but 0 require gold_upkeep_style > 0).
0 - (Default) No units are transferred.
1 - Units without food- or shield upkeep (including ones affected by
shield2gold) have their upkeep transferred to the city closest to the lost
one.
2 - Units without food upkeep have their upkeep transferred.
3 - All units have their upkeep transferred.

It affects the following files:
common/game.h
common/packets.def
server/citytools.c:unit_enter_city()
server/ruleset.c
data/classic/game.ruleset




    _______________________________________________________

File Attachments:


-------------------------------------------------------
Date: Mon Jun  3 22:24:19 2013  Name: unit_upkeep_transfer.diff  Size: 6kB  
By: mss_8734

<http://gna.org/patch/download.php?file_id=18047>

    _______________________________________________________

Reply to this item at:

  <http://gna.org/patch/?3933>

_______________________________________________
  Message sent via/by Gna!
  http://gna.org/


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

Reply via email to