Scripted effect
seduce_outcome_success_discovered_effect
seduce_outcome_success_discovered_effect = yesgame/common/scripted_effects/00_scheme_scripted_effects.txt, line 13502 (27 lines). No parameters.
seduce_outcome_success_discovered_effect is a scripted effect in Crusader Kings III, written at line 13502 of its file. It takes no parameters: seduce_outcome_success_discovered_effect = yes. The game's script calls it in 3 places, among them … Wrath (event seduce_outcome.2900), A Snake at Court (event seduce_outcome.3901) and A Snake at Court (event seduce_outcome.3902). Patch 1.20.1.2, from game/common/scripted_effects/00_scheme_scripted_effects.txt.
What it does
If
- Any secret:
One of these
secret_target = scope:targetor
secret_target = scope:owner
Then
- One random secret:
- Where:
One of these
secret_target = scope:targetor
secret_target = scope:owner
expose_secret = scope:target_liege
- Where:
Otherwise
scope:owner:seduce_outcome_discovered_expose_secrets_and_adultery_effect = { CHARACTER = scope:target EXPOSER = scope:target_liege }
scope:target:seduce_outcome_discovered_expose_secrets_and_adultery_effect = { CHARACTER = scope:owner EXPOSER = scope:target_liege }
- Any secret:
• 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 (27 lines of game script)
seduce_outcome_success_discovered_effect = {
if = {
limit = {
any_secret = {
type = secret_lover
OR = {
secret_target = scope:target
secret_target = scope:owner
}
}
}
random_secret = { #Revealing the secret will send events for both lovers
type = secret_lover
limit = {
OR = {
secret_target = scope:target
secret_target = scope:owner
}
}
expose_secret = scope:target_liege
}
}
else = {
scope:owner = { seduce_outcome_discovered_expose_secrets_and_adultery_effect = { CHARACTER = scope:target EXPOSER = scope:target_liege } }
scope:target = { seduce_outcome_discovered_expose_secrets_and_adultery_effect = { CHARACTER = scope:owner EXPOSER = scope:target_liege } }
}
}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_success_discovered_effect.
Events (3)
- … Wrath
seduce_outcome.2900 - A Snake at Court
seduce_outcome.3901 - A Snake at Court
seduce_outcome.3902
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.