Scripted effect
epilepsy_fever_risk_effect
epilepsy_fever_risk_effect = { CHANCE = … }game/common/scripted_effects/20_health_effects.txt, line 1060 (19 lines). Parameters: $CHANCE$.
epilepsy_fever_risk_effect is a scripted effect in Crusader Kings III, written at line 1060 of its file. A call passes 1 parameter: CHANCE. The game's script calls it in 1 place, among them contract_disease_effect (scripted effect). Patch 1.20.1.2, from game/common/scripted_effects/20_health_effects.txt.
The comment above it in the file
SIDE EFFECTS ###
What it does
Every line of it is script with no tooltip text: the script is below.
The script as written (19 lines of game script)
epilepsy_fever_risk_effect = {
hidden_effect = {
if = {
limit = { age <= 12 }
random = {
chance = $CHANCE$
modifier = {
age >= 9
factor = 0.7
}
debug_log = "Epilepsy: fever"
trigger_event = {
id = trait_specific.2001 #Gain "possessed"
days = { 30 300 }
}
}
}
}
}As written in game/common/scripted_effects/20_health_effects.txt.
Where it is used
Every place in common/, events/ and history/ that calls epilepsy_fever_risk_effect.
Scripted effects (1)
Source: game/common/scripted_effects/20_health_effects.txt and every file of common/, events/ and history/ that calls it, Crusader Kings III 1.20.1.2.