Scripted trigger
diarch_coup_attempt_grabbable_kingdom_trigger
diarch_coup_attempt_grabbable_kingdom_trigger = { TARGET = … }game/common/scripted_triggers/00_diarchy_scripted_triggers.txt, line 806 (6 lines). Parameters: $TARGET$.
diarch_coup_attempt_grabbable_kingdom_trigger is a scripted trigger in Crusader Kings III, written at line 806 of its file. A call passes 1 parameter: TARGET. The game's script calls it in 2 places, among them Attempt to Overthrow Liege (decision) and diarch_coup_attempt_take_titles_effect (local effect). Patch 1.20.1.2, from game/common/scripted_triggers/00_diarchy_scripted_triggers.txt.
What it checks
- Highest held Title is at least Empire Rank
- Any held title:
diarch_coup_attempt_grabbable_kingdom_guts_trigger = { TARGET = $TARGET$ }
• 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 (6 lines of game script)
diarch_coup_attempt_grabbable_kingdom_trigger = {
highest_held_title_tier >= tier_empire
any_held_title = {
diarch_coup_attempt_grabbable_kingdom_guts_trigger = { TARGET = $TARGET$ }
}
}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 diarch_coup_attempt_grabbable_kingdom_trigger.
Decisions (1)
Scripted effects inside an event file (1)
- diarch_coup_attempt_take_titles_effect
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.