Scripted trigger · By God Alone files
incite_claim_war_title_can_be_picked_trigger
incite_claim_war_title_can_be_picked_trigger = { RECIPIENT = … SECONDARY = … }game/common/scripted_triggers/pam_scripted_triggers.txt, line 4801 (71 lines). Parameters: $RECIPIENT$, $SECONDARY$.
incite_claim_war_title_can_be_picked_trigger is a scripted trigger in Crusader Kings III, in the By God Alone files, written at line 4801 of its file. A call passes 2 parameters: RECIPIENT and SECONDARY. The game's script calls it in 1 place, among them Incite Claim War (interaction). Its body carries 5 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- Their holder:
target_is_same_character_or_above = $RECIPIENT$
- 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
• 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 (71 lines of game script)
incite_claim_war_title_can_be_picked_trigger = {
tier <= tier_kingdom
tier >= tier_county
is_landless_type_title = no
holder ?= {
target_is_same_character_or_above = $RECIPIENT$
}
trigger_if = {
limit = {
exists = $SECONDARY$
}
custom_tooltip = {
text = sponsored_claim_war_attacker_must_have_claim_tt
$SECONDARY$ = { has_claim_on = scope:target }
}
}
trigger_else = {
custom_tooltip = {
text = sponsored_claim_war_someone_must_have_claim_tt
any_claimant = {
valid_claim_war_incited_attacker_trigger = { RECIPIENT = $RECIPIENT$ }
}
}
}
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_claim_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.