Author: jtn
Date: Tue Aug  5 22:44:50 2014
New Revision: 25832

URL: http://svn.gna.org/viewcvs/freeciv?rev=25832&view=rev
Log:
In civ2civ3, allow Lighthouse bonus to apply to Triremes starting their
turn on coastal cities which also happen to be on rivers (but not on any
other river tile).

See gna bug #22438.

Modified:
    trunk/data/civ2civ3/effects.ruleset

Modified: trunk/data/civ2civ3/effects.ruleset
URL: 
http://svn.gna.org/viewcvs/freeciv/trunk/data/civ2civ3/effects.ruleset?rev=25832&r1=25831&r2=25832&view=diff
==============================================================================
--- trunk/data/civ2civ3/effects.ruleset (original)
+++ trunk/data/civ2civ3/effects.ruleset Tue Aug  5 22:44:50 2014
@@ -3052,7 +3052,23 @@
     { "type", "name", "range", "present"
       "Building", "Lighthouse", "Player", TRUE
       "UnitClass", "Trireme", "Local", TRUE
+; No move bonus to Triremes starting their turn on rivers
+; We also disable move bonus for city tiles in this clause...
       "Extra", "River", "Local", FALSE
+      "CityTile", "Center", "Local", FALSE
+    }
+
+; ...so that we can use this one to avoid penalising Triremes which start
+; in a perfectly legal coastal city which also happens to be on a river
+[effect_lighthouse_trireme_move_2]
+type    = "Move_Bonus"
+value   = 1
+reqs    =
+    { "type", "name", "range"
+      "Building", "Lighthouse", "Player"
+      "UnitClass", "Trireme", "Local"
+      "CityTile", "Center", "Local"
+      "TerrainClass", "Oceanic", "Adjacent"
     }
 
 [effect_lighthouse_trireme_veteran]


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

Reply via email to