Scripted effect
seduce_outcome_publicised_attempted_crimes_or_nothing_effect
seduce_outcome_publicised_attempted_crimes_or_nothing_effect = { OWNER = … TARGET = … }game/common/scripted_effects/00_scheme_scripted_effects.txt, line 13530 (221 lines). Parameters: $OWNER$, $TARGET$.
seduce_outcome_publicised_attempted_crimes_or_nothing_effect is a scripted effect in Crusader Kings III, written at line 13530 of its file. A call passes 2 parameters: OWNER and TARGET. The game's script calls it in 6 places, among them … Love (event seduce_outcome.8101), … Wrath (event seduce_outcome.4005) and A Sensual Proposal (event seduce_outcome.0003). Patch 1.20.1.2, from game/common/scripted_effects/00_scheme_scripted_effects.txt.
What it does
Every line of it is script with no tooltip text: the script is below.
The script as written (120 lines of game script)
seduce_outcome_publicised_attempted_crimes_or_nothing_effect = {
$TARGET$ = {
#Grab everyone relevant who might be interested in the attempt.
every_close_family_member = { add_to_list = relevant_parties }
every_consort = {
limit = {
NOT = { is_in_list = relevant_parties }
}
add_to_list = relevant_parties
}
if = {
limit = {
liege ?= {
NOT = { is_in_list = relevant_parties }
}
}
add_to_list = relevant_parties
}
if = {
limit = {
court_owner ?= {
NOT = { is_in_list = relevant_parties }
}
}
add_to_list = relevant_parties
}
every_vassal = {
limit = {
NOT = { is_in_list = relevant_parties }
}
add_to_list = relevant_parties
}
every_relation = {
type = friend
limit = {
NOT = { is_in_list = relevant_parties }
}
add_to_list = relevant_parties
}
every_relation = {
type = lover
limit = {
NOT = { is_in_list = relevant_parties }
}
add_to_list = relevant_parties
}
$OWNER$ = {
every_close_family_member = {
limit = {
NOT = { is_in_list = relevant_parties }
}
add_to_list = relevant_parties
}
}
#Adulterer
if = {
limit = {
$OWNER$ = { is_married = yes }
trait_is_shunned_or_criminal_in_rite_trigger = {
TRAIT = trait:adulterer
RITE = this.rite
GENDER_CHARACTER = $OWNER$
}
}
every_in_list = {
list = relevant_parties
limit = {
#Filter out anyone who wouldn't care about this.
NOR = {
#Kids too young to understand the bias have no prejudice.
is_adult = no
#Not compos mentis.
has_trait = incapable
#People who are adulterers.
has_trait = adulterer
#The person doing the seducing don't think less of themselves either.
this = $OWNER$
}
#And who count the action as adulterous.
trait_is_shunned_or_criminal_in_rite_trigger = {
TRAIT = trait:adulterer
RITE = rite
GENDER_CHARACTER = $OWNER$
}
}
custom = characters_close_to_target_who_dislike_adultery
#Apply attempt opinion effects.
add_opinion = {
modifier = adulterer_advances_on_relevant_character
target = $OWNER$
}
}
}
#Fornicator
if = {
limit = {
$OWNER$ = { is_married = no }
trait_is_shunned_or_criminal_in_rite_trigger = {
TRAIT = trait:fornicator
RITE = rite
GENDER_CHARACTER = $OWNER$
}
}
every_in_list = {
list = relevant_parties
limit = {
#Filter out anyone who wouldn't care about this.
NOR = {
#Kids too young to understand the bias have no prejudice.
is_adult = no
#Not compos mentis.
has_trait = incapable
#People who are fornicators.
has_trait = fornicator
#The person doing the seducing don't think less of themselves either.
this = $OWNER$
}
#And who count the action to be fornication.As written in game/common/scripted_effects/00_scheme_scripted_effects.txt.
The first 120 of its 221 lines; the rest is in game/common/scripted_effects/00_scheme_scripted_effects.txt from line 13530.
Where it is used
Every place in common/, events/ and history/ that calls seduce_outcome_publicised_attempted_crimes_or_nothing_effect.
Events (6)
- … Love
seduce_outcome.8101 - … Wrath
seduce_outcome.4005 - A Sensual Proposal
seduce_outcome.0003 - A Snake at Court
seduce_outcome.4900 - Exposed
seduce_outcome.4003 - Spurned and Exposed
seduce_outcome.8103
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.