Scripted trigger
portrait_commoner_no_mayors_trigger
portrait_commoner_no_mayors_trigger = { CULTURE_INPUT = … }game/common/scripted_triggers/00_clothing_triggers.txt, line 1804 (36 lines). Parameters: $CULTURE_INPUT$.
portrait_commoner_no_mayors_trigger is a scripted trigger in Crusader Kings III, written at line 1804 of its file. A call passes 1 parameter: CULTURE_INPUT. 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
portrait_$CULTURE_INPUT$_clothing_trigger = yesOne of these
scope:highest_held_title_tier < tier_baronyor
All of these
- Government is Adventurer
- Has the Scholars Law
or
Government is unplayable
If
a check the game hides
Then
None of these
- Government is unplayable
- Their spouse:
All of these
- Highest held Title is more than County Rank
Not all of these
- Government is Adventurer
- Has the Legitimists Law
If
- Their court owner: Have a Royal Court
Then
- Their court owner:
amenity_level = { target = court_fashion value < 4 }
portrait_wear_no_armor_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 (36 lines of game script)
portrait_commoner_no_mayors_trigger = {
portrait_$CULTURE_INPUT$_clothing_trigger = yes
OR = {
scope:highest_held_title_tier < tier_barony
AND = {
government_has_flag = government_is_landless_adventurer
has_realm_law = camp_purpose_scholars
}
government_has_flag = government_is_herder
}
trigger_if = {
limit = { exists = this } # To check if this is an actual character
NOR = {
government_has_flag = government_is_republic
primary_spouse ?= {
AND = {
highest_held_title_tier > tier_county
NAND = {
government_has_flag = government_is_landless_adventurer
has_realm_law = camp_purpose_legitimists
}
}
}
}
trigger_if = {
limit = {
court_owner ?= { has_royal_court = yes }
has_dlc_feature = royal_court
}
court_owner = {
amenity_level = { target = court_fashion value < 4 }
}
}
}
portrait_wear_no_armor_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.