Scripted effect
local_adjudicate_effect
local_adjudicate_effect = yesgame/common/scripted_effects/00_wanderer_lifestyle_effects.txt, line 719 (39 lines). No parameters.
local_adjudicate_effect is a scripted effect in Crusader Kings III, written at line 719 of its file. It takes no parameters: local_adjudicate_effect = yes. The game's script calls it in 2 places, among them Local Arbitration (decision) and Inspection (activity). Patch 1.20.1.2, from game/common/scripted_effects/00_wanderer_lifestyle_effects.txt.
What it does
If
Then
- Depending on has county modifier:
- When has county modifier is Incompetent Tax Collection:
local_arbitration_effect = { COUNTY_MODIFIER = county_corruption_inefficient_tax_collection_modifier }
- When has county modifier is Deserting Levies:
local_arbitration_effect = { COUNTY_MODIFIER = county_corruption_deserting_levies_modifier }
- When has county modifier is Smuggling Ring:
local_arbitration_effect = { COUNTY_MODIFIER = county_corruption_smuggling_ring_modifier }
- When has county modifier is Bandits Running Rampant:
local_arbitration_effect = { COUNTY_MODIFIER = county_corruption_bandits_rampant_modifier }
- When has county modifier is Inefficient Census:
local_arbitration_effect = { COUNTY_MODIFIER = county_corruption_inefficient_census_modifier }
- When has county modifier is Lack of Sheriffs:
local_arbitration_effect = { COUNTY_MODIFIER = county_corruption_lack_of_sheriffs_modifier }
- When has county modifier is Distrust of Courts:
local_arbitration_effect = { COUNTY_MODIFIER = county_corruption_lack_of_courts_modifier }
- When has county modifier is Thieves Guild:
local_arbitration_effect = { COUNTY_MODIFIER = county_corruption_thieves_guild_modifier }
- When has county modifier is Unsafe Highways:
local_arbitration_effect = { COUNTY_MODIFIER = county_corruption_unsafe_highways_modifier }
- When has county modifier is Uncooperative Guilds:
local_arbitration_effect = { COUNTY_MODIFIER = county_corruption_uncooperative_guilds_modifier }
- When has county modifier is Lackluster Administration:
local_arbitration_effect = { COUNTY_MODIFIER = county_corruption_lackluster_administration_modifier }
- When has county modifier is Roaming Bandits:
local_arbitration_effect = { COUNTY_MODIFIER = county_corruption_roaming_bandits_modifier }
- When has county modifier is Wild Beast Attacks:
local_arbitration_effect = { COUNTY_MODIFIER = county_corruption_wild_beast_attacks_modifier }
- When has county modifier is Upset Shepherds:
local_arbitration_effect = { COUNTY_MODIFIER = county_corruption_upset_shepherds_modifier }
- When has county modifier is Rogue Warriors:
local_arbitration_effect = { COUNTY_MODIFIER = county_corruption_rogue_warriors_modifier }
- When has county modifier is Unruly Nomads:
local_arbitration_effect = { COUNTY_MODIFIER = county_corruption_unruly_nomads_modifier }
- When has county modifier is Incompetent Tax Collection:
Otherwise
- 1 of 3 things will happen:
- 33%:
local_arbitration_positive_effect = { COUNTY_MODIFIER = local_arbitration_modifier_1 }
- 33%:
local_arbitration_positive_effect = { COUNTY_MODIFIER = local_arbitration_modifier_2 }
- 33%:
local_arbitration_positive_effect = { COUNTY_MODIFIER = local_arbitration_modifier_3 }
- 33%:
- Depending on has county modifier:
• the game's own tooltip text · ◦ our reading of the script line · code the script where neither exists
“They” is whatever it runs on (the scope it is called in). The scripted triggers and effects it calls link to their own pages; $PARAMETERS$ stay as written: each call fills them in.
The script as written (39 lines of game script)
local_adjudicate_effect = {
if = {
limit = {
has_county_corruption_trigger = yes
}
switch = {
trigger = has_county_modifier
county_corruption_inefficient_tax_collection_modifier = { local_arbitration_effect = { COUNTY_MODIFIER = county_corruption_inefficient_tax_collection_modifier } }
county_corruption_deserting_levies_modifier = { local_arbitration_effect = { COUNTY_MODIFIER = county_corruption_deserting_levies_modifier } }
county_corruption_smuggling_ring_modifier = { local_arbitration_effect = { COUNTY_MODIFIER = county_corruption_smuggling_ring_modifier } }
county_corruption_bandits_rampant_modifier = { local_arbitration_effect = { COUNTY_MODIFIER = county_corruption_bandits_rampant_modifier } }
county_corruption_inefficient_census_modifier = { local_arbitration_effect = { COUNTY_MODIFIER = county_corruption_inefficient_census_modifier } }
county_corruption_lack_of_sheriffs_modifier = { local_arbitration_effect = { COUNTY_MODIFIER = county_corruption_lack_of_sheriffs_modifier } }
county_corruption_lack_of_courts_modifier = { local_arbitration_effect = { COUNTY_MODIFIER = county_corruption_lack_of_courts_modifier } }
county_corruption_thieves_guild_modifier = { local_arbitration_effect = { COUNTY_MODIFIER = county_corruption_thieves_guild_modifier } }
county_corruption_unsafe_highways_modifier = { local_arbitration_effect = { COUNTY_MODIFIER = county_corruption_unsafe_highways_modifier } }
county_corruption_uncooperative_guilds_modifier = { local_arbitration_effect = { COUNTY_MODIFIER = county_corruption_uncooperative_guilds_modifier } }
county_corruption_lackluster_administration_modifier = { local_arbitration_effect = { COUNTY_MODIFIER = county_corruption_lackluster_administration_modifier } }
county_corruption_roaming_bandits_modifier = { local_arbitration_effect = { COUNTY_MODIFIER = county_corruption_roaming_bandits_modifier } }
county_corruption_wild_beast_attacks_modifier = { local_arbitration_effect = { COUNTY_MODIFIER = county_corruption_wild_beast_attacks_modifier } }
county_corruption_upset_shepherds_modifier = { local_arbitration_effect = { COUNTY_MODIFIER = county_corruption_upset_shepherds_modifier } }
county_corruption_rogue_warriors_modifier = { local_arbitration_effect = { COUNTY_MODIFIER = county_corruption_rogue_warriors_modifier } }
county_corruption_unruly_nomads_modifier = { local_arbitration_effect = { COUNTY_MODIFIER = county_corruption_unruly_nomads_modifier } }
}
}
else = {
random_list = {
1 = {
local_arbitration_positive_effect = { COUNTY_MODIFIER = local_arbitration_modifier_1 }
}
1 = {
local_arbitration_positive_effect = { COUNTY_MODIFIER = local_arbitration_modifier_2 }
}
1 = {
local_arbitration_positive_effect = { COUNTY_MODIFIER = local_arbitration_modifier_3 }
}
}
}
}As written in game/common/scripted_effects/00_wanderer_lifestyle_effects.txt.
Where it is used
Every place in common/, events/ and history/ that calls local_adjudicate_effect.
Decisions (1)
Activities (1)
Source: game/common/scripted_effects/00_wanderer_lifestyle_effects.txt and every file of common/, events/ and history/ that calls it, Crusader Kings III 1.20.1.2.