Scripted effect
additional_flavor_check_effect
additional_flavor_check_effect = yesgame/common/scripted_effects/00_flavorization_effects.txt, line 1 (111 lines). No parameters.
additional_flavor_check_effect is a scripted effect in Crusader Kings III, written at line 1 of its file. It takes no parameters: additional_flavor_check_effect = yes. The game's script calls it in 17 places, among them ai_only_liege_modify_vassal_contract_admin_province_interaction (interaction), ai_only_liege_modify_vassal_contract_interaction (interaction) and ai_only_vassal_modify_vassal_contract_interaction (interaction). 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 (111 lines of game script)
additional_flavor_check_effect = {
if = {
limit = {
is_alive = yes
}
if = { # March / Margrave
limit = {
OR = {
AND = {
vassal_contract_has_flag = has_march_contract
highest_held_title_tier = tier_duchy
}
primary_title ?= {
has_variable = margrave_flag
}
}
}
add_character_flag = margrave_flag
}
else_if = {
limit = {
has_character_flag = margrave_flag
}
remove_character_flag = margrave_flag
}
if = {
limit = {
primary_title ?= title:e_hindustan
}
add_character_flag = e_hindustan
}
else_if = {
limit = {
has_character_flag = e_hindustan
}
remove_character_flag = e_hindustan
}
if = { # Palatinate (Duchy Tier)
limit = {
OR = {
AND = {
vassal_contract_has_flag = has_palatinate_contract
highest_held_title_tier = tier_duchy
}
primary_title ?= {
has_variable = duchy_palatinate_flag
}
}
}
add_character_flag = duchy_palatinate_flag
}
else_if = {
limit = {
has_character_flag = duchy_palatinate_flag
}
remove_character_flag = duchy_palatinate_flag
}
if = { # Palatinate (County Tier)
limit = {
OR = {
AND = {
vassal_contract_has_flag = has_palatinate_contract
highest_held_title_tier = tier_county
}
primary_title ?= {
has_variable = county_palatinate_flag
}
}
}
add_character_flag = county_palatinate_flag
}
else_if = {
limit = {
has_character_flag = county_palatinate_flag
}
remove_character_flag = county_palatinate_flag
}
if = { # Castellan / Burgrave
limit = {
OR = {
AND = {
vassal_contract_has_flag = has_castellan_contract
highest_held_title_tier = tier_county
}
primary_title ?= {
has_variable = castellan_flag
}
}
}
add_character_flag = castellan_flag
}
else_if = {
limit = {
has_character_flag = castellan_flag
}
remove_character_flag = castellan_flag
}
if = { # Tenno
limit = {
primary_title ?= { has_variable = ceremonial_liege_flag }
}
add_character_flag = ceremonial_liege_flag
}
else_if = {
limit = {
has_character_flag = ceremonial_liege_flag
}
remove_character_flag = ceremonial_liege_flag
}
}
}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_effect.
Character interactions (10)
- ai_only_liege_modify_vassal_contract_admin_province_interaction
- ai_only_liege_modify_vassal_contract_interaction
- ai_only_vassal_modify_vassal_contract_interaction
- Impose Contract Change
- Modify … Administration
- Modify Vassal Contract
4 more
- Modify Vassal Contract
- Modify Vassal Contract
- Request Contract Change
- Change Coronation Law
On actions (the game's own hooks) (6)
- on_rank_down
- on_rank_up
- on_title_gain
- on_title_lost
- on_vassal_change
- on_vassal_gained
Scripted effects (1)
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.