Scripted trigger
has_different_clothing_gfx
has_different_clothing_gfx = { CHAR = … }game/common/scripted_triggers/00_scripted_triggers.txt, line 512 (107 lines). Parameters: $CHAR$.
has_different_clothing_gfx is a scripted trigger in Crusader Kings III, written at line 512 of its file. A call passes 1 parameter: CHAR. The game's script calls it in 2 places, among them A Suspiciously Cultured Crowd (event coronation_events_klank.1001) and A Wonderfully Cultured Crowd (event coronation_events_klank.1002). Patch 1.20.1.2, from game/common/scripted_triggers/00_scripted_triggers.txt.
What it checks
- Their culture › Depending on has clothing gfx:
- When has clothing gfx is Byzantine:
NOT = { $CHAR$.culture = { has_clothing_gfx = byzantine_clothing_gfx } }
- When has clothing gfx is Indian:
NOT = { $CHAR$.culture = { has_clothing_gfx = indian_clothing_gfx } }
- When has clothing gfx is Arabic:
NOT = { $CHAR$.culture = { has_clothing_gfx = mena_clothing_gfx } }
- When has clothing gfx is African:
NOT = { $CHAR$.culture = { has_clothing_gfx = african_clothing_gfx } }
- When has clothing gfx is Northern European:
NOT = { $CHAR$.culture = { has_clothing_gfx = northern_clothing_gfx } }
- When has clothing gfx is Andalusian:
NOT = { $CHAR$.culture = { has_clothing_gfx = iberian_muslim_clothing_gfx } }
- When has clothing gfx is Iberian:
NOT = { $CHAR$.culture = { has_clothing_gfx = iberian_christian_clothing_gfx } }
- When has clothing gfx is Mongolian:
NOT = { $CHAR$.culture = { has_clothing_gfx = mongol_clothing_gfx } }
- When has clothing gfx is Norse:
NOT = { $CHAR$.culture = { has_clothing_gfx = fp1_norse_clothing_gfx } }
- When has clothing gfx is Continental European:
NOT = { $CHAR$.culture = { has_clothing_gfx = western_clothing_gfx } }
- When has clothing gfx is Holy Roman Imperial:
NOT = { $CHAR$.culture = { has_clothing_gfx = dde_hre_clothing_gfx } }
- When has clothing gfx is Abbasid:
NOT = { $CHAR$.culture = { has_clothing_gfx = dde_abbasid_clothing_gfx } }
- When has clothing gfx is Iranian:
NOT = { $CHAR$.culture = { has_clothing_gfx = iranian_clothing_gfx } }
- When has clothing gfx is Turkic:
NOT = { $CHAR$.culture = { has_clothing_gfx = turkic_clothing_gfx } }
- When has clothing gfx is Berber:
NOT = { $CHAR$.culture = { has_clothing_gfx = afr_berber_clothing_gfx } }
- When has clothing gfx is West Slavic:
NOT = { $CHAR$.culture = { has_clothing_gfx = west_slavic_clothing_gfx } }
- When has clothing gfx is French:
NOT = { $CHAR$.culture = { has_clothing_gfx = french_clothing_gfx } }
- When has clothing gfx is East Slavic:
NOT = { $CHAR$.culture = { has_clothing_gfx = east_slavic_clothing_gfx } }
- When has clothing gfx is Sami:
NOT = { $CHAR$.culture = { has_clothing_gfx = sami_clothing_gfx } }
- When has clothing gfx is Ugro-Permian:
NOT = { $CHAR$.culture = { has_clothing_gfx = ugro_permian_clothing_gfx } }
- When has clothing gfx is Byzantine:
• 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 (107 lines of game script)
has_different_clothing_gfx = {
culture = {
switch = {
trigger = has_clothing_gfx
byzantine_clothing_gfx = {
NOT = {
$CHAR$.culture = { has_clothing_gfx = byzantine_clothing_gfx }
}
}
indian_clothing_gfx = {
NOT = {
$CHAR$.culture = { has_clothing_gfx = indian_clothing_gfx }
}
}
mena_clothing_gfx = {
NOT = {
$CHAR$.culture = { has_clothing_gfx = mena_clothing_gfx }
}
}
african_clothing_gfx = {
NOT = {
$CHAR$.culture = { has_clothing_gfx = african_clothing_gfx }
}
}
northern_clothing_gfx = {
NOT = {
$CHAR$.culture = { has_clothing_gfx = northern_clothing_gfx }
}
}
iberian_muslim_clothing_gfx = {
NOT = {
$CHAR$.culture = { has_clothing_gfx = iberian_muslim_clothing_gfx }
}
}
iberian_christian_clothing_gfx = {
NOT = {
$CHAR$.culture = { has_clothing_gfx = iberian_christian_clothing_gfx }
}
}
mongol_clothing_gfx = {
NOT = {
$CHAR$.culture = { has_clothing_gfx = mongol_clothing_gfx }
}
}
fp1_norse_clothing_gfx = {
NOT = {
$CHAR$.culture = { has_clothing_gfx = fp1_norse_clothing_gfx }
}
}
western_clothing_gfx = {
NOT = {
$CHAR$.culture = { has_clothing_gfx = western_clothing_gfx }
}
}
dde_hre_clothing_gfx = {
NOT = {
$CHAR$.culture = { has_clothing_gfx = dde_hre_clothing_gfx }
}
}
dde_abbasid_clothing_gfx = {
NOT = {
$CHAR$.culture = { has_clothing_gfx = dde_abbasid_clothing_gfx }
}
}
iranian_clothing_gfx = {
NOT = {
$CHAR$.culture = { has_clothing_gfx = iranian_clothing_gfx }
}
}
turkic_clothing_gfx = {
NOT = {
$CHAR$.culture = { has_clothing_gfx = turkic_clothing_gfx }
}
}
afr_berber_clothing_gfx = {
NOT = {
$CHAR$.culture = { has_clothing_gfx = afr_berber_clothing_gfx }
}
}
west_slavic_clothing_gfx = {
NOT = {
$CHAR$.culture = { has_clothing_gfx = west_slavic_clothing_gfx }
}
}
french_clothing_gfx = {
NOT = {
$CHAR$.culture = { has_clothing_gfx = french_clothing_gfx }
}
}
east_slavic_clothing_gfx = {
NOT = {
$CHAR$.culture = { has_clothing_gfx = east_slavic_clothing_gfx }
}
}
sami_clothing_gfx = {
NOT = {
$CHAR$.culture = { has_clothing_gfx = sami_clothing_gfx }
}
}
ugro_permian_clothing_gfx = {
NOT = {
$CHAR$.culture = { has_clothing_gfx = ugro_permian_clothing_gfx }
}
}
}
}
}As written in game/common/scripted_triggers/00_scripted_triggers.txt.
Where it is used
Every place in common/, events/ and history/ that calls has_different_clothing_gfx.
Events (2)
- A Suspiciously Cultured Crowd
coronation_events_klank.1001 - A Wonderfully Cultured Crowd
coronation_events_klank.1002
Source: game/common/scripted_triggers/00_scripted_triggers.txt and every file of common/, events/ and history/ that calls it, Crusader Kings III 1.20.1.2.