Scripted effect
silent_disappear_ai_if_not_hired_with_flag
silent_disappear_ai_if_not_hired_with_flag = yesgame/common/scripted_effects/00_death_management_effects.txt, line 98 (25 lines). No parameters.
silent_disappear_ai_if_not_hired_with_flag is a scripted effect in Crusader Kings III, written at line 98 of its file. It takes no parameters: silent_disappear_ai_if_not_hired_with_flag = yes. The game's script calls it in 3 places, among them Alone in the Kitchen (event child_personality.7031), Mandala Ritual: Guru's Peace (event tgp_east_asia_mandala_task_contract_events.3500) and Mandala Ritual: Laughing Ascetic (event tgp_east_asia_mandala_task_contract_events.4100). Patch 1.20.1.2, from game/common/scripted_effects/00_death_management_effects.txt.
What it does
Every line of it is script with no tooltip text: the script is below.
The script as written (25 lines of game script)
silent_disappear_ai_if_not_hired_with_flag = {
hidden_effect = {
if = {
limit = {
is_alive = yes
is_ruler = no
employer != root
has_character_flag = created
}
if = {
limit = {
root = { is_ai = yes }
}
death = {
death_reason = death_disappearance
}
}
else = {
move_to_pool = yes
remove_character_flag = created
}
}
}
}As written in game/common/scripted_effects/00_death_management_effects.txt.
Where it is used
Every place in common/, events/ and history/ that calls silent_disappear_ai_if_not_hired_with_flag.
Events (3)
- Alone in the Kitchen
child_personality.7031 - Mandala Ritual: Guru's Peace
tgp_east_asia_mandala_task_contract_events.3500 - Mandala Ritual: Laughing Ascetic
tgp_east_asia_mandala_task_contract_events.4100
Source: game/common/scripted_effects/00_death_management_effects.txt and every file of common/, events/ and history/ that calls it, Crusader Kings III 1.20.1.2.