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

URL: http://svn.gna.org/viewcvs/freeciv?rev=32210&view=rev
Log:
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
established.

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

Modified: branches/S2_6/data/sandbox/game.ruleset
URL: 
http://svn.gna.org/viewcvs/freeciv/branches/S2_6/data/sandbox/game.ruleset?rev=32210&r1=32209&r2=32210&view=diff
==============================================================================
--- 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"
     }
 
 [actionenabler_help_build_wonder]


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

Reply via email to