Scripted trigger · By God Alone files
claim_war_incited_attacker_can_be_picked_trigger
claim_war_incited_attacker_can_be_picked_trigger = { RECIPIENT = … }game/common/scripted_triggers/pam_scripted_triggers.txt, line 4721 (80 lines). Parameters: $RECIPIENT$.
claim_war_incited_attacker_can_be_picked_trigger is a scripted trigger in Crusader Kings III, in the By God Alone files, written at line 4721 of its file. A call passes 1 parameter: RECIPIENT. The game's script calls it in 1 place, among them Incite Claim War (interaction). Its body carries 10 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
- Must follow the same Faith as …
- Must be a landed Ruler of at least County rank
- Must not be at War
- Must not be in Debt
- Is available (not imprisoned, not incapable)
- Must have at least a tenth of … military strength
- Must not be Nomadic, Celestial, Theocratic, Ecclesiastical, or a landless adventurer
- Must not be Allied to, have a Truce with, be a Tributary or Vassal of, or share a Realm with …
- Must not have a Liege at War with …
- Must have a Claim on a Title held by … or … Vassals
tgp_japan_offensive_wars_ban_trigger = yes
• 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 (80 lines of game script)
claim_war_incited_attacker_can_be_picked_trigger = {
custom_description = {
text = incite_claim_war_attacker_must_share_faith_tt
faith = scope:puppet_or_actor.faith
}
custom_description = {
text = incite_claim_war_attacker_must_be_landed_count_tt
is_landed = yes
highest_held_title_tier >= tier_county
}
custom_description = {
text = incite_claim_war_attacker_must_not_be_at_war_tt
is_at_war = no
}
custom_description = {
text = incite_claim_war_attacker_must_not_be_in_debt_tt
gold > 0
}
is_available_quick = {
alive = yes
imprisoned = no
incapable = no
}
custom_description = {
text = incite_claim_war_attacker_must_be_strong_enough_tt
current_military_strength >= $RECIPIENT$.one_tenth_current_military_strength
}
custom_description = {
text = incite_claim_war_attacker_must_be_secular_tt
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
government_has_flag = government_is_ecclesiastical
}
}
custom_description = {
text = incite_claim_war_attacker_must_not_be_blocked_diplomacy_tt
NOR = {
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
}
}
custom_description = {
text = incite_claim_war_attacker_liege_not_at_war_tt
NOT = {
any_liege_or_above = {
is_at_war_with = $RECIPIENT$
}
}
}
custom_description = {
text = incite_claim_war_attacker_must_have_claim_on_recipient_tt
any_claim = {
tier >= tier_county
tier <= tier_kingdom
is_landless_type_title = no
holder ?= {
target_is_same_character_or_above = $RECIPIENT$
}
}
}
trigger_if = {
limit = { exists = scope:target }
custom_description = {
text = incite_claim_war_attacker_must_have_claim_on_target_tt
has_claim_on = scope:target
}
}
tgp_japan_offensive_wars_ban_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 claim_war_incited_attacker_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.