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_nemesis_trigger

can_set_relation_nemesis_trigger = { CHARACTER = … }

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

can_set_relation_nemesis_trigger is a scripted trigger in Crusader Kings III, written at line 103 of its file. A call passes 1 parameter: CHARACTER. The game's script calls it in 39 places, among them A Chance to Start Over? (event ep2_wedding.1320), A Lack of Discipline (event chinese_students.0003) and bp1_yearly.1080 (event). Patch 1.20.1.2, from game/common/scripted_triggers/00_relation_triggers.txt.

What it checks

  • Is an Adult
  • NOT = { has_relation_friend = $CHARACTER$ }
  • NOT = { has_relation_best_friend = $CHARACTER$ }
  • num_of_relation_nemesis = 0
  • $CHARACTER$ = { is_adult = yes num_of_relation_nemesis = 0 }

• 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 (13 lines of game script)
can_set_relation_nemesis_trigger = {
	is_adult = yes
	NOR = {
		this = $CHARACTER$
		has_relation_friend = $CHARACTER$
		has_relation_best_friend = $CHARACTER$
	}
	num_of_relation_nemesis = 0
	$CHARACTER$ = {
		is_adult = yes
		num_of_relation_nemesis = 0
	}
}

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

Character interactions (1)

  • Set Relationship

Events (23)

17 more

Scripted effects inside an event file (7)

  • bp1_yearly_2020_rival_nemesis_progress_effect
  • ep3_interactions_events_0601_insult
  • result_discovered_disbelieve_mandala_effect
  • set_worsened_relation_feast_default_1020_effect
  • set_worsened_relation_feast_default_6301_effect
  • vizierate_0001_assign_best_relation_effect
1 more
  • vizierate_1001_disfavoured_party_opinions_effect

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?