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

Scripted trigger

matching_gender_and_sexuality_with_trigger

matching_gender_and_sexuality_with_trigger = { CHARACTER = … }

game/common/scripted_triggers/00_romance_and_seduction_triggers.txt, line 109 (18 lines). Parameters: $CHARACTER$.

matching_gender_and_sexuality_with_trigger is a scripted trigger in Crusader Kings III, written at line 109 of its file. A call passes 1 parameter: CHARACTER. The game's script calls it in 9 places, among them …: Potential Suitors (event tournament_events.1404), The Lady of the Land (event fp3_yearly.8020) and intrigue_temptation_3020_viable_date_trigger (local trigger). Patch 1.20.1.2, from game/common/scripted_triggers/00_romance_and_seduction_triggers.txt.

What it checks

  • $CHARACTER$ = { … }
  • One of these

    • is_attracted_to_gender_of = $CHARACTER$
    • or

      $CHARACTER$ = { is_ai = no has_perk = unshackled_lust_perk }

• 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 (18 lines of game script)
matching_gender_and_sexuality_with_trigger = {
	$CHARACTER$ = {
		OR = {
			is_attracted_to_gender_of = prev
			prev = {
				is_ai = no
				has_perk = unshackled_lust_perk
			}
		}
	}
	OR = {
		is_attracted_to_gender_of = $CHARACTER$
		$CHARACTER$ = {
			is_ai = no
			has_perk = unshackled_lust_perk
		}
	}
}

As written in game/common/scripted_triggers/00_romance_and_seduction_triggers.txt.

Where it is used

Every place in common/, events/ and history/ that calls matching_gender_and_sexuality_with_trigger.

Events (3)

Scripted triggers inside an event file (1)

  • intrigue_temptation_3020_viable_date_trigger

Source: game/common/scripted_triggers/00_romance_and_seduction_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?