Scripted trigger
can_set_relation_best_friend_trigger
can_set_relation_best_friend_trigger = { CHARACTER = … }game/common/scripted_triggers/00_relation_triggers.txt, line 24 (10 lines). Parameters: $CHARACTER$.
can_set_relation_best_friend_trigger is a scripted trigger in Crusader Kings III, written at line 24 of its file. A call passes 1 parameter: CHARACTER. The game's script calls it in 33 places, among them …: Fortified Monuments (event travel_events_cities.1020), …: Suq al-Warraqin (event travel_events_cities.1010) and A Friend Indeed (event bp1_yearly.3001). Patch 1.20.1.2, from game/common/scripted_triggers/00_relation_triggers.txt.
What it checks
Every line of it is script with no tooltip text: the script is below.
The script as written (10 lines of game script)
can_set_relation_best_friend_trigger = {
NOR = {
this = $CHARACTER$
has_relation_best_friend = $CHARACTER$
has_relation_rival = $CHARACTER$
has_relation_nemesis = $CHARACTER$
}
num_of_relation_best_friend = 0
$CHARACTER$ = { num_of_relation_best_friend = 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_best_friend_trigger.
Character interactions (1)
- Set Relationship
Events (25)
- …: Fortified Monuments
travel_events_cities.1020 - …: Suq al-Warraqin
travel_events_cities.1010 - A Friend Indeed
bp1_yearly.3001 - A Kind Word
friendship.2007 - A Never-ending Feast
party_baron.2005 - A Poetic Friendship
bp1_yearly.4020
19 more
- A Secret Once Told
friendship.2002 - A Secret Once Told
friendship.2005 - A Terrible Burden
friendship.2004 - Blossoming Friendship
childhood.0003 - Can't Get Away
ep2_wedding.1310 - courtier_guest_management.3001
- Encouraging Words
prelude_events.0190 - Helping Out: Personal Rituals
ep3_laamp_flavour_ewan.1103 - Learn Language: No More Room
learn_language_ongoing.1090 - Lonely Days
court_yearly.5001 - Parting Ways
festival.2000 - Raid or Trade: A Holy Helping Hand
fp1_trade_events.1171 - Recording a Memory
bp1_yearly.7055 - Shared Conviction
pam_secular_faith_events.0046 - Study Rite: Incomprehensible!
study_faith_ongoing.1090 - The More the Merrier
pilgrimage.6005 - The More the Merrier
pilgrimage.6006 - The Need to Tell
friendship.2001 - Set Relationship
debug.350
Scripted effects inside an event file (4)
- bp1_yearly_2030_relationship_effect
- ep3_laamp_flavour_ewan_2001_make_friends_or_best_friends_effect
- nomad_events_0190_friendship_effect
- vizierate_0001_assign_best_relation_effect
Scripted triggers inside an event file (1)
- diplomacy_family_2200_valid_friend_trigger
Scripted effects (1)
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.