Scripted effect
frankokratia_remove__war_leader_var_effect
frankokratia_remove__war_leader_var_effect = yesgame/common/scripted_effects/07_frankokratia_scripted_effects.txt, line 6948 (58 lines). No parameters.
frankokratia_remove__war_leader_var_effect is a scripted effect in Crusader Kings III, written at line 6948 of its file. It takes no parameters: frankokratia_remove__war_leader_var_effect = yes. The game's script calls it in 2 places, among them Change War Alignment (interaction) and Leave War (interaction). Patch 1.20.1.2, from game/common/scripted_effects/07_frankokratia_scripted_effects.txt.
What it does
Every line of it is script with no tooltip text: the script is below.
The script as written (58 lines of game script)
frankokratia_remove__war_leader_var_effect = {
if = {
limit = {
any_character_war = {
using_cb = crusading_claim_cb
any_war_participant = {
this = scope:recipient
}
any_war_attacker = {
any_owned_story = {
type = frankokratia_story
any_in_list = {
variable = frankokratia_leaders
this = scope:actor
}
}
}
}
}
random_character_war = {
limit = {
any_war_participant = {
any_owned_story = {
type = frankokratia_story
any_in_list = {
variable = frankokratia_leaders
this = scope:actor
}
}
}
}
random_war_participant = {
limit = {
any_owned_story = {
type = frankokratia_story
any_in_list = {
variable = frankokratia_leaders
this = scope:actor
}
}
}
random_owned_story = {
type = frankokratia_story
limit = {
any_in_list = {
variable = frankokratia_leaders
this = scope:actor
}
}
remove_list_variable = {
name = frankokratia_leaders
target = scope:actor
}
}
}
}
}
}As written in game/common/scripted_effects/07_frankokratia_scripted_effects.txt.
Where it is used
Every place in common/, events/ and history/ that calls frankokratia_remove__war_leader_var_effect.
Character interactions (2)
Source: game/common/scripted_effects/07_frankokratia_scripted_effects.txt and every file of common/, events/ and history/ that calls it, Crusader Kings III 1.20.1.2.