Scripted trigger
valid_struggle_cb_target_trigger
valid_struggle_cb_target_trigger = { CHARACTER = … }game/common/scripted_triggers/00_war_and_peace_triggers.txt, line 1081 (5 lines). Parameters: $CHARACTER$.
valid_struggle_cb_target_trigger is a scripted trigger in Crusader Kings III, written at line 1081 of its file. A call passes 1 parameter: CHARACTER. The game's script calls it in 1 place, among them Struggle Clash (casus belli). Patch 1.20.1.2, from game/common/scripted_triggers/00_war_and_peace_triggers.txt.
What it checks
- Any neighboring county › Their holder:
target_is_same_character_or_above = $CHARACTER$
• 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 (5 lines of game script)
valid_struggle_cb_target_trigger = {
any_neighboring_county = {
holder = { target_is_same_character_or_above = $CHARACTER$ }
}
}As written in game/common/scripted_triggers/00_war_and_peace_triggers.txt.
Where it is used
Every place in common/, events/ and history/ that calls valid_struggle_cb_target_trigger.
Casus belli (1)
Source: game/common/scripted_triggers/00_war_and_peace_triggers.txt and every file of common/, events/ and history/ that calls it, Crusader Kings III 1.20.1.2.