Scripted trigger
portrait_fp2_iberian_muslim_clothing_trigger
portrait_fp2_iberian_muslim_clothing_trigger = yesgame/common/scripted_triggers/00_clothing_triggers.txt, line 708 (18 lines). No parameters.
portrait_fp2_iberian_muslim_clothing_trigger is a scripted trigger in Crusader Kings III, written at line 708 of its file. It takes no parameters: portrait_fp2_iberian_muslim_clothing_trigger = yes (or no). The game's script calls it in 2 places, among them portrait_clean_shaven_clothing_modifier (scripted modifier) and portrait_fp2_iberian_muslim_clothing_modifier (scripted modifier). Patch 1.20.1.2, from game/common/scripted_triggers/00_clothing_triggers.txt.
What it checks
One of these
portrait_shared_clothing_contents_trigger = { CULTURE_SCOPE = scope:culture CULTURE_FLAG = iberian_muslim }or
If
a check the game hides
Then
All of these
- Their religion is Islam
- Their capital province: Is in the Iberia region
• 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 (18 lines of game script)
portrait_fp2_iberian_muslim_clothing_trigger = {
has_fp2_dlc_trigger = yes
OR = {
portrait_shared_clothing_contents_trigger = {
CULTURE_SCOPE = scope:culture
CULTURE_FLAG = iberian_muslim
}
trigger_if = {
limit = { exists = this }
AND = {
religion = religion:islam_religion
capital_province ?= {
geographical_region = world_europe_west_iberia
}
}
}
}
}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_fp2_iberian_muslim_clothing_trigger.
Scripted modifiers (AI weights) (2)
- portrait_clean_shaven_clothing_modifier
- portrait_fp2_iberian_muslim_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.