From 396d154c04d429b40b174a2b6acf40440c850955 Mon Sep 17 00:00:00 2001 From: Marko Lindqvist Date: Thu, 13 Apr 2023 03:25:51 +0300 Subject: [PATCH 46/46] Rulesets: Make more of failing diplomatic actions to give casus belli These actions were already giving casus belli when they succeeded. alien: "Bribe Unit" and "Incite City" civ2civ3 and sandbox: "Bribe Unit", "Spy Attack", and "Incite City" See osdn #46239 Signed-off-by: Marko Lindqvist --- data/alien/effects.ruleset | 18 ++++++++++++++++++ data/civ2civ3/effects.ruleset | 36 +++++++++++++++++++++++++++++++++++ data/sandbox/effects.ruleset | 36 +++++++++++++++++++++++++++++++++++ 3 files changed, 90 insertions(+) diff --git a/data/alien/effects.ruleset b/data/alien/effects.ruleset index d6af0e0342..38ed5f0d7d 100644 --- a/data/alien/effects.ruleset +++ b/data/alien/effects.ruleset @@ -1003,6 +1003,15 @@ reqs = "DiplRel", "War", "Local", FALSE } +[effect_incident_caught_bribe_unit] +type = "Casus_Belli_Caught" +value = 1 +reqs = + { "type", "name", "range", "present" + "Action", "Bribe Unit", "Local", TRUE + "DiplRel", "War", "Local", FALSE + } + [effect_incident_success_incite] type = "Casus_Belli_Success" value = 1 @@ -1012,6 +1021,15 @@ reqs = "DiplRel", "War", "Local", FALSE } +[effect_incident_caught_incite] +type = "Casus_Belli_Caught" +value = 1 +reqs = + { "type", "name", "range", "present" + "Action", "Incite City", "Local", TRUE + "DiplRel", "War", "Local", FALSE + } + ; Double (+100%) buy cost for Great Wonders [effect_great_wonder_buy_cost] type = "Building_Buy_Cost_Pct" diff --git a/data/civ2civ3/effects.ruleset b/data/civ2civ3/effects.ruleset index d41c610a07..66963abcba 100644 --- a/data/civ2civ3/effects.ruleset +++ b/data/civ2civ3/effects.ruleset @@ -4100,6 +4100,15 @@ reqs = "DiplRel", "War", "Local", FALSE } +[effect_incident_caught_bribe_unit] +type = "Casus_Belli_Caught" +value = 1 +reqs = + { "type", "name", "range", "present" + "Action", "Bribe Unit", "Local", TRUE + "DiplRel", "War", "Local", FALSE + } + [effect_incident_success_bribe_unit] type = "Casus_Belli_Success" value = 1 @@ -4109,6 +4118,15 @@ reqs = "DiplRel", "War", "Local", FALSE } +[effect_incident_caught_spy_attack] +type = "Casus_Belli_Caught" +value = 1 +reqs = + { "type", "name", "range", "present" + "Action", "Spy Attack", "Local", TRUE + "DiplRel", "War", "Local", FALSE + } + [effect_incident_success_spy_attack] type = "Casus_Belli_Success" value = 1 @@ -4118,6 +4136,15 @@ reqs = "DiplRel", "War", "Local", FALSE } +[effect_incident_caught_incite] +type = "Casus_Belli_Caught" +value = 1 +reqs = + { "type", "name", "range", "present" + "Action", "Incite City", "Local", TRUE + "DiplRel", "War", "Local", FALSE + } + [effect_incident_success_incite] type = "Casus_Belli_Success" value = 1 @@ -4127,6 +4154,15 @@ reqs = "DiplRel", "War", "Local", FALSE } +[effect_incident_caught_incite_esc] +type = "Casus_Belli_Caught" +value = 1 +reqs = + { "type", "name", "range", "present" + "Action", "Incite City Escape", "Local", TRUE + "DiplRel", "War", "Local", FALSE + } + [effect_incident_success_incite_esc] type = "Casus_Belli_Success" value = 1 diff --git a/data/sandbox/effects.ruleset b/data/sandbox/effects.ruleset index b22141910c..7eeca94a61 100644 --- a/data/sandbox/effects.ruleset +++ b/data/sandbox/effects.ruleset @@ -4273,6 +4273,15 @@ reqs = "DiplRel", "War", "Local", FALSE } +[effect_incident_caught_bribe_unit] +type = "Casus_Belli_Caught" +value = 1 +reqs = + { "type", "name", "range", "present" + "Action", "Bribe Unit", "Local", TRUE + "DiplRel", "War", "Local", FALSE + } + [effect_incident_success_bribe_unit] type = "Casus_Belli_Success" value = 1 @@ -4282,6 +4291,15 @@ reqs = "DiplRel", "War", "Local", FALSE } +[effect_incident_caught_spy_attack] +type = "Casus_Belli_Caught" +value = 1 +reqs = + { "type", "name", "range", "present" + "Action", "Spy Attack", "Local", TRUE + "DiplRel", "War", "Local", FALSE + } + [effect_incident_success_spy_attack] type = "Casus_Belli_Success" value = 1 @@ -4291,6 +4309,15 @@ reqs = "DiplRel", "War", "Local", FALSE } +[effect_incident_caught_incite] +type = "Casus_Belli_Caught" +value = 1 +reqs = + { "type", "name", "range", "present" + "Action", "Incite City", "Local", TRUE + "DiplRel", "War", "Local", FALSE + } + [effect_incident_success_incite] type = "Casus_Belli_Success" value = 1 @@ -4300,6 +4327,15 @@ reqs = "DiplRel", "War", "Local", FALSE } +[effect_incident_caught_incite_esc] +type = "Casus_Belli_Caught" +value = 1 +reqs = + { "type", "name", "range", "present" + "Action", "Incite City Escape", "Local", TRUE + "DiplRel", "War", "Local", FALSE + } + [effect_incident_success_incite_esc] type = "Casus_Belli_Success" value = 1 -- 2.39.2