Scripted trigger
is_struggle_parameter_active_secondary_county_trigger
is_struggle_parameter_active_secondary_county_trigger = { COUNTY = … PARAMETER = … }game/common/scripted_triggers/00_generic_struggle_scripted_triggers.txt, line 332 (7 lines). Parameters: $COUNTY$, $PARAMETER$.
is_struggle_parameter_active_secondary_county_trigger is a scripted trigger in Crusader Kings III, written at line 332 of its file. A call passes 2 parameters: COUNTY and PARAMETER. The game's script calls it in 2 places, among them court_chaplain_task_0301_charge_prestige_or_gold_effect (local effect) and task_conversion_valid_county_trigger (scripted trigger). Patch 1.20.1.2, from game/common/scripted_triggers/00_generic_struggle_scripted_triggers.txt.
What it checks
Every line of it is script with no tooltip text: the script is below.
The script as written (7 lines of game script)
is_struggle_parameter_active_secondary_county_trigger = {
has_struggle_phase_parameter = $PARAMETER$
save_temporary_scope_as = struggle_temp
$COUNTY$ = {
any_county_struggle = { this = scope:struggle_temp }
}
}As written in game/common/scripted_triggers/00_generic_struggle_scripted_triggers.txt.
Where it is used
Every place in common/, events/ and history/ that calls is_struggle_parameter_active_secondary_county_trigger.
Scripted effects inside an event file (1)
- court_chaplain_task_0301_charge_prestige_or_gold_effect
Scripted triggers (1)
Source: game/common/scripted_triggers/00_generic_struggle_scripted_triggers.txt and every file of common/, events/ and history/ that calls it, Crusader Kings III 1.20.1.2.