Scripted effect
unknown_cannibal_murder_effect
unknown_cannibal_murder_effect = { MURDERER = … VICTIM = … }game/common/scripted_effects/00_murder_effects.txt, line 290 (24 lines). Parameters: $MURDERER$, $VICTIM$.
unknown_cannibal_murder_effect is a scripted effect in Crusader Kings III, written at line 290 of its file. A call passes 2 parameters: MURDERER and VICTIM. The game's script calls it in 9 places, among them An Offering of … Flesh (event tgp_japan_yearly_events.1160), bishop.1012 (event) and Late Night Snack (event trait_specific_ongoing.5005). Patch 1.20.1.2, from game/common/scripted_effects/00_murder_effects.txt.
The comment above it in the file
If it's a cannibal eating you - so that that fact is saved for future reference
What it does
Every line of it is script with no tooltip text: the script is below.
The script as written (24 lines of game script)
unknown_cannibal_murder_effect = {
$VICTIM$ = {
death = {
death_reason = death_mysterious
killer = $MURDERER$
}
}
$MURDERER$ = {
add_secret = {
type = secret_murder
target = $VICTIM$
}
random_secret = {
type = secret_murder
limit = {
secret_target = $VICTIM$
}
set_variable = { #To set the right death reason if the secret is revealed
name = was_eaten_by_cannibal
value = yes
}
}
}
}As written in game/common/scripted_effects/00_murder_effects.txt.
Where it is used
Every place in common/, events/ and history/ that calls unknown_cannibal_murder_effect.
Events (9)
- An Offering of … Flesh
tgp_japan_yearly_events.1160 - bishop.1012
- Late Night Snack
trait_specific_ongoing.5005 - Mental Break: Feeding Time
stress_threshold_prison.1012 - Mental Break: Hunger Pangs
stress_threshold_prison.1011 - Private Meating
trait_specific_ongoing.5002
3 more
- Suspicious Snickering
trait_specific.8501 - Temptations of the Flesh
trait_specific_ongoing.5003 - The Hunger
stress_trait_ongoing.4502
Source: game/common/scripted_effects/00_murder_effects.txt and every file of common/, events/ and history/ that calls it, Crusader Kings III 1.20.1.2.