Scripted effect · Friends and Foes files
house_feud_lover_exposure_effect
house_feud_lover_exposure_effect = yesgame/common/scripted_effects/03_bp1_scripted_effects.txt, line 469 (107 lines). No parameters.
house_feud_lover_exposure_effect is a scripted effect in Crusader Kings III, in the Friends and Foes files, written at line 469 of its file. It takes no parameters: house_feud_lover_exposure_effect = yes. The game's script calls it in 1 place, among them extramarital_sex_exposure_consequences_effect (scripted effect). Patch 1.20.1.2, from game/common/scripted_effects/03_bp1_scripted_effects.txt.
The comment above it in the file
Feud cuckoldry score and event effects
What it does
Every line of it is script with no tooltip text: the script is below.
The script as written (107 lines of game script)
house_feud_lover_exposure_effect = {
hidden_effect = {
if = {
limit = {
has_bp1_dlc_trigger = yes
is_married = yes
any_spouse = {
exists = house.house_head
house.house_head ?= {
valid_for_feud_events_with_target_trigger = { TARGET = scope:sex_partner }
NOT = {
accepts_adultery_without_penalty_trigger = yes
}
}
}
}
# Save cheating spouse scope for reference
save_scope_as = house_feud_spouse
# Save cuckolder's scopes for reference
scope:sex_partner = { house_feud_save_head_and_attacker_effect = yes }
every_spouse = {
limit = {
house.house_head ?= {
valid_for_feud_events_with_target_trigger = { TARGET = scope:sex_partner }
}
}
# Save cuckolded spouse for reference
save_scope_as = house_feud_victim
house.house_head = {
# Chance for House Head to have option to start Feud
random = {
chance = 75
modifier = {
add = 25
has_trait = vengeful
}
modifier = {
add = -25
has_trait = forgiving
}
modifier = {
add = -25
has_any_bad_relationship_with_character_trigger = { CHARACTER = scope:sex_partner }
}
# House Head version
if = {
limit = { is_spouse_of = scope:house_feud_spouse }
trigger_event = {
id = bp1_house_feud.0013
days = { 5 15 }
}
}
# Close family version
else = {
trigger_event = {
id = bp1_house_feud.0014
days = { 5 15 }
}
}
}
}
}
}
# Score and message effects
if = {
limit = {
exists = scope:sex_partner.house.house_head
any_spouse = {
save_temporary_scope_as = house_feud_cuckolded_temp_1
scope:sex_partner = {
house_has_feud_relation_with_trigger = { TARGET = scope:house_feud_cuckolded_temp_1 }
}
save_temporary_scope_as = house_feud_cuckolded_temp_2
}
}
scope:house_feud_cuckolded_temp_2 = { save_scope_as = house_feud_cuckolded }
scope:sex_partner.house = {
change_house_relation_feud_score_effect = {
TARGET = scope:house_feud_cuckolded.house
REASON = cuckolded
VALUE = house_feud_minor_counter_value
}
# If original Feud reason was cuckolding, fire revenge event for House Head
if = {
limit = {
any_house_relation = {
has_house_relation_level = feud
any_relation_house = {
NOT = { this = scope:sex_partner.house }
this = scope:house_feud_cuckolded.house
}
OR = {
var:house_feud_reason ?= flag:head_cuckolded
var:house_feud_reason ?= flag:family_cuckolded
}
var:house_feud_attacker ?= scope:house_feud_cuckolded
NOT = { exists = var:feud_avenged }
}
}
house_head = {
trigger_event = { id = bp1_house_feud.7003 days = 15 }
}
}
}
}
}
}As written in game/common/scripted_effects/03_bp1_scripted_effects.txt.
Where it is used
Every place in common/, events/ and history/ that calls house_feud_lover_exposure_effect.
Scripted effects (1)
Source: game/common/scripted_effects/03_bp1_scripted_effects.txt and every file of common/, events/ and history/ that calls it, Crusader Kings III 1.20.1.2.