Scripted trigger · By God Alone files
saeculum_obscurum_clergy_marry_ai_value_trigger
saeculum_obscurum_clergy_marry_ai_value_trigger = yesgame/common/scripted_triggers/pam_scripted_triggers.txt, line 4020 (20 lines). No parameters.
saeculum_obscurum_clergy_marry_ai_value_trigger is a scripted trigger in Crusader Kings III, in the By God Alone files, written at line 4020 of its file. It takes no parameters: saeculum_obscurum_clergy_marry_ai_value_trigger = yes (or no). The game's script calls it in 3 places, among them saeculum_obscurum_clergy_would_marry_trigger (scripted trigger), saeculum_obscurum_would_marry_clergy_trigger (scripted trigger) and marriage_ai_accept_modifier (scripted modifier). Patch 1.20.1.2, from game/common/scripted_triggers/pam_scripted_triggers.txt.
What it checks
• 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 (20 lines of game script)
saeculum_obscurum_clergy_marry_ai_value_trigger = {
# Higher tiers need less honor and zeal, and more boldness
trigger_if = {
limit = { highest_held_title_tier > tier_duchy }
ai_honor < low_negative_ai_value
ai_zeal < low_negative_ai_value
ai_boldness > high_positive_ai_value
}
trigger_if = {
limit = { highest_held_title_tier = tier_duchy }
ai_honor < medium_positive_ai_value
ai_zeal < medium_positive_ai_value
ai_boldness > low_positive_ai_value
}
trigger_else = {
ai_honor < high_positive_ai_value
ai_zeal < high_positive_ai_value
ai_boldness > medium_negative_ai_value
}
}As written in game/common/scripted_triggers/pam_scripted_triggers.txt.
Where it is used
Every place in common/, events/ and history/ that calls saeculum_obscurum_clergy_marry_ai_value_trigger.
Scripted triggers (2)
Scripted modifiers (AI weights) (1)
- marriage_ai_accept_modifier
Source: game/common/scripted_triggers/pam_scripted_triggers.txt and every file of common/, events/ and history/ that calls it, Crusader Kings III 1.20.1.2.