Author: sveinung Date: Mon May 22 12:06:12 2017 New Revision: 35690 URL: http://svn.gna.org/viewcvs/freeciv?rev=35690&view=rev Log: webperimental: spy nuke escape is for veterans.
Only let agents and spymasters try to escape after hiding a nuke in a spy city nuking. See hrm Feature #661962 Modified: branches/S3_0/data/webperimental/effects.ruleset branches/S3_0/data/webperimental/game.ruleset Modified: branches/S3_0/data/webperimental/effects.ruleset URL: http://svn.gna.org/viewcvs/freeciv/branches/S3_0/data/webperimental/effects.ruleset?rev=35690&r1=35689&r2=35690&view=diff ============================================================================== --- branches/S3_0/data/webperimental/effects.ruleset (original) +++ branches/S3_0/data/webperimental/effects.ruleset Mon May 22 12:06:12 2017 @@ -2599,5 +2599,13 @@ value = 1 reqs = { "type", "name", "range", "present" + "Action", "Suitcase Nuke", "Local", TRUE + } + +[effect_incident_success_suitcase_nuke_veteran] +type = "Casus_Belli_Success" +value = 1 +reqs = + { "type", "name", "range", "present" "Action", "Suitcase Nuke Escape", "Local", TRUE } Modified: branches/S3_0/data/webperimental/game.ruleset URL: http://svn.gna.org/viewcvs/freeciv/branches/S3_0/data/webperimental/game.ruleset?rev=35690&r1=35689&r2=35690&view=diff ============================================================================== --- branches/S3_0/data/webperimental/game.ruleset (original) +++ branches/S3_0/data/webperimental/game.ruleset Mon May 22 12:06:12 2017 @@ -48,6 +48,7 @@ - The killstack server setting is disabled by default.\n\ - Spies can steal parts of other player's world map. \n\ - Spies belonging to the owner of the Manhattan Project can nuke cities.\n\ + - agents and spymasters may even escape before the nuke detonates.\n\ - Explorers can establish embassies once Writing is discovered. \ This action consumes the explorer.\n\ - Cities can be founded within enemy borders during war and \ @@ -650,14 +651,27 @@ } [actionenabler_suitcase_nuke] +action = "Suitcase Nuke" +actor_reqs = + { "type", "name", "range", "present" + "UnitFlag", "Spy", "Local", TRUE + "MinVeteran", "2", "Local", FALSE + "DiplRel", "War", "Local", TRUE + "UnitState", "OnLivableTile", "Local", TRUE + "MinMoveFrags", "1", "Local", TRUE + "Building", "Manhattan Project", "Player", TRUE + } + +[actionenabler_suitcase_nuke_escape] action = "Suitcase Nuke Escape" actor_reqs = - { "type", "name", "range" - "UnitFlag", "Spy", "Local" - "DiplRel", "War", "Local" - "UnitState", "OnLivableTile", "Local" - "MinMoveFrags", "1", "Local" - "Building", "Manhattan Project", "Player" + { "type", "name", "range" + "UnitFlag", "Spy", "Local" + "MinVeteran", "2", "Local" + "DiplRel", "War", "Local" + "UnitState", "OnLivableTile", "Local" + "MinMoveFrags", "1", "Local" + "Building", "Manhattan Project", "Player" } [actionenabler_traderoute] _______________________________________________ Freeciv-commits mailing list Freeciv-commits@gna.org https://mail.gna.org/listinfo/freeciv-commits