Scripted trigger · All Under Heaven files
is_province_valid_confucian_education_trigger
is_province_valid_confucian_education_trigger = yesgame/common/scripted_triggers/10_tgp_dynastic_cycle_triggers.txt, line 192 (27 lines). No parameters.
is_province_valid_confucian_education_trigger is a scripted trigger in Crusader Kings III, in the All Under Heaven files, written at line 192 of its file. It takes no parameters: is_province_valid_confucian_education_trigger = yes (or no). The game's script calls it in 7 places, among them University Visit (activity), … Speaks (event coronation_events.1037) and A Scholar's Recitation (event az_tour.0001). Patch 1.20.1.2, from game/common/scripted_triggers/10_tgp_dynastic_cycle_triggers.txt.
What it checks
One of these
- Their county’s holder:
- Their faith: Their religion is Confucianism
- Their culture: The Culture has the Chinese Cultural Pillar
or
Is in the China regionor
Their faith: Their religion is Confucianismor
Their culture: The Culture has the Chinese Cultural Pillaror
Their county › Any county situation sub region:this = situation:dynastic_cycle.situation_sub_region:core
- Their county’s holder:
• 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 (27 lines of game script)
is_province_valid_confucian_education_trigger = {
OR = {
#holder has confucian religion or culture
county.holder = {
faith = {
religion = religion:confucianism_religion
}
culture = {
has_cultural_pillar = heritage_chinese
}
}
#location is in China or has confucian religion or culture
geographical_region = world_asia_china
faith = {
religion = religion:confucianism_religion
}
culture = {
has_cultural_pillar = heritage_chinese
}
#location is part of the Dynastic Cycle region
county = {
any_county_situation_sub_region = {
this = situation:dynastic_cycle.situation_sub_region:core
}
}
}
}As written in game/common/scripted_triggers/10_tgp_dynastic_cycle_triggers.txt.
Where it is used
Every place in common/, events/ and history/ that calls is_province_valid_confucian_education_trigger.
Activities (1)
Events (3)
- … Speaks
coronation_events.1037 - A Scholar's Recitation
az_tour.0001 - Flattery in Bloom
az_tour.0007
Source: game/common/scripted_triggers/10_tgp_dynastic_cycle_triggers.txt and every file of common/, events/ and history/ that calls it, Crusader Kings III 1.20.1.2.