Author: sveinung
Date: Wed May 11 18:50:41 2016
New Revision: 32669

URL: http://svn.gna.org/viewcvs/freeciv?rev=32669&view=rev
Log:
sandbox: allow helping allies build wonders.

Make it possible to do the "Help Wonder" action to help cities belonging to
allies and team mates in addition to domestic cities.

See patch #7211

Modified:
    trunk/data/sandbox/game.ruleset

Modified: trunk/data/sandbox/game.ruleset
URL: 
http://svn.gna.org/viewcvs/freeciv/trunk/data/sandbox/game.ruleset?rev=32669&r1=32668&r2=32669&view=diff
==============================================================================
--- trunk/data/sandbox/game.ruleset     (original)
+++ trunk/data/sandbox/game.ruleset     Wed May 11 18:50:41 2016
@@ -480,9 +480,12 @@
 [actionenabler_help_build_wonder]
 action = "Help Wonder"
 actor_reqs    =
-    { "type",   "name", "range", "present"
+    { "type",     "name",       "range", "present"
       "UnitFlag", "HelpWonder", "Local", TRUE
-      "DiplRel", "Is foreign", "Local", FALSE
+      "DiplRel",  "Armistice",  "Local", FALSE
+      "DiplRel",  "War",        "Local", FALSE
+      "DiplRel",  "Cease-fire", "Local", FALSE
+      "DiplRel",  "Peace",      "Local", FALSE
     }
 target_reqs    =
     { "type",   "name", "range"
@@ -492,9 +495,12 @@
 [actionenabler_help_build_small_wonder]
 action = "Help Wonder"
 actor_reqs    =
-    { "type",   "name", "range", "present"
+    { "type",     "name",       "range", "present"
       "UnitFlag", "HelpWonder", "Local", TRUE
-      "DiplRel", "Is foreign", "Local", FALSE
+      "DiplRel",  "Armistice",  "Local", FALSE
+      "DiplRel",  "War",        "Local", FALSE
+      "DiplRel",  "Cease-fire", "Local", FALSE
+      "DiplRel",  "Peace",      "Local", FALSE
     }
 target_reqs    =
     { "type",   "name", "range"


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

Reply via email to