Author: cazfi
Date: Tue Feb 23 07:47:23 2016
New Revision: 32041

URL: http://svn.gna.org/viewcvs/freeciv?rev=32041&view=rev
Log:
Added a comment about default.lua to script.luas of supplied rulesets.

See patch #6989

Modified:
    branches/S2_6/data/alien/script.lua
    branches/S2_6/data/civ1/script.lua
    branches/S2_6/data/civ2/script.lua
    branches/S2_6/data/civ2civ3/script.lua
    branches/S2_6/data/classic/script.lua
    branches/S2_6/data/experimental/script.lua
    branches/S2_6/data/multiplayer/script.lua
    branches/S2_6/data/sandbox/script.lua
    branches/S2_6/data/stub/script.lua

Modified: branches/S2_6/data/alien/script.lua
URL: 
http://svn.gna.org/viewcvs/freeciv/branches/S2_6/data/alien/script.lua?rev=32041&r1=32040&r2=32041&view=diff
==============================================================================
--- branches/S2_6/data/alien/script.lua (original)
+++ branches/S2_6/data/alien/script.lua Tue Feb 23 07:47:23 2016
@@ -9,6 +9,12 @@
 --   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 --   GNU General Public License for more details.
 
+-- This file is for lua-functionality that is specific to a given
+-- ruleset. When freeciv loads a ruleset, it also loads script
+-- file called 'default.lua'. The one loaded if your ruleset
+-- does not provide an override is default/default.lua.
+
+-----------------------------------------------------------------------------------------------------
 -- default.lua callback overrides
 
 -- Get gold from entering a hut.
@@ -115,6 +121,7 @@
 
 signal.connect("hut_enter", "alien_hut_enter_callback")
 
+-----------------------------------------------------------------------------------------------------
 -- Alien ruleset specific callbacks
 
 -- Show a pop up telling the beginning of the story when the game starts.

Modified: branches/S2_6/data/civ1/script.lua
URL: 
http://svn.gna.org/viewcvs/freeciv/branches/S2_6/data/civ1/script.lua?rev=32041&r1=32040&r2=32041&view=diff
==============================================================================
--- branches/S2_6/data/civ1/script.lua  (original)
+++ branches/S2_6/data/civ1/script.lua  Tue Feb 23 07:47:23 2016
@@ -8,3 +8,8 @@
 --   but WITHOUT ANY WARRANTY; without even the implied warranty of
 --   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 --   GNU General Public License for more details.
+
+-- This file is for lua-functionality that is specific to a given
+-- ruleset. When freeciv loads a ruleset, it also loads script
+-- file called 'default.lua'. The one loaded if your ruleset
+-- does not provide an override is default/default.lua.

Modified: branches/S2_6/data/civ2/script.lua
URL: 
http://svn.gna.org/viewcvs/freeciv/branches/S2_6/data/civ2/script.lua?rev=32041&r1=32040&r2=32041&view=diff
==============================================================================
--- branches/S2_6/data/civ2/script.lua  (original)
+++ branches/S2_6/data/civ2/script.lua  Tue Feb 23 07:47:23 2016
@@ -8,3 +8,8 @@
 --   but WITHOUT ANY WARRANTY; without even the implied warranty of
 --   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 --   GNU General Public License for more details.
+
+-- This file is for lua-functionality that is specific to a given
+-- ruleset. When freeciv loads a ruleset, it also loads script
+-- file called 'default.lua'. The one loaded if your ruleset
+-- does not provide an override is default/default.lua.

Modified: branches/S2_6/data/civ2civ3/script.lua
URL: 
http://svn.gna.org/viewcvs/freeciv/branches/S2_6/data/civ2civ3/script.lua?rev=32041&r1=32040&r2=32041&view=diff
==============================================================================
--- branches/S2_6/data/civ2civ3/script.lua      (original)
+++ branches/S2_6/data/civ2civ3/script.lua      Tue Feb 23 07:47:23 2016
@@ -8,6 +8,12 @@
 --   but WITHOUT ANY WARRANTY; without even the implied warranty of
 --   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 --   GNU General Public License for more details.
+
+-- This file is for lua-functionality that is specific to a given
+-- ruleset. When freeciv loads a ruleset, it also loads script
+-- file called 'default.lua'. The one loaded if your ruleset
+-- does not provide an override is default/default.lua.
+
 
 -- Place Ruins at the location of the destroyed city.
 function city_destroyed_callback(city, loser, destroyer)

