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

                 Summary: city:inspire_partisans() for lua scripting
                 Project: Freeciv
            Submitted by: cazfi
            Submitted on: Thu 28 Feb 2013 06:56:21 AM EET
                Category: general
                Priority: 5 - Normal
                  Status: Ready For Test
                 Privacy: Public
             Assigned to: None
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any
         Planned Release: 2.5.0

    _______________________________________________________

Details:

Add C-code side function api_methods_city_inspire_partisans() accessible as
City:inspire_partisans() in lua-script. Partisans creation checks for player
being original owner of the city and "Inspires_Partisans" effect being active
moved from default.lua to that function.

Immediate improvements to ruleset flexibility:
"Inspires_Partisans" considered only player and above level requirements, now
it can have city specific, or even city center tile specific requirements.
There's a caveat that city has already changed hands when the effect is
checked, so buildings that used to exist before the conquest might be
destroyed etc.



    _______________________________________________________

File Attachments:


-------------------------------------------------------
Date: Thu 28 Feb 2013 06:56:21 AM EET  Name: CityInspirePartisans.patch  Size:
6kB   By: cazfi

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

    _______________________________________________________

Reply to this item at:

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

_______________________________________________
  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