Scripted trigger
portrait_wear_no_crown_trigger
portrait_wear_no_crown_trigger = yesgame/common/scripted_triggers/00_clothing_triggers.txt, line 431 (32 lines). No parameters.
portrait_wear_no_crown_trigger is a scripted trigger in Crusader Kings III, written at line 431 of its file. It takes no parameters: portrait_wear_no_crown_trigger = yes (or no). The game's script calls it in 6 places, among them portrait_high_nobles_headgear_trigger (scripted trigger), portrait_imperial_headgear_trigger (scripted trigger) and portrait_reichskrone_trigger (scripted trigger). Patch 1.20.1.2, from game/common/scripted_triggers/00_clothing_triggers.txt.
What it checks
One of these
is_governor = yesor
If a check the game hides passes: the same again (2 lines)
- Has the Uncrowned Law
NOT = { coronation_proper_artifact_regalia_trigger = yes }
or
If
- Is married
NOT = { coronation_proper_artifact_regalia_trigger = yes }
Then
- Is not landed
- Their spouse:
- Is landed
- Has the Uncrowned Law
NOT = { coronation_proper_artifact_regalia_trigger = yes }
or
has_character_flag = sold_crown_charmodor
Has the Modifier: Vow of Povertyor
Has the Modifier: Where True Power Lies
• 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)
portrait_wear_no_crown_trigger = { # Rulers should be coronated to wear a crown barring exceptions
exists = this
OR = {
is_governor = yes
trigger_if = { # No crowns for uncoronated characters
limit = { has_ach_dlc_trigger = yes }
has_realm_law = uncrowned
NOT = { coronation_proper_artifact_regalia_trigger = yes } #don't take off your fancy hat if you care about regalia. But do take it off if you care about crowns AND regalia
}
trigger_if = { # Unlanded spouses of uncoronated ruler's shouldn't have crowns
limit = {
is_married = yes
has_ach_dlc_trigger = yes
NOT = { coronation_proper_artifact_regalia_trigger = yes }
}
is_landed = no
primary_spouse ?= {
is_landed = yes
has_realm_law = uncrowned
NOT = { coronation_proper_artifact_regalia_trigger = yes }
}
}
has_character_flag = sold_crown_charmod # No crowns for characters who sold theirs
has_character_modifier = vow_of_poverty_modifier # Or for characters with an active Vow of Poverty
has_character_modifier = fp1_abased_before_highgod_modifier # Refuses to wear a crown due to HighGod
}
}As written in game/common/scripted_triggers/00_clothing_triggers.txt.
Where it is used
Every place in common/, events/ and history/ that calls portrait_wear_no_crown_trigger.
Source: game/common/scripted_triggers/00_clothing_triggers.txt and every file of common/, events/ and history/ that calls it, Crusader Kings III 1.20.1.2.