Scripted trigger
portrait_wear_no_headgear_trigger
portrait_wear_no_headgear_trigger = yesgame/common/scripted_triggers/00_clothing_triggers.txt, line 62 (60 lines). No parameters.
portrait_wear_no_headgear_trigger is a scripted trigger in Crusader Kings III, written at line 62 of its file. It takes no parameters: portrait_wear_no_headgear_trigger = yes (or no). No file of common/, events/ or history/ calls it. Patch 1.20.1.2, from game/common/scripted_triggers/00_clothing_triggers.txt.
What it checks
One of these
All of these
Otherwise
scope:age <= coronation_minimum_age_value
NOT = { portrait_sami_clothing_trigger = yes }NOT = { portrait_ugro_permian_clothing_trigger = yes }
or
has_character_flag = no_hator
portrait_prisoner_trigger = yesor
Has the Modifier: Halqor
has_character_flag = roaming_characteror
All of these
One of these
should_be_naked_trigger = yesor
All of these
- Highest held Title is less than Duchy Rank
One of these
has_short_disease_trigger = yesor
has_character_flag = use_sickness_clothes
or
activity_tournament_shirtless_trigger = yes
None of these
- Highest held Title is at least Duchy Rank
portrait_religious_head_popes_trigger = yes- Their culture: The Culture has the Japonic Cultural Pillar
- Their culture: The Culture has the Chinese Cultural Pillar
or
or
portrait_ep2_ihram_clothes_trigger = yesor
All of these
exists = thishas_any_charioteer_trait = yes
• 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 (60 lines of game script)
portrait_wear_no_headgear_trigger = {
OR = {
AND = {
trigger_if = { # No headgear for children under 16
limit = {
portrait_wear_no_crown_trigger = yes
}
scope:age < 16
}
trigger_else = { # Unless it's a crown
scope:age <= coronation_minimum_age_value
}
NOR = {
portrait_sami_clothing_trigger = yes
portrait_ugro_permian_clothing_trigger = yes
}
}
has_character_flag = no_hat
portrait_prisoner_trigger = yes
has_character_modifier = hajj_halq_modifier # To show shaved hair
has_character_flag = roaming_character
AND = {
OR = {
should_be_naked_trigger = yes # Deliberately not the "fully naked" one since dropping your crown's intended even if nudity is disabled
AND = {
highest_held_title_tier < tier_duchy # Should wear ducal or royal crown instead.
OR = {
has_short_disease_trigger = yes # Affliction that would plausibly leave them bedridden for treatment
has_character_flag = use_sickness_clothes
}
}
activity_tournament_shirtless_trigger = yes
}
NOR = { # Exceptions for dukes, kings, popes
highest_held_title_tier >= tier_duchy # Should wear ducal or royal crown instead.
portrait_religious_head_popes_trigger = yes
culture = { has_cultural_pillar = heritage_japonic } # Showing the top of your head is shameful
culture = { has_cultural_pillar = heritage_chinese } # Showing the top of your head is shameful
}
}
AND = { # No headgear for vanity characters with the no_headgear flag, unless they are dukes or higher
exists = this
has_character_flag = no_headgear
highest_held_title_tier < tier_duchy
}
portrait_ep2_ihram_clothes_trigger = yes # Remove headgear if you are undertaking the Hajj and meet the requirements for the Ihram clothes (Halq modifier and male)
AND = { # No headgear for charioteers
exists = this
has_any_charioteer_trait = yes
}
}
}As written in game/common/scripted_triggers/00_clothing_triggers.txt.
Where it is used
No file of common/, events/ or history/ calls it.
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.