patchFreeciv - Patches: patch #3763, city:inspire_partisans() for lua...

 
 
Show feedback again

patch #3763: city:inspire_partisans() for lua scripting

Submitted by:  Marko Lindqvist <cazfi>
Submitted on:  Thu Feb 28 04:56:21 2013  
 
Category: generalPriority: 5 - Normal
Status: DonePrivacy: Public
Assigned to: Marko Lindqvist <cazfi>Open/Closed: Closed
Planned Release: 2.5.0Contains string changes: None

Add a New Comment (Rich MarkupRich Markup):
   

You are not logged in

Please log in, so followups can be emailed to you.

 

Fri Mar 8 06:13:26 2013, SVN revision 22502:

Add C-code side function api_methods_city_inspire_partisans() accessible as
City:inspire_partisans() from 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

See patch #3763

(Browse SVN revision 22502)

Marko Lindqvist <cazfi>
Project AdministratorIn charge of this item.
Thu Feb 28 04:56:21 2013, original submission:

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.

Marko Lindqvist <cazfi>
Project AdministratorIn charge of this item.

 

(Note: upload size limit is set to 1024 kB, after insertion of the required escape characters.)

Attach File(s):
   
   
Comment:
   

Attached Files

 

Depends on the following items: None found

Digest:
   patch dependencies.

 

Carbon-Copy List
  • -unavailable- added by cazfi (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Error: not logged in

     

     

    Follow 5 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Fri Mar 8 06:13:42 2013cazfiStatusReady For Test=>Done
      Assigned toNone=>cazfi
      Open/ClosedOpen=>Closed
    Thu Feb 28 04:57:21 2013cazfiDependencies-=>patch #3762 is dependent
    Thu Feb 28 04:56:21 2013cazfiAttached File-=>Added CityInspirePartisans.patch, #17373
    Show feedback again

    Back to the top


    Powered by Savane 3.1-cleanup