From 457e0efb6a3de841cef23a4653e45d63698a9eaa Mon Sep 17 00:00:00 2001 From: Marko Lindqvist Date: Fri, 29 Dec 2023 04:08:12 +0200 Subject: [PATCH 8/8] civ2civ3/sandbox: Don't apply mountain movement penalty on River But do apply it to Big Land units which cannot move via River See osdn #48713 Signed-off-by: Marko Lindqvist --- data/civ2civ3/effects.ruleset | 13 +++++++++++++ data/sandbox/effects.ruleset | 13 +++++++++++++ 2 files changed, 26 insertions(+) diff --git a/data/civ2civ3/effects.ruleset b/data/civ2civ3/effects.ruleset index 4b2c0ff07d..8b583d8c56 100644 --- a/data/civ2civ3/effects.ruleset +++ b/data/civ2civ3/effects.ruleset @@ -402,6 +402,19 @@ reqs = "Terrain", "Mountains", "Local", TRUE "UnitClassFlag", "Ground", "Local", TRUE "Extra", "Road", "Local", FALSE + "Extra", "River", "Local", FALSE + } + +; Big Land units can't escape movemement penalty via River +[effect_mountains_movement_big_on_river] +type = "Move_Bonus" +value = -1 +reqs = + { "type", "name", "range", "present" + "Terrain", "Mountains", "Local", TRUE + "UnitClass", "Big Land", "Local", TRUE + "Extra", "Road", "Local", FALSE + "Extra", "River", "Local", TRUE } ; Nuclear power gives +1 moves to sea units diff --git a/data/sandbox/effects.ruleset b/data/sandbox/effects.ruleset index 9b23ef13b9..7fde50e772 100644 --- a/data/sandbox/effects.ruleset +++ b/data/sandbox/effects.ruleset @@ -480,6 +480,19 @@ reqs = "Terrain", "Mountains", "Local", TRUE "UnitClassFlag", "Ground", "Local", TRUE "Extra", "Road", "Local", FALSE + "Extra", "River", "Local", FALSE + } + +; Big Land units can't escape movemement penalty via River +[effect_mountains_movement_big_on_river] +type = "Move_Bonus" +value = -1 +reqs = + { "type", "name", "range", "present" + "Terrain", "Mountains", "Local", TRUE + "UnitClass", "Big Land", "Local", TRUE + "Extra", "Road", "Local", FALSE + "Extra", "River", "Local", TRUE } ; Nuclear power gives +1 moves to sea units -- 2.43.0