[Freeciv-Dev] [bug #13862] [Patch] Separate default.lua & script.lua

2009-07-12 Thread Marko Lindqvist

Update of bug #13862 (project freeciv):

  Status:None => Fixed  
 Open/Closed:Open => Closed 


___

Reply to this item at:

  

___
  Message sent via/by Gna!
  http://gna.org/


___
Freeciv-dev mailing list
Freeciv-dev@gna.org
https://mail.gna.org/listinfo/freeciv-dev


[Freeciv-Dev] [bug #13862] [Patch] Separate default.lua & script.lua

2009-07-04 Thread Marko Lindqvist

URL:
  

 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



___

Reply to this item at:

  

___
  Message sent via/by Gna!
  http://gna.org/


___
Freeciv-dev mailing list
Freeciv-dev@gna.org
https://mail.gna.org/listinfo/freeciv-dev