Scripted trigger
can_use_struggle_cbs_trigger
can_use_struggle_cbs_trigger = yesgame/common/scripted_triggers/00_generic_struggle_scripted_triggers.txt, line 409 (16 lines). No parameters.
can_use_struggle_cbs_trigger is a scripted trigger in Crusader Kings III, written at line 409 of its file. It takes no parameters: can_use_struggle_cbs_trigger = yes (or no). The game's script calls it in 1 place, among them Involvement (casus belli groups). Patch 1.20.1.2, from game/common/scripted_triggers/00_generic_struggle_scripted_triggers.txt.
The comment above it in the file
Can the struggle conquest CB be used? Currently, we're generous with this. Rather than tying it to a parameter, you just need to be involved in a struggle. This should sync neatly with the various struggle_conquest_cb_is_XYZ_phase_triggers, but due to parameter requirements, can't easily be made to do so automagically.
What it checks
One of these
- Any character struggle:
involvement = involved
or
All of these
exists = scope:attacker.housescope:attacker.house:One of these
- The House their has the Domination Hostility modifier
or
The House their has the Faith Hostility modifieror
The House their has the Cultural Hostility modifier
- Any character struggle:
• 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 (16 lines of game script)
can_use_struggle_cbs_trigger = {
OR = {
any_character_struggle = { involvement = involved }
# Execption if taking hostility ending
AND = {
exists = scope:attacker.house
scope:attacker.house = {
OR ={
has_house_modifier = fp2_struggle_hostility_house_combined_modifier
has_house_modifier = fp2_struggle_hostility_house_faith_modifier
has_house_modifier = fp2_struggle_hostility_house_culture_modifier
}
}
}
}
}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 can_use_struggle_cbs_trigger.
Casus belli groups (1)
- Involvement
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.