Scripted trigger
suitable_crush_trigger
suitable_crush_trigger = yesgame/common/scripted_triggers/00_childhood_triggers.txt, line 306 (37 lines). No parameters.
suitable_crush_trigger is a scripted trigger in Crusader Kings III, written at line 306 of its file. It takes no parameters: suitable_crush_trigger = yes (or no). No file of common/, events/ or history/ calls it. Patch 1.20.1.2, from game/common/scripted_triggers/00_childhood_triggers.txt.
What it checks
- Is played by the AI
is_available_child = yeschild_not_infant_trigger = yesage <= root.age_plus_3age >= root.age_minus_3location = root.locationOne of these
matching_gender_and_sexuality_trigger = { CHARACTER_1 = root CHARACTER_2 = scope:temp_crush }or
All of these
has_sexuality = asexual- You:
One of these
is_attracted_to_gender_of = scope:temp_crushor
has_sexuality = asexual
or
All of these
- You:
has_sexuality = asexual
One of these
is_attracted_to_gender_of = rootor
has_sexuality = asexual
- You:
NOT = { relation_with_character_is_incestuous_in_my_rite_trigger = { CHARACTER = root } }
• 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 (37 lines of game script)
suitable_crush_trigger = {
AND = {
save_temporary_scope_as = temp_crush
is_ai = yes
is_available_child = yes
this != root
child_not_infant_trigger = yes
age <= root.age_plus_3
age >= root.age_minus_3
location = root.location
OR = {
matching_gender_and_sexuality_trigger = {
CHARACTER_1 = root
CHARACTER_2 = scope:temp_crush
}
AND = {
has_sexuality = asexual
root = {
OR = {
is_attracted_to_gender_of = scope:temp_crush
has_sexuality = asexual
}
}
}
AND = {
root = { has_sexuality = asexual }
OR = {
is_attracted_to_gender_of = root
has_sexuality = asexual
}
}
}
NOT = {
relation_with_character_is_incestuous_in_my_rite_trigger = { CHARACTER = root }
}
}
}As written in game/common/scripted_triggers/00_childhood_triggers.txt.
Where it is used
No file of common/, events/ or history/ calls it.
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.