Scripted effect
seduce_outcome_discovered_expose_secrets_and_adultery_effect
seduce_outcome_discovered_expose_secrets_and_adultery_effect = { CHARACTER = … EXPOSER = … }game/common/scripted_effects/00_scheme_scripted_effects.txt, line 13479 (17 lines). Parameters: $CHARACTER$, $EXPOSER$.
seduce_outcome_discovered_expose_secrets_and_adultery_effect is a scripted effect in Crusader Kings III, written at line 13479 of its file. A call passes 2 parameters: CHARACTER and EXPOSER. The game's script calls it in 2 places, among them yearly_1081_reveal_guilt_effect (local effect) and seduce_outcome_success_discovered_effect (scripted effect). Patch 1.20.1.2, from game/common/scripted_effects/00_scheme_scripted_effects.txt.
What it does
extramarital_sex_attempt_exposure_consequences_with_target_effect = { TARGET = $CHARACTER$ SPOUSE_EVENT = yes }If
relation_with_character_is_incestuous_in_my_or_lieges_rite_trigger = { CHARACTER = $CHARACTER$ }
Then
- One random secret:
expose_secret = $EXPOSER$
If
relation_with_character_is_sodomy_in_my_or_lieges_rite_trigger = { CHARACTER = $CHARACTER$ }
Then
- One random secret:
expose_secret = $EXPOSER$
• the game's own tooltip text · ◦ our reading of the script line · code the script where neither exists
“They” is whatever it runs on (the scope it is called in). The scripted triggers and effects it calls link to their own pages; $PARAMETERS$ stay as written: each call fills them in.
The script as written (17 lines of game script)
seduce_outcome_discovered_expose_secrets_and_adultery_effect = {
extramarital_sex_attempt_exposure_consequences_with_target_effect = { TARGET = $CHARACTER$ SPOUSE_EVENT = yes } #Adds trait
if = {
limit = { relation_with_character_is_incestuous_in_my_or_lieges_rite_trigger = { CHARACTER = $CHARACTER$ } }
random_secret = {
type = secret_incest
expose_secret = $EXPOSER$
}
}
if = {
limit = { relation_with_character_is_sodomy_in_my_or_lieges_rite_trigger = { CHARACTER = $CHARACTER$ } }
random_secret = {
type = secret_homosexual
expose_secret = $EXPOSER$
}
}
}As written in game/common/scripted_effects/00_scheme_scripted_effects.txt.
Where it is used
Every place in common/, events/ and history/ that calls seduce_outcome_discovered_expose_secrets_and_adultery_effect.
Scripted effects inside an event file (1)
- yearly_1081_reveal_guilt_effect
Scripted effects (1)
Source: game/common/scripted_effects/00_scheme_scripted_effects.txt and every file of common/, events/ and history/ that calls it, Crusader Kings III 1.20.1.2.