Scripted trigger
save_good_crush_character_trigger_check
save_good_crush_character_trigger_check = yesgame/common/scripted_triggers/00_childhood_triggers.txt, line 68 (24 lines). No parameters.
save_good_crush_character_trigger_check is a scripted trigger in Crusader Kings III, written at line 68 of its file. It takes no parameters: save_good_crush_character_trigger_check = yes (or no). The game's script calls it in 8 places, among them A … Foreigner (event bp2_yearly.5005), A Potential Crush (event bp2_yearly.2014) and Heart-wrenching Rejection (event child_personality.0006). Patch 1.20.1.2, from game/common/scripted_triggers/00_childhood_triggers.txt.
What it checks
- Is a child
age >= root.age_dif_child_downage <= root.age_dif_child_up- Age more than 6
- Is not imprisoned
is_close_family_of_root_trigger = noNone of these
- You:
has_relation_crush = prev
has_relation_victim = root
- You:
One of these
has_sexuality = heterosexualor
has_sexuality = bisexualor
has_sexuality = homosexual
is_attracted_to_gender_of = root- You:
is_attracted_to_gender_of = prev
• 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 (24 lines of game script)
save_good_crush_character_trigger_check = {
is_adult = no
age >= root.age_dif_child_down
age <= root.age_dif_child_up
age > childhood_education_start_age
this != root
is_imprisoned = no
is_close_family_of_root_trigger = no
NOR = {
root = { has_relation_crush = prev }
has_relation_victim = root
}
OR = {
has_sexuality = heterosexual
has_sexuality = bisexual
has_sexuality = homosexual
}
is_attracted_to_gender_of = root
root = { is_attracted_to_gender_of = prev }
OR = {
num_of_relation_crush <= 2
has_trait = lustful
}
}As written in game/common/scripted_triggers/00_childhood_triggers.txt.
Where it is used
Every place in common/, events/ and history/ that calls save_good_crush_character_trigger_check.
Events (6)
- A … Foreigner
bp2_yearly.5005 - A Potential Crush
bp2_yearly.2014 - Heart-wrenching Rejection
child_personality.0006 - Play Date
childhood.0001 - Playing House
playdate.3011 - Rolling
bp2_yearly.8100
Scripted effects (1)
Scripted triggers (1)
Source: game/common/scripted_triggers/00_childhood_triggers.txt and every file of common/, events/ and history/ that calls it, Crusader Kings III 1.20.1.2.