Author: sveinung
Date: Wed May 11 11:12:51 2016
New Revision: 32662

URL: http://svn.gna.org/viewcvs/freeciv?rev=32662&view=rev
Log:
sandbox: require movement to expel a unit.

A unit should have some movement left to expel a foreign unit. Add it as a
requirement to the "Expel Unit" action enabler.

No current client is able to order a unit without any moves left to expel a
foreign unit. If the server receives an order to do so it will accept it
unless a rule forbids it.

See patch #7207

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=32662&r1=32661&r2=32662&view=diff
==============================================================================
--- trunk/data/sandbox/game.ruleset     (original)
+++ trunk/data/sandbox/game.ruleset     Wed May 11 11:12:51 2016
@@ -608,6 +608,7 @@
       "DiplRel",       "Team",           "Local", FALSE
       "DiplRel",       "Alliance",       "Local", FALSE
       "DiplRel",       "War",            "Local", FALSE
+      "MinMoveFrags",  "1",              "Local", TRUE
     }
 target_reqs    =
     { "type",          "name",           "range", "present"


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

Reply via email to