Scripted trigger
portrait_afr_berber_clothing_trigger
portrait_afr_berber_clothing_trigger = yesgame/common/scripted_triggers/00_clothing_triggers.txt, line 835 (14 lines). No parameters.
portrait_afr_berber_clothing_trigger is a scripted trigger in Crusader Kings III, written at line 835 of its file. It takes no parameters: portrait_afr_berber_clothing_trigger = yes (or no). No file of common/, events/ or history/ calls it. 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 = afr_berber }If
a check the game hides
Then
Not all of these
- Is landed
- 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 (14 lines of game script)
portrait_afr_berber_clothing_trigger = {
has_afr_dlc_trigger = yes
portrait_shared_clothing_contents_trigger = {
CULTURE_SCOPE = scope:culture
CULTURE_FLAG = afr_berber
}
trigger_if = {
limit = { exists = this }
NAND = {
is_landed = yes
capital_province ?= { geographical_region = world_europe_west_iberia }
}
}
}As written in game/common/scripted_triggers/00_clothing_triggers.txt.
Where it is used
No file of common/, events/ or history/ calls it.
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.