Scripted trigger
character_has_regency_diarchy_trigger
character_has_regency_diarchy_trigger = yesgame/common/scripted_triggers/00_diarchy_scripted_triggers.txt, line 880 (7 lines). No parameters.
character_has_regency_diarchy_trigger is a scripted trigger in Crusader Kings III, written at line 880 of its file. It takes no parameters: character_has_regency_diarchy_trigger = yes (or no). The game's script calls it in 7 places, among them … Second Capital (event bp2_yearly.0611), A Tool for the Wielding (event bp2_yearly.0661) and Gifts for the … (event bp2_yearly.0621). Patch 1.20.1.2, from game/common/scripted_triggers/00_diarchy_scripted_triggers.txt.
What it checks
One of these
has_diarchy_active_parameter = diarchy_type_is_temporary_regencyor
has_diarchy_active_parameter = diarchy_type_is_entrenched_regency
• 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 (7 lines of game script)
character_has_regency_diarchy_trigger = {
exists = diarch
OR = {
has_diarchy_active_parameter = diarchy_type_is_temporary_regency
has_diarchy_active_parameter = diarchy_type_is_entrenched_regency
}
}As written in game/common/scripted_triggers/00_diarchy_scripted_triggers.txt.
Where it is used
Every place in common/, events/ and history/ that calls character_has_regency_diarchy_trigger.
Events (7)
- … Second Capital
bp2_yearly.0611 - A Tool for the Wielding
bp2_yearly.0661 - Gifts for the …
bp2_yearly.0621 - Quid Pro Quo
bp2_yearly.0641 - Ruling Rightly
bp2_yearly.0601 - Whenever You Need …
bp2_yearly.0651
1 more
- Whispered Words
bp2_yearly.0631
Source: game/common/scripted_triggers/00_diarchy_scripted_triggers.txt and every file of common/, events/ and history/ that calls it, Crusader Kings III 1.20.1.2.