Scripted trigger
heritage_is_shown_trigger
heritage_is_shown_trigger = { HERITAGE = … }game/common/scripted_triggers/00_cultural_triggers.txt, line 460 (11 lines). Parameters: $HERITAGE$.
heritage_is_shown_trigger is a scripted trigger in Crusader Kings III, written at line 460 of its file. A call passes 1 parameter: HERITAGE. The game's script calls it in 59 places, among them Ainuic (culture), Akan (culture) and Albanian (culture). Patch 1.20.1.2, from game/common/scripted_triggers/00_cultural_triggers.txt.
The comment above it in the file
Language trigger - Makes heritages available when you diverge your culture
What it checks
scope:character:One of these
All of these
exists = var:legendary_culture- var:legendary_culture: Their Culture has the … Cultural Pillar
or
Their culture: The Culture has the … Cultural Pillar
• 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 (11 lines of game script)
heritage_is_shown_trigger = {
scope:character = {
OR = {
AND = {
exists = var:legendary_culture
var:legendary_culture = { has_cultural_pillar = $HERITAGE$ }
}
culture = { has_cultural_pillar = $HERITAGE$ }
}
}
}As written in game/common/scripted_triggers/00_cultural_triggers.txt.
Where it is used
Every place in common/, events/ and history/ that calls heritage_is_shown_trigger.
Culture (59)
- Ainuic
- Akan
- Albanian
- Arabic
- Austronesian
- Baltic
53 more
- Balto-Finnic
- Bantu
- Berber
- Brythonic
- Burman
- Buyeo
- Caucasian
- Central African
- Central Germanic
- Chinese
- Dravidian
- East African
- East Slavic
- Eastern Roman
- Egyptian
- Frankish
- Goidelic
- Gothic
- Guinean Uplander
- Hellenic
- Hmongic
- Horn African
- Hunnic
- Iberian
- Indo-Aryan
- Iranian
- Israelite
- Japonic
- Latin
- Magyar
- Mon-Khmer
- Mongolic
- Niger Delta
- Nivkh
- North Germanic
- Phoenician
- Qiangic
- Sahelian
- Samhanic
- Senegambian
- South Slavic
- Syriac
- Tai
- Tibetan
- Tocharian
- Tungusic
- Turkic
- Ugro-Permian
- Viet
- Vlach
- Volga-Finnic
- West Germanic
- West Slavic
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.