Scripted trigger
would_attempt_to_seduce_married_trigger
would_attempt_to_seduce_married_trigger = yesgame/common/scripted_triggers/00_adultery_triggers.txt, line 102 (28 lines). No parameters.
would_attempt_to_seduce_married_trigger is a scripted trigger in Crusader Kings III, written at line 102 of its file. It takes no parameters: would_attempt_to_seduce_married_trigger = yes (or no). The game's script calls it in 4 places, among them Alone in the Dark (event tour_travel.3020), Into the Night (event ep2_wedding.3420) and suitably_flirty_knight (local trigger). Patch 1.20.1.2, from game/common/scripted_triggers/00_adultery_triggers.txt.
What it checks
- If married:
One of these
All of these
is_female = yes- Their rite: The rite has Women with the Adulterer or Fornicator Trait are fully accepted
or
All of these
is_male = yes- Their rite: The rite has Men with the Adulterer or Fornicator Trait are fully accepted
or
Does not have the Trait: Zealousor
NOT = { save_temporary_scope_as = potential_cheater }or
Opinion of potential_cheater.primary_spouse less than 25or
Ai honor less than 20
• 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 (28 lines of game script)
would_attempt_to_seduce_married_trigger = {
trigger_if = {
limit = { is_married = yes }
OR = {
# Adultery is accepted for their gender in their faith
AND = {
is_female = yes
rite = { rite_has_parameter = adultery_female_accepted }
}
AND = {
is_male = yes
rite = { rite_has_parameter = adultery_male_accepted }
}
NOR = {
# Isn't god-fearing
has_trait = zealous
save_temporary_scope_as = potential_cheater
# Isn't that fond of partner
opinion = {
target = scope:potential_cheater.primary_spouse
value >= 25
}
# Isn't honorable
ai_honor >= low_positive_ai_value
}
}
}
}As written in game/common/scripted_triggers/00_adultery_triggers.txt.
Where it is used
Every place in common/, events/ and history/ that calls would_attempt_to_seduce_married_trigger.
Events (2)
- Alone in the Dark
tour_travel.3020 - Into the Night
ep2_wedding.3420
Scripted triggers inside an event file (1)
- suitably_flirty_knight
Scripted triggers (1)
Source: game/common/scripted_triggers/00_adultery_triggers.txt and every file of common/, events/ and history/ that calls it, Crusader Kings III 1.20.1.2.