Scripted trigger · Coronations files
coronation_has_proper_artifact_trigger
coronation_has_proper_artifact_trigger = yesgame/common/scripted_triggers/10_ach_scripted_triggers.txt, line 197 (32 lines). No parameters.
coronation_has_proper_artifact_trigger is a scripted trigger in Crusader Kings III, in the Coronations files, written at line 197 of its file. It takes no parameters: coronation_has_proper_artifact_trigger = yes (or no). The game's script calls it in 7 places, among them Coronation (activity), coronation_events.0302 (event) and Jewels of the … (event coronation_events.6110). Patch 1.20.1.2, from game/common/scripted_triggers/10_ach_scripted_triggers.txt.
What it checks
If
- Their faith:
Then
- Any character artifact:
artifact_slot_type = helmet
Else if
- Their faith:
Then
- Any character artifact:
artifact_slot_type = regalia
Otherwise
- Any character artifact:
One of these
artifact_slot_type = helmetor
artifact_slot_type = regalia
• 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 (32 lines of game script)
coronation_has_proper_artifact_trigger = {
trigger_if = {
limit = {
faith = {
coronation_proper_artifact_crown_trigger = yes
coronation_proper_artifact_regalia_trigger = no
}
}
any_character_artifact = {
artifact_slot_type = helmet
}
}
trigger_else_if = {
limit = {
faith = {
coronation_proper_artifact_regalia_trigger = yes
coronation_proper_artifact_crown_trigger = no
}
}
any_character_artifact = {
artifact_slot_type = regalia
}
}
trigger_else = {
any_character_artifact = {
OR = {
artifact_slot_type = helmet
artifact_slot_type = regalia
}
}
}
}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_has_proper_artifact_trigger.
Activities (1)
Events (5)
- coronation_events.0302
- Jewels of the …
coronation_events.6110 - Steward of the …
realm_maintenance.2001 - The … Court
court_maintenance.0011 - The … of …
ach_yearly_events.1005
On actions (the game's own hooks) (1)
- yearly_playable_pulse
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.