Scripted trigger · By God Alone files
valid_holy_war_incited_attacker_trigger
valid_holy_war_incited_attacker_trigger = { RECIPIENT = … }game/common/scripted_triggers/pam_scripted_triggers.txt, line 4087 (62 lines). Parameters: $RECIPIENT$.
valid_holy_war_incited_attacker_trigger is a scripted trigger in Crusader Kings III, in the By God Alone files, written at line 4087 of its file. A call passes 1 parameter: RECIPIENT. 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). Patch 1.20.1.2, from game/common/scripted_triggers/pam_scripted_triggers.txt.
What it checks
- Highest held Title is at least County Rank
- Is at not War
- Is landed
- Gold more than 0
- Is available (not imprisoned, not incapable)
current_military_strength >= $RECIPIENT$.one_tenth_current_military_strength- Their government is not Adventurer
- Their government is not Nomadic
- Their government is not Celestial
- Their government is not a Theocratic-type Government
NOT = { is_allied_to = $RECIPIENT$ }NOT = { has_truce = $RECIPIENT$ }NOT = { is_tributary_of = $RECIPIENT$.top_liege }NOT = { is_tributary_of = $RECIPIENT$ }NOT = { top_liege = $RECIPIENT$.top_liege }NOT = { liege = $RECIPIENT$ }NOT = { puppet:theological_agent_puppet ?= scope:puppet_or_actor }NOT = { puppet:external_theological_agent_puppet ?= scope:puppet_or_actor }None of these
- Any liege or above:
is_at_war_with = $RECIPIENT$
- Any liege or above:
- Any character to title neighboring and across water county:
One of these
holder = $RECIPIENT$or
holder.top_liege = $RECIPIENT$
tgp_japan_offensive_wars_ban_trigger = yes$RECIPIENT$ = { save_temporary_scope_as = defender }If
- scope:attacker › Any character struggle:
involvement = involvedis_struggle_type = iberian_struggle
- scope:defender › Any character struggle:
involvement = involvedis_struggle_type = iberian_struggle
Then
- scope:attacker › Any character struggle:
• 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 (62 lines of game script)
valid_holy_war_incited_attacker_trigger = {
highest_held_title_tier >= tier_county
is_at_war = no
is_landed = yes
gold > 0
is_available_quick = {
alive = yes
imprisoned = no
incapable = no
}
current_military_strength >= $RECIPIENT$.one_tenth_current_military_strength
NOR = {
government_has_flag = government_is_landless_adventurer
government_has_flag = government_is_nomadic
government_has_flag = government_is_celestial
government_has_flag = government_is_theocracy
this = scope:puppet_or_actor
this = $RECIPIENT$
is_allied_to = $RECIPIENT$
has_truce = $RECIPIENT$
is_tributary_of = $RECIPIENT$.top_liege
is_tributary_of = $RECIPIENT$
top_liege = $RECIPIENT$.top_liege
liege = $RECIPIENT$
puppet:theological_agent_puppet ?= scope:puppet_or_actor
puppet:external_theological_agent_puppet ?= scope:puppet_or_actor
}
NOT = {
any_liege_or_above = {
is_at_war_with = $RECIPIENT$
}
}
any_character_to_title_neighboring_and_across_water_county = {
OR = {
holder = $RECIPIENT$
holder.top_liege = $RECIPIENT$
}
}
tgp_japan_offensive_wars_ban_trigger = yes
$RECIPIENT$ = {
save_temporary_scope_as = defender
}
save_temporary_scope_as = attacker
trigger_if = {
limit = {
scope:attacker = {
any_character_struggle = {
involvement = involved
is_struggle_type = iberian_struggle
}
}
scope:defender = {
any_character_struggle = {
involvement = involved
is_struggle_type = iberian_struggle
}
}
}
are_holy_wars_disabled_in_struggle_phase_trigger = yes
}
}As written in game/common/scripted_triggers/pam_scripted_triggers.txt.
Where it is used
Every place in common/, events/ and history/ that calls valid_holy_war_incited_attacker_trigger.
Character interactions (1)
Scripted effects (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.