Scripted effect · All Under Heaven files
tgp_step_down_title_recipient_tooltip_effect
tgp_step_down_title_recipient_tooltip_effect = yesgame/common/scripted_effects/10_dlc_tgp_scripted_effects.txt, line 5003 (32 lines). No parameters.
tgp_step_down_title_recipient_tooltip_effect is a scripted effect in Crusader Kings III, in the All Under Heaven files, written at line 5003 of its file. It takes no parameters: tgp_step_down_title_recipient_tooltip_effect = yes. The game's script calls it in 4 places, among them Retire from Heading the … House (decision), Withdraw from Governorship (decision) and A Step Back (event ep3_decisions_event.4090). Patch 1.20.1.2, from game/common/scripted_effects/10_dlc_tgp_scripted_effects.txt.
What it does
- Every held title:
• 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 (32 lines of game script)
tgp_step_down_title_recipient_tooltip_effect = {
if = {
limit = { is_independent_ruler = no }
top_liege = { save_temporary_scope_as = fallback_temp }
}
else = {
primary_title.current_heir = { save_temporary_scope_as = fallback_temp }
}
show_as_tooltip = {
create_title_and_vassal_change = {
type = appointment
save_scope_as = change
}
every_held_title = {
limit = {
is_landless_type_title = no
tier > tier_barony
}
save_temporary_scope_as = lost_title_temp
current_heir ?= { save_temporary_scope_as = heir_temp }
if = {
limit = { NOT = { exists = scope:heir_temp } }
scope:fallback_temp = { save_temporary_scope_as = heir_temp }
}
change_title_holder = {
holder = scope:heir_temp
change = scope:change
}
}
resolve_title_and_vassal_change = scope:change
}
}As written in game/common/scripted_effects/10_dlc_tgp_scripted_effects.txt.
Where it is used
Every place in common/, events/ and history/ that calls tgp_step_down_title_recipient_tooltip_effect.
Events (1)
- A Step Back
ep3_decisions_event.4090
Scripted effects (1)
Source: game/common/scripted_effects/10_dlc_tgp_scripted_effects.txt and every file of common/, events/ and history/ that calls it, Crusader Kings III 1.20.1.2.