Scripted trigger
culture_is_or_has_ancestor_trigger
culture_is_or_has_ancestor_trigger = { CULTURE = … }game/common/scripted_triggers/00_cultural_triggers.txt, line 645 (6 lines). Parameters: $CULTURE$.
culture_is_or_has_ancestor_trigger is a scripted trigger in Crusader Kings III, written at line 645 of its file. A call passes 1 parameter: CULTURE. The game's script calls it in 26 places, among them Amharic Highlanders (tradition), Art of War (tradition) and Audacious Cadets (tradition). Patch 1.20.1.2, from game/common/scripted_triggers/00_cultural_triggers.txt.
What it checks
One of these
this = $CULTURE$or
Any parent culture or above:this = $CULTURE$
• 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 (6 lines of game script)
culture_is_or_has_ancestor_trigger = {
OR = {
this = $CULTURE$
any_parent_culture_or_above = { this = $CULTURE$ }
}
}As written in game/common/scripted_triggers/00_cultural_triggers.txt.
Where it is used
Every place in common/, events/ and history/ that calls culture_is_or_has_ancestor_trigger.
Cultural traditions (22)
Scripted effects (1)
Source: game/common/scripted_triggers/00_cultural_triggers.txt and every file of common/, events/ and history/ that calls it, Crusader Kings III 1.20.1.2.