Scripted effect
add_eunuch_trait_effect
add_eunuch_trait_effect = yesgame/common/scripted_effects/20_health_effects.txt, line 3609 (15 lines). No parameters.
add_eunuch_trait_effect is a scripted effect in Crusader Kings III, written at line 3609 of its file. It takes no parameters: add_eunuch_trait_effect = yes. The game's script calls it in 12 places, among them Strange Bedfellows (event bp1_yearly.5703), The Weight of Influence (event intrigue_scheming.3052) and The Weight of Influence (event intrigue_scheming.3053). Patch 1.20.1.2, from game/common/scripted_effects/20_health_effects.txt.
What it does
If
is_male = yesis_eunuch_trigger = no
Then
- If under 12 years old:
add_trait_force_tooltip = beardless_eunuch
- Otherwise:
add_trait_force_tooltip = eunuch_1
• 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 (15 lines of game script)
add_eunuch_trait_effect = {
if = {
limit = {
is_male = yes
is_eunuch_trigger = no
}
if = {
limit = { age < 12 }
add_trait_force_tooltip = beardless_eunuch
}
else = {
add_trait_force_tooltip = eunuch_1
}
}
}As written in game/common/scripted_effects/20_health_effects.txt.
Where it is used
Every place in common/, events/ and history/ that calls add_eunuch_trait_effect.
Events (3)
- Strange Bedfellows
bp1_yearly.5703 - The Weight of Influence
intrigue_scheming.3052 - The Weight of Influence
intrigue_scheming.3053
Scripted effects inside an event file (3)
- determine_which_bit_was_chopped_off_recipient_effect
- pam_challenge_hof_war_judge_torture_harm_effect
- raid_estate_success_public_effect
Scripted effects (5)
Scripted character templates (1)
- location_pilgrim_template
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.