From 07db286a3704e7fb1f950f3f9b52f892a3fb774b Mon Sep 17 00:00:00 2001 From: Marko Lindqvist Date: Sat, 13 Mar 2021 11:58:12 +0200 Subject: [PATCH 24/24] Improve ..._blocked_by entries style in rulesets See osdn #41761 Signed-off-by: Marko Lindqvist --- data/alien/game.ruleset | 4 ++-- data/civ2/game.ruleset | 2 +- data/classic/game.ruleset | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/data/alien/game.ruleset b/data/alien/game.ruleset index b6c4cd5adf..71447c5191 100644 --- a/data/alien/game.ruleset +++ b/data/alien/game.ruleset @@ -257,10 +257,10 @@ bombard_blocked_by = "Capture Units" ; Forbid "Attack" if any one of the listed actions are legal. attack_blocked_by = "Capture Units", "Bombard" -; # Forbid "Suicide Attack" if any one of the listed actions are legal. +; Forbid "Suicide Attack" if any one of the listed actions are legal. suicide_attack_blocked_by = "Capture Units", "Bombard" -; # Forbid "Conquer City" if any one of the listed actions are legal. +; Forbid "Conquer City" if any one of the listed actions are legal. conquer_city_blocked_by = "Capture Units", "Bombard", "Attack", "Suicide Attack" diff --git a/data/civ2/game.ruleset b/data/civ2/game.ruleset index f758290de2..c2467e0b35 100644 --- a/data/civ2/game.ruleset +++ b/data/civ2/game.ruleset @@ -235,7 +235,7 @@ if_attacker = enter_marketplace_blocked_by = "Establish Trade Route" ; Forbid "Attack" if any one of the listed actions are legal. -attack_blocked_by="Explode Nuclear","Nuke City","Nuke Units" +attack_blocked_by = "Explode Nuclear","Nuke City","Nuke Units" ; Forbid "Suicide Attack" if any one of the listed actions are legal. suicide_attack_blocked_by = "Explode Nuclear", "Nuke City", "Nuke Units" diff --git a/data/classic/game.ruleset b/data/classic/game.ruleset index 6c3bc68e1f..d2673ee280 100644 --- a/data/classic/game.ruleset +++ b/data/classic/game.ruleset @@ -252,7 +252,7 @@ if_attacker = [actions] ; Forbid "Enter Marketplace" if any one of the listed actions are legal. -enter_marketplace_blocked_by="Establish Trade Route" +enter_marketplace_blocked_by = "Establish Trade Route" ; Forbid "Attack" if any one of the listed actions are legal. attack_blocked_by = "Explode Nuclear", "Nuke City", "Nuke Units" -- 2.30.1