Scripted effect · The Fate of Iberia files
synergise_friendship_interaction_bonus_combined_effect
synergise_friendship_interaction_bonus_combined_effect = { JUNIOR_CHARACTER = … SENIOR_CHARACTER = … }game/common/scripted_effects/03_dlc_fp2_scripted_effects.txt, line 661 (224 lines). Parameters: $JUNIOR_CHARACTER$, $SENIOR_CHARACTER$.
synergise_friendship_interaction_bonus_combined_effect is a scripted effect in Crusader Kings III, in the The Fate of Iberia files, written at line 661 of its file. A call passes 2 parameters: JUNIOR_CHARACTER and SENIOR_CHARACTER. The game's script calls it in 1 place, among them synergise_friendship_interaction_actual_effect (scripted effect). Patch 1.20.1.2, from game/common/scripted_effects/03_dlc_fp2_scripted_effects.txt.
The comment above it in the file
Being $SENIOR_CHARACTER$ doesn't actually do anything in this variant, just maintaining term parity with the other synergy effect.
What it does
Every line of it is script with no tooltip text: the script is below.
The script as written (120 lines of game script)
synergise_friendship_interaction_bonus_combined_effect = {
$SENIOR_CHARACTER$ = {
# Diplomacy combi-synergies.
if = {
limit = { has_trait = education_diplomacy }
# Diplomacy-Diplomacy
if = {
limit = {
$JUNIOR_CHARACTER$ = { has_trait = education_diplomacy }
}
add_character_modifier = fp2_double_synergy_diplomacy_diplomacy_modifier
$JUNIOR_CHARACTER$ = { add_character_modifier = fp2_double_synergy_diplomacy_diplomacy_modifier }
}
# Diplomacy-Martial
if = {
limit = {
$JUNIOR_CHARACTER$ = { has_trait = education_martial }
}
add_character_modifier = fp2_double_synergy_diplomacy_martial_modifier
$JUNIOR_CHARACTER$ = { add_character_modifier = fp2_double_synergy_diplomacy_martial_modifier }
}
# Diplomacy-Stewardship
if = {
limit = {
$JUNIOR_CHARACTER$ = { has_trait = education_stewardship }
}
add_character_modifier = fp2_double_synergy_diplomacy_stewardship_modifier
$JUNIOR_CHARACTER$ = { add_character_modifier = fp2_double_synergy_diplomacy_stewardship_modifier }
}
# Diplomacy-Intrigue
if = {
limit = {
$JUNIOR_CHARACTER$ = { has_trait = education_intrigue }
}
add_character_modifier = fp2_double_synergy_diplomacy_intrigue_modifier
$JUNIOR_CHARACTER$ = { add_character_modifier = fp2_double_synergy_diplomacy_intrigue_modifier }
}
# Diplomacy-Learning
if = {
limit = {
$JUNIOR_CHARACTER$ = { has_trait = education_learning }
}
add_character_modifier = fp2_double_synergy_diplomacy_learning_modifier
$JUNIOR_CHARACTER$ = { add_character_modifier = fp2_double_synergy_diplomacy_learning_modifier }
}
}
# Martial combi-synergies.
if = {
limit = { has_trait = education_martial }
# Martial-Diplomacy
if = {
limit = {
$JUNIOR_CHARACTER$ = { has_trait = education_diplomacy }
}
add_character_modifier = fp2_double_synergy_martial_diplomacy_modifier
$JUNIOR_CHARACTER$ = { add_character_modifier = fp2_double_synergy_martial_diplomacy_modifier }
}
# Martial-Martial
if = {
limit = {
$JUNIOR_CHARACTER$ = { has_trait = education_martial }
}
add_character_modifier = fp2_double_synergy_martial_martial_modifier
$JUNIOR_CHARACTER$ = { add_character_modifier = fp2_double_synergy_martial_martial_modifier }
}
# Martial-Stewardship
if = {
limit = {
$JUNIOR_CHARACTER$ = { has_trait = education_stewardship }
}
add_character_modifier = fp2_double_synergy_martial_stewardship_modifier
$JUNIOR_CHARACTER$ = { add_character_modifier = fp2_double_synergy_martial_stewardship_modifier }
}
# Martial-Intrigue
if = {
limit = {
$JUNIOR_CHARACTER$ = { has_trait = education_intrigue }
}
add_character_modifier = fp2_double_synergy_martial_intrigue_modifier
$JUNIOR_CHARACTER$ = { add_character_modifier = fp2_double_synergy_martial_intrigue_modifier }
}
# Martial-Learning
if = {
limit = {
$JUNIOR_CHARACTER$ = { has_trait = education_learning }
}
add_character_modifier = fp2_double_synergy_martial_learning_modifier
$JUNIOR_CHARACTER$ = { add_character_modifier = fp2_double_synergy_martial_learning_modifier }
}
}
# Stewardship combi-synergies.
if = {
limit = { has_trait = education_stewardship }
# Stewardship-Diplomacy
if = {
limit = {
$JUNIOR_CHARACTER$ = { has_trait = education_diplomacy }
}
add_character_modifier = fp2_double_synergy_stewardship_diplomacy_modifier
$JUNIOR_CHARACTER$ = { add_character_modifier = fp2_double_synergy_stewardship_diplomacy_modifier }
}
# Stewardship-Martial
if = {
limit = {
$JUNIOR_CHARACTER$ = { has_trait = education_martial }
}
add_character_modifier = fp2_double_synergy_stewardship_martial_modifier
$JUNIOR_CHARACTER$ = { add_character_modifier = fp2_double_synergy_stewardship_martial_modifier }
}
# Stewardship-Stewardship
if = {
limit = {
$JUNIOR_CHARACTER$ = { has_trait = education_stewardship }
}
add_character_modifier = fp2_double_synergy_stewardship_stewardship_modifier
$JUNIOR_CHARACTER$ = { add_character_modifier = fp2_double_synergy_stewardship_stewardship_modifier }
}
# Stewardship-Intrigue
if = {
limit = {As written in game/common/scripted_effects/03_dlc_fp2_scripted_effects.txt.
The first 120 of its 224 lines; the rest is in game/common/scripted_effects/03_dlc_fp2_scripted_effects.txt from line 661.
Where it is used
Every place in common/, events/ and history/ that calls synergise_friendship_interaction_bonus_combined_effect.
Scripted effects (1)
Source: game/common/scripted_effects/03_dlc_fp2_scripted_effects.txt and every file of common/, events/ and history/ that calls it, Crusader Kings III 1.20.1.2.