Scripted trigger
portrait_royalty_african_headgear_trigger
portrait_royalty_african_headgear_trigger = yesgame/common/scripted_triggers/00_clothing_triggers.txt, line 2342 (85 lines). No parameters.
portrait_royalty_african_headgear_trigger is a scripted trigger in Crusader Kings III, written at line 2342 of its file. It takes no parameters: portrait_royalty_african_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
If
a check the game hides
Then
portrait_can_use_noble_headgear_trigger = yesOne of these
All of these
One of these
- Highest held Title is exactly Kingdom Rank
or
All of these
- Is a ruler
- Government is a Theocratic-type Government
Not all of these
- Is a ruler
One of these
- Government is unplayable
or
All of these
- Government is Adventurer
None of these
- Has the Legitimists Law
- Their liege: Has the Legitimists Law
- Their government is not unplayable
One of these
portrait_african_clothing_trigger = yesor
All of these
- Their culture: The Culture has the East African Cultural Pillar
- Their religion is not Islam
or
All of these
exists = primary_spouse- Their spouse:
One of these
- Highest held Title is exactly Kingdom Rank
or
All of these
- Is a ruler
- Government is a Theocratic-type Government
Not all of these
- Is a ruler
- Government is unplayable
Not all of these
- Is a ruler
All of these
- Government is Adventurer
- Has the Legitimists Law
- Their government is not unplayable
One of these
portrait_african_clothing_spouse_trigger = yesor
All of these
- Their culture: The Culture has the East African Cultural Pillar
- Their religion is not Islam
Otherwise
scope:highest_held_title_tier = tier_kingdomportrait_african_clothing_trigger = 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 (85 lines of game script)
portrait_royalty_african_headgear_trigger = {
trigger_if = {
limit = { exists = this }
portrait_can_use_noble_headgear_trigger = yes
OR = {
AND = {
OR = {
highest_held_title_tier = tier_kingdom
AND = {
is_ruler = yes
government_has_flag = government_is_theocracy
}
}
NAND = { # Blocked for mercenaries and adventurers
is_ruler = yes
OR = {
government_has_flag = government_is_mercenary
AND = {
government_has_flag = government_is_landless_adventurer
NOR = {
has_realm_law = camp_purpose_legitimists
liege ?= { has_realm_law = camp_purpose_legitimists }
}
}
}
}
NOT = { government_has_flag = government_is_republic }
OR = {
portrait_african_clothing_trigger = yes
AND = {
culture = {
has_cultural_pillar = heritage_east_african
}
NOT = {
religion = religion:islam_religion
}
}
}
}
AND = {
exists = primary_spouse
OR = {
is_ruler = no
highest_held_title_tier = tier_barony
}
primary_spouse = {
OR = {
highest_held_title_tier = tier_kingdom
AND = {
is_ruler = yes
government_has_flag = government_is_theocracy
}
}
NAND = { # Blocked for mercenaries
is_ruler = yes
government_has_flag = government_is_mercenary
}
NAND = { # Blocked for adventurers
is_ruler = yes
AND = {
government_has_flag = government_is_landless_adventurer
has_realm_law = camp_purpose_legitimists
}
}
NOT = { government_has_flag = government_is_republic }
OR = {
portrait_african_clothing_spouse_trigger = yes
AND = {
culture = {
has_cultural_pillar = heritage_east_african
}
NOT = {
religion = religion:islam_religion
}
}
}
}
}
}
}
trigger_else = {
scope:highest_held_title_tier = tier_kingdom
portrait_african_clothing_trigger = 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.