URL:
  <http://gna.org/bugs/?13862>

                 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
                 Release: 
        Operating System: None

    _______________________________________________________

Details:

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
script.lua.

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

<http://gna.org/bugs/download.php?file_id=6125>

    _______________________________________________________

Reply to this item at:

  <http://gna.org/bugs/?13862>

_______________________________________________
  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