Scripted trigger · The Royal Court files
target_of_powerful_faction_trigger
target_of_powerful_faction_trigger = yesgame/common/scripted_triggers/02_ep1_scripted_triggers.txt, line 294 (14 lines). No parameters.
target_of_powerful_faction_trigger is a scripted trigger in Crusader Kings III, in the The Royal Court files, written at line 294 of its file. It takes no parameters: target_of_powerful_faction_trigger = yes (or no). The game's script calls it in 6 places, among them Petition the … (decision), Conspirators at Court (event prelude_events.0020) and petition_liege.9000 (event). Patch 1.20.1.2, from game/common/scripted_triggers/02_ep1_scripted_triggers.txt.
What it checks
One of these
faction_is_type = liberty_factionor
faction_is_type = claimant_faction
One of these
faction_power >= faction_power_thresholdor
faction_is_at_war = yes
If
a check the game hides
Then
special_character != faction_target.liege
• 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 (14 lines of game script)
target_of_powerful_faction_trigger = {
OR = {
faction_is_type = liberty_faction
faction_is_type = claimant_faction
}
OR = {
faction_power >= faction_power_threshold
faction_is_at_war = yes
}
trigger_if = {
limit = { exists = special_character }
special_character != faction_target.liege
}
}As written in game/common/scripted_triggers/02_ep1_scripted_triggers.txt.
Where it is used
Every place in common/, events/ and history/ that calls target_of_powerful_faction_trigger.
Decisions (1)
Events (4)
- Conspirators at Court
prelude_events.0020 - petition_liege.9000
- Petition: Switching Tactics
petition_liege.9001 - The … Peace
hold_court.8260
Script values (1)
- factions_and_war_values
Source: game/common/scripted_triggers/02_ep1_scripted_triggers.txt and every file of common/, events/ and history/ that calls it, Crusader Kings III 1.20.1.2.