CK3 DatabaseCrusader Kings III · 1.20.1.2 “Crozier” · unofficial
Silk & Silverout Tue, Nov 17What's free, what needs the DLC, price →

Scripted trigger

suitable_crush_trigger

suitable_crush_trigger = yes

game/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

• 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.

Spotted a mistake on this page?