patchFreeciv - Patches: patch #4496, Lua extra handling functions

 
 
Show feedback again

patch #4496: Lua extra handling functions

Submitted by:  Marko Lindqvist <cazfi>
Submitted on:  Thu 13 Feb 2014 06:35:58 AM UTC  
 
Category: generalPriority: 5 - Normal
Status: DonePrivacy: Public
Assigned to: Marko Lindqvist <cazfi>Open/Closed: Closed
Planned Release: 2.5.0, 2.6.0

Add a New Comment (Rich MarkupRich Markup):
   

You are not logged in

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

 

Fri 14 Mar 2014 05:52:09 PM UTC, SVN revision 24672:

Added extras related lua scripting functions.

See patch #4496

(Browse SVN revision 24672)

Marko Lindqvist <cazfi>
Project AdministratorIn charge of this item.
Sun 02 Mar 2014 12:31:25 AM UTC, comment #1:

- Fixed edit.create_extra prototype
- Send updated tile info to clients when extra added

(file #20226)

Marko Lindqvist <cazfi>
Project AdministratorIn charge of this item.
Thu 13 Feb 2014 06:35:58 AM UTC, original submission:

Add lua functions for handling extras.

Noticed that we're lacking tile_has_road() lua function, while equivalent for bases exist. I think that would need to be added for gen-roads in S2_5 even though the function will get deprecated in 2.6 already (like so much of gen-roads stuff). Anyway -> another ticket.

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
file #20226:  ExtraLua-2.patch added by cazfi (6kB - text/x-diff)
file #20031:  ExtraLua.patch added by cazfi (6kB - text/x-diff)

 

Depends on the following items: None found

Items that depend on this one: None found

 

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.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 5 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Fri 14 Mar 2014 05:52:21 PM UTCcazfiStatusReady For Test=>Done
      Assigned toNone=>cazfi
      Open/ClosedOpen=>Closed
    Sun 02 Mar 2014 12:31:25 AM UTCcazfiAttached File-=>Added ExtraLua-2.patch, #20226
    Thu 13 Feb 2014 06:35:58 AM UTCcazfiAttached File-=>Added ExtraLua.patch, #20031
    Show feedback again

    Back to the top


    Powered by Savane 3.1-cleanup