Scripted effect · Khans of the Steppe files
mpo_blood_brother_new_family_member_opinion_effect
mpo_blood_brother_new_family_member_opinion_effect = yesgame/common/scripted_effects/09_dlc_mpo_scripted_effects.txt, line 4179 (46 lines). No parameters.
mpo_blood_brother_new_family_member_opinion_effect is a scripted effect in Crusader Kings III, in the Khans of the Steppe files, written at line 4179 of its file. It takes no parameters: mpo_blood_brother_new_family_member_opinion_effect = yes. The game's script calls it in 5 places, among them adoption.0001 (event), on_birth_child (on action) and on_marriage (on action). Patch 1.20.1.2, from game/common/scripted_effects/09_dlc_mpo_scripted_effects.txt.
What it does
Every line of it is script with no tooltip text: the script is below.
The script as written (46 lines of game script)
mpo_blood_brother_new_family_member_opinion_effect = {
hidden_effect = {
#Add blood brother close family opinion to actor's family
save_scope_as = new_kin
scope:other_blood_brother = {
add_to_list = other_blood_brother_family
add_character_flag = unhandled_family
every_child = {
add_to_list = other_blood_brother_family
add_character_flag = unhandled_family
}
primary_spouse ?= {
add_to_list = other_blood_brother_family
add_character_flag = unhandled_family
}
}
#Save other family on new kin
while = {
limit = {
any_in_list = {
list = other_blood_brother_family
has_character_flag = unhandled_family
}
}
random_in_list = {
list = other_blood_brother_family
limit = {
has_character_flag = unhandled_family
}
save_scope_as = other_blood_brother_picked_family
remove_character_flag = unhandled_family
}
scope:other_blood_brother_picked_family = {
add_opinion = {
target = scope:new_kin
modifier = blood_brother_close_family_opinion
}
reverse_add_opinion = {
target = scope:new_kin
modifier = blood_brother_close_family_opinion
}
}
clear_saved_scope = other_blood_brother_picked_family
}
}
}As written in game/common/scripted_effects/09_dlc_mpo_scripted_effects.txt.
Where it is used
Every place in common/, events/ and history/ that calls mpo_blood_brother_new_family_member_opinion_effect.
Events (1)
On actions (the game's own hooks) (2)
- on_birth_child
- on_marriage
Scripted effects (2)
Source: game/common/scripted_effects/09_dlc_mpo_scripted_effects.txt and every file of common/, events/ and history/ that calls it, Crusader Kings III 1.20.1.2.