Author: cazfi
Date: Sun Feb 21 19:17:44 2016
New Revision: 32006

URL: http://svn.gna.org/viewcvs/freeciv?rev=32006&view=rev
Log:
Supplied rulesets use Tile:create_extra() for creating Ruins, instead of 
deprecated Tile:create_base()

See patch #6977

Modified:
    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

Modified: branches/S2_6/data/civ2civ3/script.lua
URL: 
http://svn.gna.org/viewcvs/freeciv/branches/S2_6/data/civ2civ3/script.lua?rev=32006&r1=32005&r2=32006&view=diff
==============================================================================
--- branches/S2_6/data/civ2civ3/script.lua      (original)
+++ branches/S2_6/data/civ2civ3/script.lua      Sun Feb 21 19:17:44 2016
@@ -11,7 +11,7 @@
 
 -- Place Ruins at the location of the destroyed city.
 function city_destroyed_callback(city, loser, destroyer)
-  city.tile:create_base("Ruins", NIL)
+  city.tile:create_extra("Ruins", NIL)
   -- continue processing
   return false
 end

Modified: branches/S2_6/data/classic/script.lua
URL: 
http://svn.gna.org/viewcvs/freeciv/branches/S2_6/data/classic/script.lua?rev=32006&r1=32005&r2=32006&view=diff
==============================================================================
--- branches/S2_6/data/classic/script.lua       (original)
+++ branches/S2_6/data/classic/script.lua       Sun Feb 21 19:17:44 2016
@@ -11,7 +11,7 @@
 
 -- Place Ruins at the location of the destroyed city.
 function city_destroyed_callback(city, loser, destroyer)
-  city.tile:create_base("Ruins", NIL)
+  city.tile:create_extra("Ruins", NIL)
   -- continue processing
   return false
 end

Modified: branches/S2_6/data/experimental/script.lua
URL: 
http://svn.gna.org/viewcvs/freeciv/branches/S2_6/data/experimental/script.lua?rev=32006&r1=32005&r2=32006&view=diff
==============================================================================
--- branches/S2_6/data/experimental/script.lua  (original)
+++ branches/S2_6/data/experimental/script.lua  Sun Feb 21 19:17:44 2016
@@ -14,7 +14,7 @@
 
 -- Place Ruins at the location of the destroyed city.
 function city_destroyed_callback(city, loser, destroyer)
-  city.tile:create_base("Ruins", NIL)
+  city.tile:create_extra("Ruins", NIL)
   -- continue processing
   return false
 end

Modified: branches/S2_6/data/multiplayer/script.lua
URL: 
http://svn.gna.org/viewcvs/freeciv/branches/S2_6/data/multiplayer/script.lua?rev=32006&r1=32005&r2=32006&view=diff
==============================================================================
--- branches/S2_6/data/multiplayer/script.lua   (original)
+++ branches/S2_6/data/multiplayer/script.lua   Sun Feb 21 19:17:44 2016
@@ -11,7 +11,7 @@
 
 -- Place Ruins at the location of the destroyed city.
 function city_destroyed_callback(city, loser, destroyer)
-  city.tile:create_base("Ruins", NIL)
+  city.tile:create_extra("Ruins", NIL)
   -- continue processing
   return false
 end

Modified: branches/S2_6/data/sandbox/script.lua
URL: 
http://svn.gna.org/viewcvs/freeciv/branches/S2_6/data/sandbox/script.lua?rev=32006&r1=32005&r2=32006&view=diff
==============================================================================
--- branches/S2_6/data/sandbox/script.lua       (original)
+++ branches/S2_6/data/sandbox/script.lua       Sun Feb 21 19:17:44 2016
@@ -11,7 +11,7 @@
 
 -- Place Ruins at the location of the destroyed city.
 function city_destroyed_callback(city, loser, destroyer)
-  city.tile:create_base("Ruins", NIL)
+  city.tile:create_extra("Ruins", NIL)
   -- continue processing
   return false
 end


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

Reply via email to