Scripted trigger
get_characters_of_minor_interest_trigger
get_characters_of_minor_interest_trigger = { LISTNAME = … }game/common/scripted_triggers/00_relation_triggers.txt, line 929 (78 lines). Parameters: $LISTNAME$.
get_characters_of_minor_interest_trigger is a scripted trigger in Crusader Kings III, written at line 929 of its file. A call passes 1 parameter: LISTNAME. The game's script calls it in 2 places, among them Kindred Spirits (event diplomacy_majesty.0016) and get_characters_of_interest_trigger (scripted trigger). Patch 1.20.1.2, from game/common/scripted_triggers/00_relation_triggers.txt.
The comment above it in the file
Makes a list of every character of minor interest Parameters: LISTNAME - the name of the list
What it checks
- Every consort:
minor_interest_concubines_secondary_spouses_trigger = { CHARACTER = scope:minor_root LISTNAME = $LISTNAME$ }add_to_temporary_list = $LISTNAME$
- Every vassal:
minor_interest_high_tier_vassal_trigger = { LISTNAME = $LISTNAME$ }add_to_temporary_list = $LISTNAME$
If
minor_interest_betrothed_trigger = { LISTNAME = $LISTNAME$ }
Then
- Their betrothed:
add_to_temporary_list = $LISTNAME$
- Every relation:
add_to_temporary_list = $LISTNAME$
- Every close or extended family member:
minor_interest_close_relatives_trigger = { CHARACTER = scope:minor_root LISTNAME = $LISTNAME$ }add_to_temporary_list = $LISTNAME$
- If played by a person:
- Every relation:
add_to_temporary_list = $LISTNAME$
- Every relation:
add_to_temporary_list = $LISTNAME$
- Every relation:
add_to_temporary_list = $LISTNAME$
- Every knight:
add_to_temporary_list = $LISTNAME$
- If played by a person › Every courtier:
minor_interest_skilled_courtiers_trigger = { LISTNAME = $LISTNAME$ }add_to_temporary_list = $LISTNAME$
- Every liege or above:
minor_interest_liege_or_above_trigger = { CHARACTER = scope:minor_root LISTNAME = $LISTNAME$ }add_to_temporary_list = $LISTNAME$
- Every relation:
• 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 (78 lines of game script)
get_characters_of_minor_interest_trigger = {
save_temporary_scope_as = minor_root
# 1 - Concubines & secondary spouses
any_consort = {
minor_interest_concubines_secondary_spouses_trigger = { CHARACTER = scope:minor_root LISTNAME = $LISTNAME$ }
count = all
add_to_temporary_list = $LISTNAME$
}
# 2 - Direct vassals of high tier
any_vassal = {
minor_interest_high_tier_vassal_trigger = { LISTNAME = $LISTNAME$ }
count = all
add_to_temporary_list = $LISTNAME$
}
# 3 - Betrothed
trigger_if = {
limit = { minor_interest_betrothed_trigger = { LISTNAME = $LISTNAME$ } }
betrothed = { add_to_temporary_list = $LISTNAME$ }
}
# 4 - Lovers
any_relation = {
type = lover
NOT = { is_in_list = $LISTNAME$ }
count = all
add_to_temporary_list = $LISTNAME$
}
# 5 - Rivals (excluded as they're typically only used in specific contexts)
# 6 - Close relatives
any_close_or_extended_family_member = {
minor_interest_close_relatives_trigger = { CHARACTER = scope:minor_root LISTNAME = $LISTNAME$ }
count = all
add_to_temporary_list = $LISTNAME$
}
trigger_if = { #Below is just for players
limit = { is_ai = no }
# 7 - Guardian
any_relation = {
type = guardian
NOT = { is_in_list = $LISTNAME$ }
count = all
add_to_temporary_list = $LISTNAME$
}
# 8 - Ward
any_relation = {
type = ward
NOT = { is_in_list = $LISTNAME$ }
count = all
add_to_temporary_list = $LISTNAME$
}
# 9 - Friends
any_relation = {
type = friend
NOT = { is_in_list = $LISTNAME$ }
count = all
add_to_temporary_list = $LISTNAME$
}
# 10 - Knights
any_knight = {
NOT = { is_in_list = $LISTNAME$ }
count = all
add_to_temporary_list = $LISTNAME$
}
# 11 - Highly skilled courtiers (players only)
trigger_if = {
limit = { is_ai = no }
any_courtier = {
minor_interest_skilled_courtiers_trigger = { LISTNAME = $LISTNAME$ }
count = all
add_to_temporary_list = $LISTNAME$
}
}
any_liege_or_above = {
minor_interest_liege_or_above_trigger = { CHARACTER = scope:minor_root LISTNAME = $LISTNAME$ }
count = all
add_to_temporary_list = $LISTNAME$
}
}
}As written in game/common/scripted_triggers/00_relation_triggers.txt.
Where it is used
Every place in common/, events/ and history/ that calls get_characters_of_minor_interest_trigger.
Events (1)
- Kindred Spirits
diplomacy_majesty.0016
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.