Scripted trigger
can_set_relation_rival_trigger
can_set_relation_rival_trigger = { CHARACTER = … }game/common/scripted_triggers/00_relation_triggers.txt, line 97 (5 lines). Parameters: $CHARACTER$.
can_set_relation_rival_trigger is a scripted trigger in Crusader Kings III, written at line 97 of its file. A call passes 1 parameter: CHARACTER. The game's script calls it in 117 places, among them Restore Temporal Rule (decision), Dismiss Vizier (interaction) and Force Abdication (interaction). Patch 1.20.1.2, from game/common/scripted_triggers/00_relation_triggers.txt.
What it checks
- Is an Adult
$CHARACTER$ = { is_adult = yes }can_set_relation_rival_if_adult_trigger = { CHARACTER = $CHARACTER$ }
• 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 (5 lines of game script)
can_set_relation_rival_trigger = {
is_adult = yes
$CHARACTER$ = { is_adult = yes }
can_set_relation_rival_if_adult_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_rival_trigger.
Decisions (1)
Character interactions (6)
Activity pulse actions (3)
- apa_debate_entrant_disagreement
- apa_entrant_disagreement
- apa_student_disagreement
Events (89)
- … Blood
bp2_yearly.6080 - … Charm
bp1_yearly.8160 - … True …
bp1_house_feud.0006 - … Who Spurns the Fight
jason_locale_events.100 - …: Win Some, Lose Some
scheme_critical_moments.1226 - A … Enemy
bp1_house_feud.0004
83 more
- A … Honor
bp1_house_feud.0013 - A … Pride
bp1_house_feud.0014 - A …'s Heart
ep2_wedding.1200 - A Birthright, Renewed
bp2_yearly.6090 - A Disciple Worth Winning
az_debate.0001 - A Disgrace to the Family
ep3_decisions_event.5002 - A Failed Elopement
elope.1012 - A Maltreated …
bp1_house_feud.0011 - A Murdered …
bp1_yearly.8050 - A Rival …
pam_antipope_events.0001 - A Toast To...
feast.7202 - A Vengeful …
bp1_house_feud.0009 - An Absolute Shambles
ep1_flavor.0011 - An Eye for an Eye
bp1_house_feud.0003 - bp1_yearly.1080
- By Right
yearly.3051 - Can't Get Away
ep2_wedding.1310 - Challenge Met: House …
fp3_misc_decisions.0020 - Challenge Met: House …
fp3_misc_decisions.0041 - Chaotic Succession: Jealousy
mpo_chaotic_kurultai_succession.0001 - Congestion in the Capital
tgp_japan_yearly_events.1200 - Contract: Treasure Hunt
ep3_contract_event.0007 - courtier_guest_management.3001
- Crowned Cuckquean
bp1_house_feud.0012 - Danger: The Rigors of Travel
travel_danger_events.4010 - Dynastic Solidarity
bp1_house_feud.0002 - Eccentric Ideas
bp2_adult_education.9300 - ep3_laamp_decision_event.1300
- Eradicate the …
tgp_japan_general.9551 - Evangelizing the …
ep3_decisions_event.4026 - feast.7102
- Feud: The Next Enemy
bp1_house_feud.0840 - Fit to Lead?
tgp_japan_yearly_events.1210 - fp3_misc_decisions.0025
- Frankokratia
ep3_frankokratia_events.0060 - Genpei War: A Crossroads of Power
tgp_genpei_character.2010 - Hell Hath No Fury
lover.0005 - Heretics Amongst Us: A Change of Heart
east_europe.0115 - Heretics Amongst Us: A Temporary Reprieve
east_europe.0117 - Heretics at Large
hold_court.6090 - Lure of Vendetta
bp1_house_feud.0005 - Not Forgotten
bp2_yearly.6122 - Petitioners
guest_intent_coronation_events.0100 - Poisonous Relations
ep2_wedding.1220 - Questions of Rite and Right
ach_coronation.0012 - Riding the Storm
mpo_nomads_season_events.0001 - Romance: Intruder
court_outcome.1103 - Romance: The Wild Hunt
court_outcome.1005 - Schools of Thought
bp2_adult_education.1040 - Scrounger Life
court_yearly.6040 - Season of Plenty
mpo_nomads_season_events.0010 - Secret Whispers
ep2_wedding.1130 - Sighting of the Sovereign
tgp_japan_yearly_events.1150 - Smouldering in Captivity
bp1_house_feud.0007 - Strange Teachings: A Formal Complaint
fp2_lyonese_monk.0621 - Tastefully Insulting
feast_default.6121 - Taxpayers to Tenants
ep3_governor_yearly.3002 - That's My …!
ep3_wedding.0003 - The Champion of the …
ep3_decisions_event.6001 - The Debate
bp2_adult_education.1070 - The Dilemma
feast_default.6251 - The Duelist Returns
yearly.1051 - The End of Passion
lover.0002 - The Feast of Fools
cultural_festival.3070 - The Forgone …
bp2_yearly.6121 - The Goliards
bp2_adult_education.1020 - The Kurultai
coronation_events.6121 - The Secret …
ep1_flavor.0001 - The Seductive Rival
bp1_yearly.4030 - The Way Diverges
debate_event.2030 - The Way Diverges
imperial_examination.4080 - The Witengamot Elects: … of …
game_rule.1142 - To Forgive, Divine
feast_events_flavor.0002 - To Have a Gander
bp2_adult_education.1090 - Under Heaven's Gaze
imperial_examination.9001 - Unease About El Sidi
fp2_struggle.2050 - Unforgivable Treatment
bp1_house_feud.0010 - Unhealthy Relations
relation_upgrade.2101 - Unhealthy Relations
relation_upgrade.2102 - Unjust Imprisonment
bp1_house_feud.0008 - Word from the …
tgp_japan_yearly_events.1151 - yearly.1023
- Set Relationship
debug.350
Scripted effects inside an event file (11)
- bp1_yearly_2020_rival_nemesis_progress_effect
- ep3_interactions_events_0601_insult
- feast_default_3008_hat_man_effect
- pam_sf_install_bought_priest_effect
- pilgrimage_6800_rival_effect
- result_discovered_disbelieve_mandala_effect
5 more
- set_worsened_relation_feast_default_1020_effect
- set_worsened_relation_feast_default_6301_effect
- student_rivalry_effect
- vizierate_0001_assign_best_relation_effect
- vizierate_1001_disfavoured_party_opinions_effect
Scripted triggers inside an event file (1)
- set_and_inform_slayer_rivalry_trigger
Scripted effects (5)
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.