Complete.Org: Mailing Lists: Archives: freeciv-dev: July 2006:
[Freeciv-Dev] Re: (PR#18260) Configuration files in LUA
Home

[Freeciv-Dev] Re: (PR#18260) Configuration files in LUA

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: Jerome.Plut@xxxxxx
Subject: [Freeciv-Dev] Re: (PR#18260) Configuration files in LUA
From: "Jason Dorje Short" <jdorje@xxxxxxxxx>
Date: Sat, 8 Jul 2006 10:14:02 -0700
Reply-to: bugs@xxxxxxxxxxx

<URL: http://bugs.freeciv.org/Ticket/Display.html?id=18260 >

The main (only) problem with putting configuration files in lua is that 
it makes saving config files a lot harder.

It should eventually be possible to edit units and such with the editor, 
then save the new ruleset.  But if this is done how will you write the 
save_rulesets() function to write out lua code?  It will be a lot harder 
than the current registry format.

This is not necessarily a fatal problem however.  Writing out of simple 
lua code could be possible, with an in-game script editor for the more 
advanced code.

Note the same problems basically apply to editing of scenarios.

-jason





[Prev in Thread] Current Thread [Next in Thread]