Scripted trigger
portrait_mayor_trigger
portrait_mayor_trigger = { CULTURE_INPUT = … }game/common/scripted_triggers/00_clothing_triggers.txt, line 2844 (5 lines). Parameters: $CULTURE_INPUT$.
portrait_mayor_trigger is a scripted trigger in Crusader Kings III, written at line 2844 of its file. A call passes 1 parameter: CULTURE_INPUT. The game's script calls it in 2 places, among them portrait_commoner_trigger (scripted trigger) and portrait_low_nobles_trigger (scripted trigger). Patch 1.20.1.2, from game/common/scripted_triggers/00_clothing_triggers.txt.
What it checks
Every line of it is script with no tooltip text: the script is below.
The script as written (5 lines of game script)
portrait_mayor_trigger = {
scope:highest_held_title_tier < tier_county # You are a baron or unlanded
scope:government = government_type:republic_government # You are a republic ruler or courtier
portrait_$CULTURE_INPUT$_clothing_trigger = yes # You have the cultural clothing
}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_mayor_trigger.
Scripted triggers (2)
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.