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)
- A Chance to Start Over?
ep2_wedding.1320 - A Lack of Discipline
chinese_students.0003 - bp1_yearly.1080
- bp1_yearly.2022
- bp1_yearly.8020
- courtier_guest_management.3001
17 more
- Danger: The Rigors of Travel
travel_danger_events.4010 - Eradicate the …
tgp_japan_general.9551 - Fit to Lead?
tgp_japan_yearly_events.1210 - Frankokratia
ep3_frankokratia_events.0060 - Hearty Competition
fp1_yearly.2100 - Hell Hath No Fury
lover.0005 - Into the Cloister
pam_secular_faith_events.0024 - Romance: Intruder
court_outcome.1103 - Romance: The Wild Hunt
court_outcome.1005 - Secret Whispers
ep2_wedding.1130 - Sins of the …: In Flagrante
bp1_yearly.5707 - That's My …!
ep3_wedding.0003 - The End of Passion
lover.0002 - The Secret …
ep1_flavor.0001 - To the Prettiest...?
cultural_festival.3031 - Under Heaven's Gaze
imperial_examination.9001 - Set Relationship
debug.350
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
Scripted effects (7)
Scripted triggers (1)
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.