Summary: [Patch] Separate default.lua & script.lua
                 Project: Freeciv
            Submitted by: cazfi
            Submitted on: Saturday 07/04/2009 at 12:14
                Category: general
                Severity: 3 - Normal
                Priority: 1 - Later
                  Status: None
             Assigned to: None
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any
        Operating System: None



We current load just one script file, script.lua. This is maintenance
nightmare for custom rulesets. They cannot implement just their own custom
scripts, but have to implement (and maintain!) all the scripting provided by
default script.lua (currently only huts, but much more in the future).
Actually, we have this problem already in officil Freeciv distribution. It
appears that civ1/civ2 rulesets have their own outdated copies of

Attached patch divides scripting in to two files. default.lua implements
scripts that should be available for all rulesets. script.lua is for ruleset
specific scripts.


File Attachments:

Date: Saturday 07/04/2009 at 12:14  Name: DefaultLuaScript.diff  Size: 17kB  
By: cazfi



Reply to this item at:


  Message sent via/by Gna!

Freeciv-dev mailing list

Reply via email to