Scripted effect
extramarital_sex_attempt_exposure_consequences_with_target_effect
extramarital_sex_attempt_exposure_consequences_with_target_effect = { SPOUSE_EVENT = … TARGET = … }game/common/scripted_effects/00_adultery_effects.txt, line 158 (9 lines). Parameters: $SPOUSE_EVENT$, $TARGET$.
extramarital_sex_attempt_exposure_consequences_with_target_effect is a scripted effect in Crusader Kings III, written at line 158 of its file. A call passes 2 parameters: SPOUSE_EVENT and TARGET. The game's script calls it in 1 place, among them seduce_outcome_discovered_expose_secrets_and_adultery_effect (scripted effect). Patch 1.20.1.2, from game/common/scripted_effects/00_adultery_effects.txt.
What it does
Every line of it is script with no tooltip text: the script is below.
The script as written (9 lines of game script)
extramarital_sex_attempt_exposure_consequences_with_target_effect = {
#Applies traits, piety level loss, unfaithfulness opinions
$TARGET$ = { save_scope_as = sex_partner }
save_scope_value_as = { #For use desc in adultery.4001
name = unsuccessful_sex_attempt
value = yes
}
extramarital_sex_exposure_consequences_effect = { SPOUSE_EVENT = $SPOUSE_EVENT$ }
}As written in game/common/scripted_effects/00_adultery_effects.txt.
Where it is used
Every place in common/, events/ and history/ that calls extramarital_sex_attempt_exposure_consequences_with_target_effect.
Scripted effects (1)
Source: game/common/scripted_effects/00_adultery_effects.txt and every file of common/, events/ and history/ that calls it, Crusader Kings III 1.20.1.2.