Scripted effect
fp2_had_friend_with_benefits
fp2_had_friend_with_benefits = yesgame/common/scripted_effects/00_achievement_effects.txt, line 59 (17 lines). No parameters.
fp2_had_friend_with_benefits is a scripted effect in Crusader Kings III, written at line 59 of its file. It takes no parameters: fp2_had_friend_with_benefits = yes. The game's script calls it in 1 place, among them had_sex_with_effect (scripted effect). Patch 1.20.1.2, from game/common/scripted_effects/00_achievement_effects.txt.
What it does
Every line of it is script with no tooltip text: the script is below.
The script as written (17 lines of game script)
fp2_had_friend_with_benefits = { # History's Best Friend
if = {
limit = {
is_ai = no
has_fp2_dlc_trigger = yes
has_relation_best_friend = scope:had_sex_with_effect_partner
AND = { # Implicit for readability
culture = { has_cultural_tradition = tradition_fp2_ritualised_friendship }
scope:had_sex_with_effect_partner.culture = { has_cultural_tradition = tradition_fp2_ritualised_friendship }
}
}
add_achievement_global_variable_effect = { # (Has additional check for consistency)
VARIABLE = fp2_historys_best_friends_achievement_unlocked
VALUE = yes
}
}
}As written in game/common/scripted_effects/00_achievement_effects.txt.
Where it is used
Every place in common/, events/ and history/ that calls fp2_had_friend_with_benefits.
Scripted effects (1)
Source: game/common/scripted_effects/00_achievement_effects.txt and every file of common/, events/ and history/ that calls it, Crusader Kings III 1.20.1.2.