Scripted effect
additional_flavor_check_death_effect
additional_flavor_check_death_effect = yesgame/common/scripted_effects/00_flavorization_effects.txt, line 113 (74 lines). No parameters.
additional_flavor_check_death_effect is a scripted effect in Crusader Kings III, written at line 113 of its file. It takes no parameters: additional_flavor_check_death_effect = yes. The game's script calls it in 1 place, among them on_death (on action). Patch 1.20.1.2, from game/common/scripted_effects/00_flavorization_effects.txt.
What it does
Every line of it is script with no tooltip text: the script is below.
The script as written (74 lines of game script)
additional_flavor_check_death_effect = {
if = {
limit = {
OR = {
has_character_flag = margrave_flag
vassal_contract_has_flag = has_march_contract
}
highest_held_title_tier = tier_duchy
}
primary_title ?= {
set_variable = {
name = margrave_flag
days = 1
}
}
}
else_if = {
limit = {
OR = {
has_character_flag = duchy_palatinate_flag
vassal_contract_has_flag = has_palatinate_contract
}
highest_held_title_tier = tier_duchy
}
primary_title ?= {
set_variable = {
name = duchy_palatinate_flag
days = 1
}
}
}
else_if = {
limit = {
OR = {
has_character_flag = county_palatinate_flag
vassal_contract_has_flag = has_palatinate_contract
}
highest_held_title_tier = tier_county
}
primary_title ?= {
set_variable = {
name = county_palatinate_flag
days = 1
}
}
}
else_if = {
limit = {
OR = {
has_character_flag = castellan_flag
vassal_contract_has_flag = has_castellan_contract
}
highest_held_title_tier = tier_county
}
primary_title ?= {
set_variable = {
name = castellan_flag
days = 1
}
}
}
else_if = {
limit = {
has_character_flag = ceremonial_liege_flag
highest_held_title_tier = tier_kingdom
}
primary_title ?= {
set_variable = {
name = ceremonial_liege_flag
days = 1
}
}
}
}As written in game/common/scripted_effects/00_flavorization_effects.txt.
Where it is used
Every place in common/, events/ and history/ that calls additional_flavor_check_death_effect.
On actions (the game's own hooks) (1)
- on_death
Source: game/common/scripted_effects/00_flavorization_effects.txt and every file of common/, events/ and history/ that calls it, Crusader Kings III 1.20.1.2.