Scripted trigger
is_of_major_interest_trigger
is_of_major_interest_trigger = { CHARACTER = … }game/common/scripted_triggers/00_relation_triggers.txt, line 573 (54 lines). Parameters: $CHARACTER$.
is_of_major_interest_trigger is a scripted trigger in Crusader Kings III, written at line 573 of its file. A call passes 1 parameter: CHARACTER. The game's script calls it in 40 places, among them Offer Concubine (interaction), Elope (scheme) and Entertain Courtiers (court task). Patch 1.20.1.2, from game/common/scripted_triggers/00_relation_triggers.txt.
What it checks
One of these
is_heir_of = $CHARACTER$or
is_diarch_of_target = $CHARACTER$or
liege ?= $CHARACTER$or
betrothed ?= $CHARACTER$or
is_spouse_of = $CHARACTER$or
has_relation_soulmate = $CHARACTER$or
has_relation_nemesis = $CHARACTER$or
has_relation_best_friend = $CHARACTER$or
has_relation_blood_brother = $CHARACTER$or
is_child_of = $CHARACTER$or
or
All of these
exists = $CHARACTER$.faith.religious_headthis = $CHARACTER$.faith.religious_head
or
If an Independent Ruler › Any neighboring top liege realm owner:this = $CHARACTER$
or
If
a check the game hides
Then
this = $CHARACTER$.house.house_head
or
If
a check the game hides
Then
intent_target = $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 (54 lines of game script)
is_of_major_interest_trigger = {
NOT = { this = $CHARACTER$ }
OR = {
is_heir_of = $CHARACTER$
is_diarch_of_target = $CHARACTER$
liege ?= $CHARACTER$
betrothed ?= $CHARACTER$
is_spouse_of = $CHARACTER$
has_relation_soulmate = $CHARACTER$
has_relation_nemesis = $CHARACTER$
has_relation_best_friend = $CHARACTER$
has_relation_blood_brother = $CHARACTER$
is_child_of = $CHARACTER$
AND = {
is_theocratic_lessee = yes
is_councillor_of = $CHARACTER$
}
#They are the head of our faith
AND = {
exists = $CHARACTER$.faith.religious_head
this = $CHARACTER$.faith.religious_head
}
# Powerful vassals (including fellow)
trigger_if = {
limit = {
top_liege = this
}
any_neighboring_top_liege_realm_owner = {
this = $CHARACTER$
}
}
# House Head
trigger_if = {
limit = {
exists = $CHARACTER$.house.house_head
}
this = $CHARACTER$.house.house_head
}
# Activity Intents
trigger_if = {
limit = {
exists = involved_activity
exists = intent_target
}
intent_target = $CHARACTER$
}
# Relations
has_relation_nemesis = $CHARACTER$
has_relation_soulmate = $CHARACTER$
has_relation_best_friend = $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 is_of_major_interest_trigger.
Character interactions (1)
Schemes (1)
- Elope
Court position tasks (1)
- Entertain Courtiers
Events (23)
- … Wrath
seduce_outcome.2900 - …: Last Moments
natural_disaster.5101 - …: Survivor
natural_disaster.5102 - A Beautiful Specimen
hunt.5003 - A Question of Precedence
coronation_events.1007 - A Secret Exposed!
secrets.0108
17 more
- As The Philosopher Said...
ep3_emperor_yearly.2240 - commission_epic.1006
- commission_epic.1007
- councillor_spouse_martial.0007
- court_yearly.1001
- Cutting Rations
ep3_laamps_provisions.1000 - diplomacy_family.2100
- Empty Bags and Empty Stomachs
ep3_laamps_provisions.1080 - hunt.4910
- Hunted While Hawking
hunt.8210 - Imperial Melange
chariot_race_ongoing_jp.0200 - Learn Language: Success!
learn_language_outcome.1000 - Rumors
hunt.4002 - sell_titles.0001
- Sharing the Load
ep3_emperor_yearly.8000 - Stained Honor
festival.016 - Wildflowers
hunt.5002
Scripted triggers inside an event file (6)
- 1020_new_entrant_trigger
- combat_event_1001_character_is_relevant_to_target_trigger
- councillor_spouse_intrigue_1006_plant_trigger
- feast_default_1011_find_guest_trigger
- hunt_4002_secret_knower_trigger
- suitable_courtier_yearly_5040_trigger
On actions (the game's own hooks) (1)
- on_imprison
Scripted effects (3)
Scripted triggers (2)
Scripted modifiers (AI weights) (1)
- is_of_major_interest_to_weight_up_modifier
Customizable localization (1)
- SecretRevealSecondCharacterIntroduction
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.