Interaction · Uncategorized actions
Propose Target
By spending enough Piety, a ruler can convince the leader of the … to target a different Kingdom during the preparation phase.
What you need
You
To send it
piety >= faith.great_holy_war.var:redirect_costroot.faith.great_holy_war = { days_until_ghw_launch >= 100 }scope:target.tier = tier_kingdomscope:target != scope:actor.faith.great_holy_war.ghw_target_title
To see it in the menu
- Your rite:
rite_hostility_level = { target = scope:secondary_recipient.rite value >= religious_cb_enabled_hostility_level }
scope:target != scope:actor.faith.great_holy_war.ghw_target_title
The other character
- Is an Independent Ruler
Which title you can pick
scope:target.tier = tier_kingdomscope:target != scope:actor.faith.great_holy_war.ghw_target_title
Propose Target is an uncategorized character interaction in Crusader Kings III. Accepted automatically. It costs Piety (varies). Patch 1.20.1.2, from game/common/character_interactions/00_religious_interactions.txt.
Quick answers (2)
- Will the AI accept Propose Target?
- Yes: it is accepted automatically.
- How much does Propose Target cost?
- Piety (varies) (patch 1.20.1.2).
Will they accept?
The other character has no choice: the game accepts it automatically.
What happens
Effects
root.faith.great_holy_war = { … }faith.great_holy_war = { … }
Events it fires: great_holy_war.0021, great_holy_war.0091
• the game's own tooltip text · ◦ our reading of the script line · code the script where neither exists
Who can use it and sees it (is_available, is_shown) (13 lines of game script)
is_shown = exists = scope:actor.faith.great_holy_war
scope:actor.rite ?= {
is_hostile_enough_for_holy_war_trigger = {
RITE = scope:secondary_recipient.rite
}
}
scope:secondary_recipient ?= {
top_liege = this
}
NOT = {
exists = scope:actor.faith.great_holy_war.ghw_war
}
scope:target != scope:actor.faith.great_holy_war.ghw_target_titleAs written in game/common/character_interactions/00_religious_interactions.txt.
Can be sent when (is_valid…) (6 lines of game script)
scope:actor = {
piety >= faith.great_holy_war.var:redirect_cost
}
scope:actor.faith.great_holy_war = {
days_until_ghw_launch >= 100
}As written in game/common/character_interactions/00_religious_interactions.txt.
Effects (on_send, on_accept, on_decline) (126 lines of game script)
on_accept = scope:actor.faith.great_holy_war = {
every_pledged_attacker = {
limit = {
is_ai = no
}
send_interface_toast = {
type = event_toast_effect_good
title = hof_redirected_ghw.0001.desc
left_icon = scope:actor
right_icon = scope:secondary_recipient
}
}
every_pledged_defender = {
limit = {
is_ai = no
}
add_to_temporary_list = former_defenders
}
}
scope:actor = {
faith.great_holy_war = {
save_scope_as = the_ghw
set_great_holy_war_target = {
target_character = scope:secondary_recipient
target_title = scope:target
}
every_in_list = {
list = former_defenders
limit = {
is_ai = no
NOT = {
scope:actor.faith.great_holy_war = {
has_pledged_defender = prev
}
}
}
trigger_event = great_holy_war.0081
}
every_pledged_defender = {
limit = {
is_ai = no
}
trigger_event = {
id = great_holy_war.0082
}
}
change_variable = {
name = redirect_cost
multiply = 2
}
set_variable = {
name = last_redirector
value = scope:actor
}
}
hidden_effect = {
scope:actor.faith = {
save_scope_as = the_faith
}
scope:target = {
save_scope_as = target_kingdom
}
scope:secondary_recipient = {
save_scope_as = target_character
faith = {
save_scope_as = target_faith
}
}
every_ruler = {
limit = {
faith = scope:target_character.faith
is_ai = yes
is_playable_character = yes
highest_held_title_tier >= tier_county
NOT = {
scope:actor.faith.great_holy_war = {
has_pledged_defender = prev
}
}
}
trigger_event = {
id = great_holy_war.0021
days = { 25 150 }
}
}
scope:target_character = {
faith = {
every_faith_holy_order = {
trigger_event = {
id = great_holy_war.0091
days = { 25 60 }
}
}
}
}
scope:actor.faith.great_holy_war = {
faith = {
save_scope_as = the_faith
}
ghw_target_title = {
save_scope_as = target_kingdom
}
if = {
limit = {
OR = {
NOT = {
exists = scope:the_faith.great_holy_war.ghw_war_declarer
}
NOT = {
scope:the_faith.great_holy_war.ghw_war_declarer = {
is_alive = yes
}
}
}
}
scope:the_faith = {
ghw_set_new_war_declarer_effect = yes
}
}
scope:the_faith.great_holy_war.ghw_war_declarer = {
save_scope_as = ghw_sponsor
}
undirected_ghw_recipient_selection_effect = yes
}
}
}As written in game/common/character_interactions/00_religious_interactions.txt.
- Category
- Uncategorized actions
- Cost: Piety
- varies
- In the menu
- no (opened from elsewhere)
- ID
hof_redirect_great_holy_war_interaction
Source: game/common/character_interactions/00_religious_interactions.txt and the English localisation, Crusader Kings III 1.20.1.2. “You” is the character who sends it (scope:actor, or a puppet acting for you); “the character you target” is the recipient. “…” marks words the game fills in at play time (a name, a title).