Author: jtn
Date: Tue Feb 17 09:49:33 2015
New Revision: 28187

URL: http://svn.gna.org/viewcvs/freeciv?rev=28187&view=rev
Log:
Prevent civ2civ3 Transports from building various extras to improve help
(in practice these extras were already impossible for a sea unit).

See gna bug #23278.

Modified:
    trunk/data/civ2civ3/terrain.ruleset

Modified: trunk/data/civ2civ3/terrain.ruleset
URL: 
http://svn.gna.org/viewcvs/freeciv/trunk/data/civ2civ3/terrain.ruleset?rev=28187&r1=28186&r2=28187&view=diff
==============================================================================
--- trunk/data/civ2civ3/terrain.ruleset (original)
+++ trunk/data/civ2civ3/terrain.ruleset Tue Feb 17 09:49:33 2015
@@ -1107,6 +1107,7 @@
 reqs           =
     { "type", "name", "range", "present"
       "TerrainFlag", "Oil", "Local", FALSE
+      "UnitClass", "Sea", "Local", FALSE
     }
 build_time     = 0
 removal_time   = 0
@@ -1233,6 +1234,7 @@
       "Tech", "Construction", "Player", TRUE
       "TerrainClass", "Land", "Local", TRUE
       "UnitFlag", "Settlers", "Local", TRUE
+      "UnitClass", "Sea", "Local", FALSE
       "CityTile", "Center", "Local", FALSE
     }
 build_time     = 2
@@ -1263,6 +1265,7 @@
       "Tech", "Construction", "Player", TRUE
       "TerrainClass", "Land", "Local", TRUE
       "UnitFlag", "Settlers", "Local", TRUE
+      "UnitClass", "Sea", "Local", FALSE
       "CityTile", "Center", "Local", FALSE
     }
 build_time     = 2
@@ -1399,9 +1402,10 @@
 rmact_gfx      = "None"
 rmact_gfx_alt  = "-"
 reqs           =
-    { "type", "name", "range"
-      "UnitFlag", "Settlers", "Local"
-      "TerrainClass", "Land", "Local"
+    { "type", "name", "range", "present"
+      "UnitFlag", "Settlers", "Local", TRUE
+      "UnitClass", "Sea", "Local", FALSE
+      "TerrainClass", "Land", "Local", TRUE
     }
 build_time     = 0
 removal_time   = 0
@@ -1434,11 +1438,12 @@
 rmact_gfx      = "None"
 rmact_gfx_alt  = "-"
 reqs           =
-    { "type", "name", "range"
-      "Tech", "Railroad", "Player"
-      "Extra", "Road", "Local"
-      "UnitFlag", "Settlers", "Local"
-      "TerrainClass", "Land", "Local"
+    { "type", "name", "range", "present"
+      "Tech", "Railroad", "Player", TRUE
+      "Extra", "Road", "Local", TRUE
+      "UnitFlag", "Settlers", "Local", TRUE
+      "UnitClass", "Sea", "Local", FALSE
+      "TerrainClass", "Land", "Local", TRUE
     }
 build_time     = 3
 removal_time   = 0
@@ -1470,11 +1475,12 @@
 rmact_gfx      = "None"
 rmact_gfx_alt  = "-"
 reqs           =
-    { "type", "name", "range"
-      "Tech", "Superconductors", "Player"
-      "Extra", "Railroad", "Local"
-      "UnitFlag", "Settlers", "Local"
-      "TerrainClass", "Land", "Local"
+    { "type", "name", "range", "present"
+      "Tech", "Superconductors", "Player", TRUE
+      "Extra", "Railroad", "Local", TRUE
+      "UnitFlag", "Settlers", "Local", TRUE
+      "UnitClass", "Sea", "Local", FALSE
+      "TerrainClass", "Land", "Local", TRUE
     }
 build_time     = 3
 removal_time   = 0


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

Reply via email to