Scripted trigger
pious_ai_builder_trigger
pious_ai_builder_trigger = yesgame/common/scripted_triggers/00_ai_value_triggers.txt, line 234 (25 lines). No parameters.
pious_ai_builder_trigger is a scripted trigger in Crusader Kings III, written at line 234 of its file. It takes no parameters: pious_ai_builder_trigger = yes (or no). The game's script calls it in 1 place, among them ai_has_pious_builder_personality (scripted trigger). Patch 1.20.1.2, from game/common/scripted_triggers/00_ai_value_triggers.txt.
What it checks
- Ai zeal more than 0
- Ai energy more than 0
One of these
has_focus = learning_theology_focusor
Has the Trait: Zealousor
Has the Trait: Forgivingor
Has the Trait: Improvidentor
Has the Trait: Humbleor
Has the Trait: Patientor
Has the Trait: Diligentor
Has the Trait: Generousor
Has the Modifier: Temple Builderor
Government uses the Mandala Capital Temple Complex Great Project and Great Building
- Num virtuous traits at least 1
num_sinful_traits = 0
• 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 (25 lines of game script)
pious_ai_builder_trigger = {
ai_zeal > 0
ai_energy > 0
OR = {
has_focus = learning_theology_focus # Only this focus, which is 33% of all learning focused characters in the world
has_trait = zealous
has_trait = forgiving
has_trait = improvident
has_trait = humble
has_trait = patient
has_trait = diligent
has_trait = generous
has_character_modifier = the_temple_builder_modifier
government_has_flag = government_is_mandala
}
num_virtuous_traits >= 1
num_sinful_traits = 0
NAND = {
has_trait = cynical
has_trait = greedy
house = {
has_house_modifier = unity_house_organized_for_war_modifier
}
}
}As written in game/common/scripted_triggers/00_ai_value_triggers.txt.
Where it is used
Every place in common/, events/ and history/ that calls pious_ai_builder_trigger.
Scripted triggers (1)
Source: game/common/scripted_triggers/00_ai_value_triggers.txt and every file of common/, events/ and history/ that calls it, Crusader Kings III 1.20.1.2.