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
- Is an Adult
NOT = { has_relation_lover = $CHARACTER$ }$CHARACTER$ = { is_adult = yes }matching_gender_and_sexuality_with_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 (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.
Decisions (1)
Activity pulse actions (2)
- courtiers_became_lovers
- festival_romance
Events (87)
- … Allure
bp1_yearly.8120 - … Pie
host_dinner_events.3041 - … Scent
bp1_yearly.8121 - …: A Higher Power
councillor_spouse_learning.2301 - …: The Lost …
ep2_tournament_events.1004 - 'Haunted' Manor: Safe and Sound
travel_events.2022
81 more
- 'Haunted' Manor: Which Witch?
travel_events.2020 - A … in Our Bed
bp1_yearly.9019 - A Bloom In The Wilderness
intrigue_temptation.3010 - A Courtly Gift: Defeated
court.9005 - A Courtly Gift: Victorious
court.9004 - A Familiar Favor
tournament_events.1252 - A Friend Departs
bp2_yearly.2040 - A Magnificent Welcome
ep2_wedding.1010 - A Match Made In...?
ep2_wedding.1090 - A Memory
peasant_affair.3003 - A New Hobby
bp1_yearly.1000 - A Nice Word
nomad_events.0160 - A Rival's Reunion
feast_tsagaan_sar_events.0220 - Altruism: A Healing Touch
tour_travel.1004 - An Extra Hand
martial_authority.2051 - An Opportunity
peasant_affair.3004 - An Unexpected Move
fp2_yearly.3002 - An Unfortunate Encounter
yearly.5001 - Another Lover
bp1_yearly.9009 - Behind a Locked Door
feast_default.2008 - Blooming Friendship
diplomacy_foreign.1103 - Blooming Friendship
diplomacy_foreign.1104 - Bound Together
ep3_laamp_flavour_ewan.2021 - Camp Gossip
ep3_laamp_flavour_ewan.2011 - Caught in the Act
intrigue_temptation.3150 - Compassionate Discord
yearly.5011 - courtier_guest_management.3001
- Cupid's Arrow: Striking Home
bp1_yearly.5102 - ep3_laamp_decision_event.1300
- ep3_travel_option_events.0004
- Erotic Dancing
cultural_festival.9050 - Even … Fears Me
intrigue_dread.2001 - Exile: Farewell, My Dear
cid.1020 - Exposed Affair!
feast_default.2007 - Family First
tgp_travel_events.0025 - Forbidden Love
yearly.0003 - Go Outside!
learning_scholarship.4000 - Gone In The Night
yearly.1010 - Homesick
nomad_events.0230 - hunt.8211
- Innocence Lays Here
feast_default.6302 - Inspiration: Burning Thirst
fund_inspiration.6502 - Inspiration: Unhappy Stanza
fund_inspiration.6300 - Inspiration: Up Late
fund_inspiration.2120 - Lonely Days
house_arrest_ongoing.0003 - Love on the Steppe
mpo_migration_travel_events.0050 - Lowlife at Court
court_yearly.0101 - Moonlit Confessions
travel_events_oltner_2.1180 - More Than a Pretty Face
bp1_yearly.9014 - My Delectable …
hold_court.4602 - Nighttime Serenade
travel_events_oltner_2.1210 - Of Love and Lust
intrigue_temptation_special.1007 - Old as Stone
ep2_locale_events.5500 - Passionate Interests
relation_upgrade.2003 - Pillow Sermons
pam_secular_faith_events.0033 - Rampaging …
hunt.4007 - Rekindled
bp2_yearly.5012 - Rhythms of the Dark
ep3_wedding.0002 - Shared Conviction
pam_secular_faith_events.0046 - Shelter from the Storm
bp1_yearly.0100 - Sins of the …: In Flagrante
bp1_yearly.5707 - Something More
friendship.0003 - Spreading Joy
tgp_japan_yearly_events.0001 - Study: A Supportive Partner
study_confucian_classics_outcome.1040 - That's My …!
ep3_wedding.0003 - The … in My Bed
bp1_yearly.9021 - The … of …
bp3_journey.2200 - The Baby Eating …
bp1_yearly.9043 - The Champion of the …
ep3_decisions_event.6001 - The First to Finish
chariot_race.4031 - The Flower Thief
yearly.9110 - The Lovers
hunt.4015 - The Sights of …
bp3_journey.0015 - Thick as Thieves
yearly.4011 - To Forgive, Divine
feast_events_flavor.0002 - travel_events.4002
- Two Ships In The Night
bp1_yearly.2010 - What's A … To Do
bp1_yearly.2030 - Why Me?
ep2_wedding.1301 - yearly.4001
- yearly.4013
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
Scripted effects (2)
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.