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

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

See patch #6989

Modified:
    branches/S2_5/data/alien/script.lua
    branches/S2_5/data/civ1/script.lua
    branches/S2_5/data/civ2/script.lua
    branches/S2_5/data/civ2civ3/script.lua
    branches/S2_5/data/classic/script.lua
    branches/S2_5/data/experimental/script.lua
    branches/S2_5/data/multiplayer/script.lua

Modified: branches/S2_5/data/alien/script.lua
URL: 
http://svn.gna.org/viewcvs/freeciv/branches/S2_5/data/alien/script.lua?rev=32042&r1=32041&r2=32042&view=diff
==============================================================================
--- branches/S2_5/data/alien/script.lua (original)
+++ branches/S2_5/data/alien/script.lua Tue Feb 23 07:47:28 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.
@@ -111,6 +117,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_5/data/civ1/script.lua
URL: 
http://svn.gna.org/viewcvs/freeciv/branches/S2_5/data/civ1/script.lua?rev=32042&r1=32041&r2=32042&view=diff
==============================================================================
--- branches/S2_5/data/civ1/script.lua  (original)
+++ branches/S2_5/data/civ1/script.lua  Tue Feb 23 07:47:28 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_5/data/civ2/script.lua
URL: 
http://svn.gna.org/viewcvs/freeciv/branches/S2_5/data/civ2/script.lua?rev=32042&r1=32041&r2=32042&view=diff
==============================================================================
--- branches/S2_5/data/civ2/script.lua  (original)
+++ branches/S2_5/data/civ2/script.lua  Tue Feb 23 07:47:28 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_5/data/civ2civ3/script.lua
URL: 
http://svn.gna.org/viewcvs/freeciv/branches/S2_5/data/civ2civ3/script.lua?rev=32042&r1=32041&r2=32042&view=diff
==============================================================================
--- branches/S2_5/data/civ2civ3/script.lua      (original)
+++ branches/S2_5/data/civ2civ3/script.lua      Tue Feb 23 07:47:28 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_5/data/classic/script.lua
URL: 
http://svn.gna.org/viewcvs/freeciv/branches/S2_5/data/classic/script.lua?rev=32042&r1=32041&r2=32042&view=diff
==============================================================================
--- branches/S2_5/data/classic/script.lua       (original)
+++ branches/S2_5/data/classic/script.lua       Tue Feb 23 07:47:28 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_5/data/experimental/script.lua
URL: 
http://svn.gna.org/viewcvs/freeciv/branches/S2_5/data/experimental/script.lua?rev=32042&r1=32041&r2=32042&view=diff
==============================================================================
--- branches/S2_5/data/experimental/script.lua  (original)
+++ branches/S2_5/data/experimental/script.lua  Tue Feb 23 07:47:28 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_5/data/multiplayer/script.lua
URL: 
http://svn.gna.org/viewcvs/freeciv/branches/S2_5/data/multiplayer/script.lua?rev=32042&r1=32041&r2=32042&view=diff
==============================================================================
--- branches/S2_5/data/multiplayer/script.lua   (original)
+++ branches/S2_5/data/multiplayer/script.lua   Tue Feb 23 07:47:28 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)


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

Reply via email to