CK3 DatabaseCrusader Kings III · 1.20.1.2 “Crozier” · unofficial
Silk & Silverout Tue, Nov 17What's free, what needs the DLC, price →

Scripted trigger · By God Alone files

saeculum_obscurum_clergy_marry_ai_value_trigger

saeculum_obscurum_clergy_marry_ai_value_trigger = yes

game/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

  • If highest held Title is more than Duchy Rank:
    • Ai honor less than -20
    • Ai zeal less than -20
    • Ai boldness more than 50
  • If highest held Title is exactly Duchy Rank:
    • Ai honor less than 35
    • Ai zeal less than 35
    • Ai boldness more than 20
  • Otherwise:
    • Ai honor less than 50
    • Ai zeal less than 50
    • Ai boldness more than -35

• 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 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.

Spotted a mistake on this page?