Scripted trigger · Roads to Power files
ep3_castration_male_family_trigger
ep3_castration_male_family_trigger = yesgame/common/scripted_triggers/07_ep3_triggers.txt, line 747 (25 lines). No parameters.
ep3_castration_male_family_trigger is a scripted trigger in Crusader Kings III, in the Roads to Power files, written at line 747 of its file. It takes no parameters: ep3_castration_male_family_trigger = yes (or no). The game's script calls it in 1 place, among them Castrate Kin (interaction). Patch 1.20.1.2, from game/common/scripted_triggers/07_ep3_triggers.txt.
What it checks
- Close family member (at least 2):
is_male = yeshouse ?= scope:actor.houseis_eunuch_trigger = no- Does not have the Trait: Celibate
- Does not have the Trait: Monk
- Does not have the Trait: Military Order Member
- Does not have the Trait: Bastard
One of these
All of these
- Is at least 40 years old
- Any child:
is_male = yes
or
Is under 40 years old
• 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 (25 lines of game script)
ep3_castration_male_family_trigger = {
any_close_family_member = {
count >= 2
is_male = yes
house ?= scope:actor.house
is_eunuch_trigger = no
NOR = {
has_trait = celibate
has_trait = devoted
has_trait = order_member
has_trait = bastard
}
OR = {
#Is an old adult with a kid
AND = {
age >= 40
any_child = {
is_male = yes
}
}
#Is a young adult or child
age < 40
}
}
}As written in game/common/scripted_triggers/07_ep3_triggers.txt.
Where it is used
Every place in common/, events/ and history/ that calls ep3_castration_male_family_trigger.
Character interactions (1)
Source: game/common/scripted_triggers/07_ep3_triggers.txt and every file of common/, events/ and history/ that calls it, Crusader Kings III 1.20.1.2.