Scripted trigger
portrait_northern_clothing_trigger
portrait_northern_clothing_trigger = yesgame/common/scripted_triggers/00_clothing_triggers.txt, line 665 (19 lines). No parameters.
portrait_northern_clothing_trigger is a scripted trigger in Crusader Kings III, written at line 665 of its file. It takes no parameters: portrait_northern_clothing_trigger = yes (or no). The game's script calls it in 4 places, among them portrait_ep2_western_cloak_duel_trigger (scripted trigger), portrait_ep2_western_travel_cloak_trigger (scripted trigger) and portrait_clean_shaven_clothing_modifier (scripted modifier). Patch 1.20.1.2, from game/common/scripted_triggers/00_clothing_triggers.txt.
What it checks
portrait_shared_clothing_contents_trigger = { CULTURE_SCOPE = scope:culture CULTURE_FLAG = northern }Not all of these
One of these
portrait_shared_clothing_contents_trigger = { CULTURE_SCOPE = scope:culture CULTURE_FLAG = sami }or
portrait_shared_clothing_contents_trigger = { CULTURE_SCOPE = scope:culture CULTURE_FLAG = ugro_permian }
• 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 (19 lines of game script)
portrait_northern_clothing_trigger = {
portrait_shared_clothing_contents_trigger = {
CULTURE_SCOPE = scope:culture
CULTURE_FLAG = northern
}
NAND = {
has_cp4_dlc_trigger = yes
OR = {
portrait_shared_clothing_contents_trigger = {
CULTURE_SCOPE = scope:culture
CULTURE_FLAG = sami
}
portrait_shared_clothing_contents_trigger = {
CULTURE_SCOPE = scope:culture
CULTURE_FLAG = ugro_permian
}
}
}
}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_northern_clothing_trigger.
Scripted triggers (2)
Scripted modifiers (AI weights) (2)
- portrait_clean_shaven_clothing_modifier
- portrait_northern_clothing_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.