Scripted effect
get_characters_of_minor_interest_effect
get_characters_of_minor_interest_effect = { LISTNAME = … }game/common/scripted_effects/00_relation_effects.txt, line 660 (68 lines). Parameters: $LISTNAME$.
get_characters_of_minor_interest_effect is a scripted effect in Crusader Kings III, written at line 660 of its file. A call passes 1 parameter: LISTNAME. The game's script calls it in 3 places, among them Kindred Spirits (event diplomacy_majesty.0016), get_characters_of_interest_effect (scripted effect) and potential_lifestyle_friend_saving_effect (scripted effect). Patch 1.20.1.2, from game/common/scripted_effects/00_relation_effects.txt.
The comment above it in the file
Makes a list of every character of minor interest Parameters: CHARACTER - the character who the list will be for LISTNAME - the name of the list
What it does
Every line of it is script with no tooltip text: the script is below.
The script as written (68 lines of game script)
get_characters_of_minor_interest_effect = {
save_temporary_scope_as = minor_root
# 1 - Concubines & secondary spouses
every_consort = {
limit = { minor_interest_concubines_secondary_spouses_trigger = { CHARACTER = scope:minor_root LISTNAME = $LISTNAME$ } }
add_to_temporary_list = $LISTNAME$
}
# 2 - Direct vassals of high tier
every_vassal = {
limit = { minor_interest_high_tier_vassal_trigger = { LISTNAME = $LISTNAME$ } }
add_to_temporary_list = $LISTNAME$
}
# 3 - Betrothed
if = {
limit = { minor_interest_betrothed_trigger = { LISTNAME = $LISTNAME$ } }
betrothed = { add_to_temporary_list = $LISTNAME$ }
}
# 4 - Lovers
every_relation = {
type = lover
limit = { NOT = { is_in_list = $LISTNAME$ } }
add_to_temporary_list = $LISTNAME$
}
# 5 - Rivals (excluded as they're typically only used in specific contexts)
# 6 - Close relatives
every_close_or_extended_family_member = {
limit = { minor_interest_close_relatives_trigger = { CHARACTER = scope:minor_root LISTNAME = $LISTNAME$ } }
add_to_temporary_list = $LISTNAME$
}
if = { #Below is just for players
limit = { is_ai = no }
# 7 - Guardian
every_relation = {
type = guardian
limit = { NOT = { is_in_list = $LISTNAME$ } }
add_to_temporary_list = $LISTNAME$
}
# 8 - Ward
every_relation = {
type = ward
limit = { NOT = { is_in_list = $LISTNAME$ } }
add_to_temporary_list = $LISTNAME$
}
# 9 - Friends
every_relation = {
type = friend
limit = { NOT = { is_in_list = $LISTNAME$ } }
add_to_temporary_list = $LISTNAME$
}
# 10 - Knights
every_knight = {
limit = { NOT = { is_in_list = $LISTNAME$ } }
add_to_temporary_list = $LISTNAME$
}
# 11 - Highly skilled courtiers (players only)
if = {
limit = { is_ai = no }
every_courtier = {
limit = { minor_interest_skilled_courtiers_trigger = { LISTNAME = $LISTNAME$ } }
add_to_temporary_list = $LISTNAME$
}
}
every_liege_or_above = {
limit = { minor_interest_liege_or_above_trigger = { CHARACTER = scope:minor_root LISTNAME = $LISTNAME$ } }
add_to_temporary_list = $LISTNAME$
}
}
}As written in game/common/scripted_effects/00_relation_effects.txt.
Where it is used
Every place in common/, events/ and history/ that calls get_characters_of_minor_interest_effect.
Events (1)
- Kindred Spirits
diplomacy_majesty.0016
Scripted effects (2)
Source: game/common/scripted_effects/00_relation_effects.txt and every file of common/, events/ and history/ that calls it, Crusader Kings III 1.20.1.2.