Scripted trigger · Coronations files
coronation_trigger
coronation_trigger = yesgame/common/scripted_triggers/10_ach_scripted_triggers.txt, line 1 (25 lines). No parameters.
coronation_trigger is a scripted trigger in Crusader Kings III, in the Coronations files, written at line 1 of its file. It takes no parameters: coronation_trigger = yes (or no). The game's script calls it in 15 places, among them Destroy Artifact (interaction), Request Anointment (interaction) and Coronation (activity). Its body carries 1 text of the game's own for the player. Patch 1.20.1.2, from game/common/scripted_triggers/10_ach_scripted_triggers.txt.
What it checks
- Is landed
- Highest held Title is at least Kingdom Rank
- If they has administrative government mechanic: Is an Independent Ruler
- Otherwise:
- Their government is not a Theocratic-type Government
- Their government is not unplayable
• 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 (25 lines of game script)
coronation_trigger = {
has_ach_dlc_trigger = yes
is_landed = yes
highest_held_title_tier >= tier_kingdom
# Governments where independent king+ rulers can hold Coronations
trigger_if = {
limit = { tgp_realm_has_ceremonial_liege_trigger = yes }
custom_tooltip = {
text = tgp_ceremonial_liege_coronation_trigger
tgp_has_ceremonial_liege_title_trigger = yes
}
}
trigger_if = {
limit = { government_has_mechanic = administrative }
is_independent_ruler = yes
}
trigger_else = {
NOR = {
government_has_flag = government_is_theocracy
government_has_flag = government_is_republic
government_has_flag = government_is_mercenary
government_has_flag = government_is_holy_order
}
}
}As written in game/common/scripted_triggers/10_ach_scripted_triggers.txt.
Where it is used
Every place in common/, events/ and history/ that calls coronation_trigger.
Character interactions (2)
Activities (1)
Important actions (1)
- You have not held a Coronation
Buttons of the game's windows (scripted GUIs) (1)
- coronation_trigger_gui
Events (3)
- ach_maintenance_events.0001
- coronation_events.0302
- The … Court
court_maintenance.0011
On actions (the game's own hooks) (4)
- on_death
- on_game_start
- on_government_change
- on_rank_up
Source: game/common/scripted_triggers/10_ach_scripted_triggers.txt and every file of common/, events/ and history/ that calls it, Crusader Kings III 1.20.1.2.