Scripted trigger
court_fashion_level_5_trigger
court_fashion_level_5_trigger = { CULTURE_INPUT = … }game/common/scripted_triggers/00_clothing_triggers.txt, line 1697 (14 lines). Parameters: $CULTURE_INPUT$.
court_fashion_level_5_trigger is a scripted trigger in Crusader Kings III, written at line 1697 of its file. A call passes 1 parameter: CULTURE_INPUT. The game's script calls it in 3 places, among them portrait_high_nobles_armor_in_army_trigger (scripted trigger), portrait_high_nobles_armor_trigger (scripted trigger) and court_fashion_level_5_modifier (scripted modifier). Patch 1.20.1.2, from game/common/scripted_triggers/00_clothing_triggers.txt.
What it checks
scope:highest_held_title_tier < tier_duchy- Their court owner:
- Have a Royal Court
amenity_level = { target = court_fashion value = 5 }
portrait_$CULTURE_INPUT$_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 (14 lines of game script)
court_fashion_level_5_trigger = {
scope:highest_held_title_tier < tier_duchy
NOT = {
primary_spouse ?= {
highest_held_title_tier >= tier_duchy
}
}
court_owner ?= {
has_royal_court = yes
has_dlc_feature = royal_court
amenity_level = { target = court_fashion value = 5 }
}
portrait_$CULTURE_INPUT$_clothing_trigger = yes
}As written in game/common/scripted_triggers/00_clothing_triggers.txt.
Where it is used
Every place in common/, events/ and history/ that calls court_fashion_level_5_trigger.
Scripted triggers (2)
Scripted modifiers (AI weights) (1)
- court_fashion_level_5_modifier
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.