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

incite_holy_war_title_can_be_picked_trigger

incite_holy_war_title_can_be_picked_trigger = { RECIPIENT = … SECONDARY = … }

game/common/scripted_triggers/pam_scripted_triggers.txt, line 4601 (74 lines). Parameters: $RECIPIENT$, $SECONDARY$.

incite_holy_war_title_can_be_picked_trigger is a scripted trigger in Crusader Kings III, in the By God Alone files, written at line 4601 of its file. A call passes 2 parameters: RECIPIENT and SECONDARY. The game's script calls it in 2 places, among them Incite Holy War (interaction) and pam_christian_situation_hof_incite_holy_war_effect (scripted effect). Its body carries 3 texts of the game's own for the player. Patch 1.20.1.2, from game/common/scripted_triggers/pam_scripted_triggers.txt.

What it checks

  • Title tier at most Kingdom
  • Title tier at least County
  • is_landless_type_title = no
  • Any in de jure hierarchy:
    • Title tier exactly County
    • Their holder:
      • target_is_same_character_or_above = $RECIPIENT$
  • If

    a check the game hides

    Then

    • Any in de jure hierarchy:
      • Title tier exactly County
      • Their holder:
        • target_is_same_character_or_above = $RECIPIENT$
      • One of these

        • holder.top_liege = $SECONDARY$.top_liege
        • or

          Any title to title neighboring and across water county:
          • holder.top_liege = $SECONDARY$.top_liege
  • If title tier at least Kingdom: Your Level of Devotion must be paragon of virtue or higher to target Kingdoms
  • If title tier at least Duchy: Your Level of Devotion must be devoted servant or higher to target Duchies
  • If

    • scope:puppet_or_actor:
      • is_at_war_with = $RECIPIENT$

    Then

• 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 (74 lines of game script)
incite_holy_war_title_can_be_picked_trigger = {
	tier <= tier_kingdom
	tier >= tier_county
	is_landless_type_title = no
	any_in_de_jure_hierarchy = {
		tier = tier_county
		holder ?= {
			target_is_same_character_or_above = $RECIPIENT$
		}
	}
	trigger_if = {
		limit = {
			exists = $SECONDARY$
		}
		any_in_de_jure_hierarchy = {
			tier = tier_county
			holder ?= {
				target_is_same_character_or_above = $RECIPIENT$
			}
			OR = {
				holder.top_liege = $SECONDARY$.top_liege
				any_title_to_title_neighboring_and_across_water_county = {
					holder.top_liege = $SECONDARY$.top_liege
				}
			}
		}
	}
	trigger_if = {
		limit = {
			tier >= tier_kingdom
		}
		custom_tooltip = {
			text = piety_too_low_target_kingdom_tt
			scope:puppet_or_actor = { piety_level >= 4 }
		}
	}
	trigger_if = {
		limit = {
			tier >= tier_duchy
		}
		custom_tooltip = {
			text = piety_too_low_target_duchy_tt
			scope:puppet_or_actor = { piety_level >= 3 }
		}
	}
	trigger_if = {
		limit = {
			scope:puppet_or_actor = {
				is_at_war_with = $RECIPIENT$
			}
		}
		custom_tooltip = {
			text = not_at_war_for_target_title_or_above_tt
			scope:puppet_or_actor = {
				NOT = {
					any_character_war = {
						casus_belli = {
							any_target_title = {
								OR = {
									any_this_title_or_de_jure_above = {
										this = scope:target
									}
									any_in_de_jure_hierarchy = {
										this = scope:target
									}
								}
							}
						}
					}
				}
			}
		}
	}
}

As written in game/common/scripted_triggers/pam_scripted_triggers.txt.

Where it is used

Every place in common/, events/ and history/ that calls incite_holy_war_title_can_be_picked_trigger.

Character interactions (1)

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?