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

Scripted trigger

can_set_relation_lover_trigger

can_set_relation_lover_trigger = { CHARACTER = … }

game/common/scripted_triggers/00_relation_triggers.txt, line 41 (11 lines). Parameters: $CHARACTER$.

can_set_relation_lover_trigger is a scripted trigger in Crusader Kings III, written at line 41 of its file. A call passes 1 parameter: CHARACTER. The game's script calls it in 124 places, among them Champion the … Culture (decision), courtiers_became_lovers (activity pulse) and festival_romance (activity pulse). Patch 1.20.1.2, from game/common/scripted_triggers/00_relation_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 (11 lines of game script)
can_set_relation_lover_trigger = {
	is_adult = yes
	NOR = {
		this = $CHARACTER$
		has_relation_lover = $CHARACTER$
	}
	$CHARACTER$ = {
		is_adult = yes
	}
	matching_gender_and_sexuality_with_trigger = { CHARACTER = $CHARACTER$ }
}

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

Where it is used

Every place in common/, events/ and history/ that calls can_set_relation_lover_trigger — the first 120 of 124.

Activity pulse actions (2)

  • courtiers_became_lovers
  • festival_romance

Events (87)

81 more

Scripted effects inside an event file (5)

  • coronation_events_6030_choose_courtesan_effect
  • court_outcome_1005_targets_lover_effect
  • mpo_hunt_0010_success_effect
  • nomad_events_0120_improve_relationship_effect
  • spawn_foreign_prince_effect

Scripted triggers inside an event file (22)

  • 3001_is_valid_for_seduction
  • appropriate_guest_to_become_lover_trigger
  • appropriate_lover_target
  • bp1_yearly_0100_lover_trigger
  • bp1_yearly_2001_can_become_lovers_trigger
  • ep3_story_cycle_admin_eunuch_seducer_trigger
16 more
  • good_potential_lover
  • imperial_examination_4030_can_be_lovers_trigger
  • intrigue_temptation_3100_potential_image_giver
  • intrigue_temptation_3150_threesome_courtiers
  • intrigue_temptation_special_1001_good_match
  • intrigue_temptation_special_1001_great_match
  • lover_7001_friend_to_potential_lover
  • lover_7003_rival_to_potential_lover
  • lover_7005_family_to_potential_lover
  • stewardship_duty_special_2052_potential_lover_trigger
  • study_faith_appropriate_lover_target
  • study_faith_good_potential_lover
  • suitable_lover_for_child
  • varangian_2002_varangian_lover_trigger
  • varangian_2011_local_lover_trigger
  • yearly_0002_valid_child

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