Scripted trigger · All Under Heaven files
is_culture_or_descended_from_trigger
is_culture_or_descended_from_trigger = { CULTURE = … }game/common/scripted_triggers/10_tgp_japan_triggers.txt, line 117 (8 lines). Parameters: $CULTURE$.
is_culture_or_descended_from_trigger is a scripted trigger in Crusader Kings III, in the All Under Heaven files, written at line 117 of its file. A call passes 1 parameter: CULTURE. The game's script calls it in 2 places, among them No House Aspiration Chosen (important action) and should_always_have_beard_trigger (scripted trigger). Patch 1.20.1.2, from game/common/scripted_triggers/10_tgp_japan_triggers.txt.
What it checks
- Their culture:
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 (8 lines of game script)
is_culture_or_descended_from_trigger = {
culture = {
OR = {
this = $CULTURE$
any_parent_culture_or_above = { this = $CULTURE$ }
}
}
}As written in game/common/scripted_triggers/10_tgp_japan_triggers.txt.
Where it is used
Every place in common/, events/ and history/ that calls is_culture_or_descended_from_trigger.
Important actions (1)
- No House Aspiration Chosen
Scripted triggers (1)
Source: game/common/scripted_triggers/10_tgp_japan_triggers.txt and every file of common/, events/ and history/ that calls it, Crusader Kings III 1.20.1.2.