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_trigger

matching_gender_and_sexuality_trigger = { CHARACTER_1 = … CHARACTER_2 = … }

game/common/scripted_triggers/00_romance_and_seduction_triggers.txt, line 88 (20 lines). Parameters: $CHARACTER_1$, $CHARACTER_2$.

matching_gender_and_sexuality_trigger is a scripted trigger in Crusader Kings III, written at line 88 of its file. A call passes 2 parameters: CHARACTER_1 and CHARACTER_2. The game's script calls it in 30 places, among them … is a … Now (event bp2_yearly.8040), 'Haunted' Manor: Safe and Sound (event travel_events.2022) and A …-like … (event tour_grounds_events.1012). Patch 1.20.1.2, from game/common/scripted_triggers/00_romance_and_seduction_triggers.txt.

The comment above it in the file

Needs CHARACTER_1 and CHARACTER_2

What it checks

Every line of it is script with no tooltip text: the script is below.

The script as written (20 lines of game script)
matching_gender_and_sexuality_trigger = {
	$CHARACTER_1$ = {
		OR = {
			is_attracted_to_gender_of = $CHARACTER_2$
			$CHARACTER_2$ = {
				is_ai = no
				has_perk = unshackled_lust_perk
			}
		}
	}
	$CHARACTER_2$ = {
		OR = {
			is_attracted_to_gender_of = $CHARACTER_1$
			$CHARACTER_1$ = {
				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_trigger.

Events (18)

12 more

Scripted triggers inside an event file (9)

  • childhood_1000_friend_sexuality_trigger
  • court_ongoing_1110_can_court_target_trigger
  • ep3_travel_8000_valid_prince
  • seduce_outcome_become_lovers_trigger
  • seduce_outcome_just_sex_trigger
  • witch_3014_sex_partner_trigger
3 more
  • yearly_0003_valid_relative
  • yearly_1001_married_seducer_trigger
  • yearly_1070_potential_soulmate_basic_trigger

On actions (the game's own hooks) (1)

  • on_birthday_childhood

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?