Scripted effect · Roads to Power files
ep3_ai_castration_effect
ep3_ai_castration_effect = yesgame/common/scripted_effects/07_dlc_ep3_scripted_effects.txt, line 7510 (56 lines). No parameters.
ep3_ai_castration_effect is a scripted effect in Crusader Kings III, in the Roads to Power files, written at line 7510 of its file. It takes no parameters: ep3_ai_castration_effect = yes. The game's script calls it in 1 place, among them ep3_yearly.3000 (event). Patch 1.20.1.2, from game/common/scripted_effects/07_dlc_ep3_scripted_effects.txt.
What it does
- 50% chance of:
- Gains the Trait Beardless Eunuch
- 1 of 3 things will happen:
- 33%:
- Gains the modifier “Castration Wound” for 5 years
- Health -0.75
- Stress Gain +20%
- Gains the modifier “Castration Wound” for 5 years
- 33%: Nothing else happens
- 33% (base chance; changed in play): Nothing else happens
- 33%:
• the game's own tooltip text · ◦ our reading of the script line · code the script where neither exists
“They” is whatever it runs on (the scope it is called in). The scripted triggers and effects it calls link to their own pages; $PARAMETERS$ stay as written: each call fills them in.
The script as written (56 lines of game script)
ep3_ai_castration_effect = {
random = {
chance = 50
add_trait = beardless_eunuch
random_list = {
5 = {
add_character_modifier = {
modifier = brutal_castration_modifier
years = 5
}
}
5 = {}
5 = {
trigger = {
liege ?= { employs_court_position = court_physician_court_position }
}
modifier = {
add = 5
liege.court_position:court_physician_court_position = {
aptitude = {
court_position = court_physician_court_position
value >= 1
}
}
}
modifier = {
add = 10
liege.court_position:court_physician_court_position = {
aptitude = {
court_position = court_physician_court_position
value >= 2
}
}
}
modifier = {
add = 10
liege.court_position:court_physician_court_position = {
aptitude = {
court_position = court_physician_court_position
value >= 3
}
}
}
modifier = {
add = 10
liege.court_position:court_physician_court_position = {
aptitude = {
court_position = court_physician_court_position
value >= 4
}
}
}
}
}
}
}As written in game/common/scripted_effects/07_dlc_ep3_scripted_effects.txt.
Where it is used
Every place in common/, events/ and history/ that calls ep3_ai_castration_effect.
Events (1)
Source: game/common/scripted_effects/07_dlc_ep3_scripted_effects.txt and every file of common/, events/ and history/ that calls it, Crusader Kings III 1.20.1.2.