Scripted effect
epilepsy_brain_trauma_risk_effect
epilepsy_brain_trauma_risk_effect = { CHANCE = … }game/common/scripted_effects/20_health_effects.txt, line 1080 (12 lines). Parameters: $CHANCE$.
epilepsy_brain_trauma_risk_effect is a scripted effect in Crusader Kings III, written at line 1080 of its file. A call passes 1 parameter: CHANCE. The game's script calls it in 3 places, among them Unwelcome Attention (event childhood.0005), increase_wounds_no_death_effect (scripted effect) and maimed_in_battle_effect (scripted effect). Patch 1.20.1.2, from game/common/scripted_effects/20_health_effects.txt.
What it does
Every line of it is script with no tooltip text: the script is below.
The script as written (12 lines of game script)
epilepsy_brain_trauma_risk_effect = {
hidden_effect = {
random = {
chance = $CHANCE$
debug_log = "Epilepsy: brain trauma"
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_brain_trauma_risk_effect.
Events (1)
- Unwelcome Attention
childhood.0005
Scripted effects (2)
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.