Scripted trigger
body_is_available
body_is_available = yesgame/common/scripted_triggers/00_funeral_and_body_disposal_triggers.txt, line 5 (7 lines). No parameters.
body_is_available is a scripted trigger in Crusader Kings III, written at line 5 of its file. It takes no parameters: body_is_available = yes (or no). The game's script calls it in 3 places, among them funeral_is_body_available_gui (gui), funeral_add_funeral_targets_to_list (scripted effect) and has_available_funeral_target (scripted trigger). Patch 1.20.1.2, from game/common/scripted_triggers/00_funeral_and_body_disposal_triggers.txt.
What it checks
Every line of it is script with no tooltip text: the script is below.
The script as written (7 lines of game script)
body_is_available = {
is_alive = no
time_since_death = {
years <= 5 # Usually it takes a body less time than this to decompose, but we can plausibly say the body is being preserved in some way
}
NOT = { has_dead_character_variable = body_has_been_disposed }
}As written in game/common/scripted_triggers/00_funeral_and_body_disposal_triggers.txt.
Where it is used
Every place in common/, events/ and history/ that calls body_is_available.
Buttons of the game's windows (scripted GUIs) (1)
- funeral_is_body_available_gui
Scripted effects (1)
Scripted triggers (1)
Source: game/common/scripted_triggers/00_funeral_and_body_disposal_triggers.txt and every file of common/, events/ and history/ that calls it, Crusader Kings III 1.20.1.2.