Modified: branches/S2_6/data/classic/script.lua
URL: 
http://svn.gna.org/viewcvs/freeciv/branches/S2_6/data/classic/script.lua?rev=32041&r1=32040&r2=32041&view=diff
==============================================================================
--- branches/S2_6/data/classic/script.lua       (original)
+++ branches/S2_6/data/classic/script.lua       Tue Feb 23 07:47:23 2016
@@ -8,6 +8,12 @@
 --   but WITHOUT ANY WARRANTY; without even the implied warranty of
 --   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 --   GNU General Public License for more details.
+
+-- This file is for lua-functionality that is specific to a given
+-- ruleset. When freeciv loads a ruleset, it also loads script
+-- file called 'default.lua'. The one loaded if your ruleset
+-- does not provide an override is default/default.lua.
+
 
 -- Place Ruins at the location of the destroyed city.
 function city_destroyed_callback(city, loser, destroyer)

Modified: branches/S2_6/data/experimental/script.lua
URL: 
http://svn.gna.org/viewcvs/freeciv/branches/S2_6/data/experimental/script.lua?rev=32041&r1=32040&r2=32041&view=diff
==============================================================================
--- branches/S2_6/data/experimental/script.lua  (original)
+++ branches/S2_6/data/experimental/script.lua  Tue Feb 23 07:47:23 2016
@@ -9,8 +9,14 @@
 --   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 --   GNU General Public License for more details.
 
+-- This file is for lua-functionality that is specific to a given
+-- ruleset. When freeciv loads a ruleset, it also loads script
+-- file called 'default.lua'. The one loaded if your ruleset
+-- does not provide an override is default/default.lua.
+
 -- This is the experimental ruleset. See doc/README.ruleset_experimental
 -- for a detailed description.
+
 
 -- Place Ruins at the location of the destroyed city.
 function city_destroyed_callback(city, loser, destroyer)

Modified: branches/S2_6/data/multiplayer/script.lua
URL: 
http://svn.gna.org/viewcvs/freeciv/branches/S2_6/data/multiplayer/script.lua?rev=32041&r1=32040&r2=32041&view=diff
==============================================================================
--- branches/S2_6/data/multiplayer/script.lua   (original)
+++ branches/S2_6/data/multiplayer/script.lua   Tue Feb 23 07:47:23 2016
@@ -8,6 +8,12 @@
 --   but WITHOUT ANY WARRANTY; without even the implied warranty of
 --   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 --   GNU General Public License for more details.
+
+-- This file is for lua-functionality that is specific to a given
+-- ruleset. When freeciv loads a ruleset, it also loads script
+-- file called 'default.lua'. The one loaded if your ruleset
+-- does not provide an override is default/default.lua.
+
 
 -- Place Ruins at the location of the destroyed city.
 function city_destroyed_callback(city, loser, destroyer)

Modified: branches/S2_6/data/sandbox/script.lua
URL: 
http://svn.gna.org/viewcvs/freeciv/branches/S2_6/data/sandbox/script.lua?rev=32041&r1=32040&r2=32041&view=diff
==============================================================================
--- branches/S2_6/data/sandbox/script.lua       (original)
+++ branches/S2_6/data/sandbox/script.lua       Tue Feb 23 07:47:23 2016
@@ -8,6 +8,12 @@
 --   but WITHOUT ANY WARRANTY; without even the implied warranty of
 --   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 --   GNU General Public License for more details.
+
+-- This file is for lua-functionality that is specific to a given
+-- ruleset. When freeciv loads a ruleset, it also loads script
+-- file called 'default.lua'. The one loaded if your ruleset
+-- does not provide an override is default/default.lua.
+
 
 -- Place Ruins at the location of the destroyed city.
 function city_destroyed_callback(city, loser, destroyer)

Modified: branches/S2_6/data/stub/script.lua
URL: 
http://svn.gna.org/viewcvs/freeciv/branches/S2_6/data/stub/script.lua?rev=32041&r1=32040&r2=32041&view=diff
==============================================================================
--- branches/S2_6/data/stub/script.lua  (original)
+++ branches/S2_6/data/stub/script.lua  Tue Feb 23 07:47:23 2016
@@ -8,3 +8,8 @@
 --   but WITHOUT ANY WARRANTY; without even the implied warranty of
 --   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 --   GNU General Public License for more details.
+
+-- This file is for lua-functionality that is specific to a given
+-- ruleset. When freeciv loads a ruleset, it also loads script
+-- file called 'default.lua'. The one loaded if your ruleset
+-- does not provide an override is default/default.lua.


_______________________________________________
Freeciv-commits mailing list
Freeciv-commits@gna.org
https://mail.gna.org/listinfo/freeciv-commits

Reply via email to