Scripted effect
expansion_inform_higher_titles_result
expansion_inform_higher_titles_result = yesgame/common/scripted_effects/00_war_effects.txt, line 858 (43 lines). No parameters.
expansion_inform_higher_titles_result is a scripted effect in Crusader Kings III, written at line 858 of its file. It takes no parameters: expansion_inform_higher_titles_result = yes. The game's script calls it in 1 place, among them expansion_cb_title_transfer (scripted effect). Its body carries 4 texts of the game's own for the player. Patch 1.21.0, from game/common/scripted_effects/00_war_effects.txt.
The comment above it in the file
duchy+ title result
What it does
- If title already created:
If
- Their holder:
target_is_same_character_or_above = scope:defender
Then
Else if
holder != scope:attacker
Then
- …, the current holder, will retain the … after the war.
- Their holder:
- Else, if all of these hold:
- Conditions › De jure county (at least 50%) › Their holder:
One of these
target_is_same_character_or_above = scope:attackeror
target_is_same_character_or_above = scope:defender
- Then: The … will be created and granted to you
- Conditions › De jure county (at least 50%) › Their holder:
• 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 (43 lines of game script)
expansion_inform_higher_titles_result = {
save_scope_as = de_jure_target
if = {
limit = { is_title_created = yes }
if = {
limit = {
holder ?= { target_is_same_character_or_above = scope:defender }
}
if = {
limit = {
holder = {
any_held_title = {
title_tier = county
NOT = { target_is_de_jure_liege_or_above = scope:de_jure_target }
}
}
}
custom_tooltip = conquest_title_not_transferred_tt
}
else = {
custom_tooltip = expansion_take_target_title_tt
}
}
else_if = {
limit = { holder != scope:attacker }
custom_tooltip = conquest_title_usurp_tt
}
}
else_if = {
limit = {
any_de_jure_county = {
percent > 0.5
holder ?= {
OR = {
target_is_same_character_or_above = scope:attacker
target_is_same_character_or_above = scope:defender
}
}
}
}
custom_tooltip = expansion_create_target_title_tt
}
}As written in game/common/scripted_effects/00_war_effects.txt.
Where it is used
Every place in common/, events/ and history/ that calls expansion_inform_higher_titles_result.
Scripted effects (1)
Source: game/common/scripted_effects/00_war_effects.txt and every file of common/, events/ and history/ that calls it, Crusader Kings III 1.21.0.