Scripted trigger
ep3_frankokratia_beneficiary_trigger
ep3_frankokratia_beneficiary_trigger = yesgame/common/scripted_triggers/07_frankokratia_triggers.txt, line 575 (41 lines). No parameters.
ep3_frankokratia_beneficiary_trigger is a scripted trigger in Crusader Kings III, written at line 575 of its file. It takes no parameters: ep3_frankokratia_beneficiary_trigger = yes (or no). The game's script calls it in 2 places, among them ep3_frankokratia_pick_crusader_beneficiary_effect (scripted effect) and ep3_frankokratia_pick_emperor_beneficiary_effect (scripted effect). Patch 1.20.1.2, from game/common/scripted_triggers/07_frankokratia_triggers.txt.
What it checks
- Is not a ruler
- Is not imprisoned
- Is an Adult
- Their faith is the same as that of frankokratia crusader
One of these
- Is not married
or
None of these
- Any spouse: Is a ruler
One of these
All of these
is_male = yes- Is under 50 years old
or
All of these
is_female = yes- Age at most 35
or
Child (at least 1):- Is not a ruler
ep3_frankokratia_beneficiary_gender_soft_trigger = yes
• 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 (41 lines of game script)
ep3_frankokratia_beneficiary_trigger = {
is_ruler = no
is_imprisoned = no
is_adult = yes
faith = scope:frankokratia_crusader.faith
NOR = {
this = scope:financier
any_heir_title = { }
has_trait = incapable
has_trait = devoted
AND = {
scope:frankokratia_crusader.rite = {
rite_has_doctrine = doctrine_theocracy_temporal
}
has_council_position = councillor_court_chaplain
}
}
OR = { #Either not married, or not married to a ruler.
is_married = no
NOT = {
any_spouse = {
is_ruler = yes
}
}
}
OR = {
AND = {
is_male = yes
age < 50
}
AND = {
is_female = yes
age <= 35
}
any_child = {
count >= 1
is_ruler = no
ep3_frankokratia_beneficiary_gender_soft_trigger = yes
}
}
}As written in game/common/scripted_triggers/07_frankokratia_triggers.txt.
Where it is used
Every place in common/, events/ and history/ that calls ep3_frankokratia_beneficiary_trigger.
Source: game/common/scripted_triggers/07_frankokratia_triggers.txt and every file of common/, events/ and history/ that calls it, Crusader Kings III 1.20.1.2.