Author: sveinung
Date: Tue Mar  8 15:28:32 2016
New Revision: 32210

sandbox: require a Marketplace to enter.

Make the legality of the action "Enter Marketplace" depend on the presence
of a Marketplace in the target city rather than on if a trade route can be

David Fernandez <bardo> and I talked about doing this for civ2civ3 (in
patch #5995). Do it in sandbox first so it can get a bit more testing.

See patch #7041


Modified: branches/S2_6/data/sandbox/game.ruleset
--- branches/S2_6/data/sandbox/game.ruleset     (original)
+++ branches/S2_6/data/sandbox/game.ruleset     Tue Mar  8 15:28:32 2016
@@ -192,7 +192,7 @@
 ; If force_trade_route is set to TRUE it is illegal for an actor unit to
 ; enter the marketplace of a city if it can establish a trade route to it
 ; in stead.
-force_trade_route = TRUE
+force_trade_route = FALSE
 ; What each action should be called when showing them to the player.
 ; The first %s should be before the mnemonic of the action.
@@ -398,6 +398,10 @@
 actor_reqs    =
     { "type",   "name", "range", "present"
       "UnitFlag", "TradeRoute", "Local", TRUE
+    }
+target_reqs  =
+    { "type",     "name",        "range"
+      "Building", "Marketplace", "City"

Freeciv-commits mailing list

Reply via email to