Scripted trigger
immune_to_county_corruption_trigger
immune_to_county_corruption_trigger = yesgame/common/scripted_triggers/00_county_corruption_triggers.txt, line 32 (9 lines). No parameters.
immune_to_county_corruption_trigger is a scripted trigger in Crusader Kings III, written at line 32 of its file. It takes no parameters: immune_to_county_corruption_trigger = yes (or no). The game's script calls it in 5 places, among them realm_maintenance.0002 (event), realm_maintenance.0003 (event) and in_debt_county_corruption_pulse (on action). Patch 1.20.1.2, from game/common/scripted_triggers/00_county_corruption_triggers.txt.
What it checks
One of these
is_landless_type_title = yesor
Has “corruption event happening” (a variable the game's script sets)or
Has “county corruption recent removal” (a variable the game's script sets)or
is_target_of_council_task = task_increase_controlor
The county has the modifier “Military Presence”
• 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 (9 lines of game script)
immune_to_county_corruption_trigger = {
OR = {
is_landless_type_title = yes
has_variable = corruption_event_happening
has_variable = county_corruption_recent_removal
is_target_of_council_task = task_increase_control
has_county_modifier = marshal_task_military_presence_modifier
}
}As written in game/common/scripted_triggers/00_county_corruption_triggers.txt.
Where it is used
Every place in common/, events/ and history/ that calls immune_to_county_corruption_trigger.
On actions (the game's own hooks) (2)
- in_debt_county_corruption_pulse
- low_control_pulse
Scripted triggers (1)
Source: game/common/scripted_triggers/00_county_corruption_triggers.txt and every file of common/, events/ and history/ that calls it, Crusader Kings III 1.20.1.2.