idk why I dont have a cursor
This commit is contained in:
parent
701d55c01f
commit
cda3acdcea
349 changed files with 78627 additions and 7804 deletions
129
common/scripted_triggers/00_adultery_triggers.txt
Normal file
129
common/scripted_triggers/00_adultery_triggers.txt
Normal file
|
|
@ -0,0 +1,129 @@
|
|||
# This character is publicly known for cheating on the SPOUSE
|
||||
exposed_cheating_on_spouse_trigger = { #Is a publicly known cheater against spouse
|
||||
OR = {
|
||||
reverse_has_opinion_modifier = {
|
||||
modifier = unfaithful_spouse_exposed_opinion
|
||||
target = $SPOUSE$
|
||||
}
|
||||
AND = {
|
||||
has_variable = std_from_unfaithfulness_against
|
||||
var:std_from_unfaithfulness_against = $SPOUSE$
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
would_attempt_to_seduce_trigger = {
|
||||
is_adult = yes
|
||||
age <= 50
|
||||
# Already interested or not a relation
|
||||
trigger_if = {
|
||||
limit = { has_any_scripted_relation = $CHARACTER$ }
|
||||
OR = {
|
||||
has_relation_potential_lover = $CHARACTER$
|
||||
has_relation_crush = $CHARACTER$
|
||||
}
|
||||
}
|
||||
# Not married
|
||||
NOT = { is_consort_of = $CHARACTER$ }
|
||||
OR = {
|
||||
# Pre-existing schemes
|
||||
is_scheming_against = {
|
||||
target = $CHARACTER$
|
||||
type = seduce
|
||||
}
|
||||
is_scheming_against = {
|
||||
target = $CHARACTER$
|
||||
type = courting
|
||||
}
|
||||
AND = {
|
||||
# Sexuality
|
||||
is_attracted_to_gender_of = $CHARACTER$
|
||||
NOR = {
|
||||
# Proactive
|
||||
has_trait = chaste
|
||||
# Undevoted
|
||||
any_relation = { type = soulmate }
|
||||
}
|
||||
# Compatible or attractive
|
||||
OR = {
|
||||
trait_compatibility = {
|
||||
target = $CHARACTER$
|
||||
value >= low_positive_trait_compatibility
|
||||
}
|
||||
$CHARACTER$.attraction >= medium_positive_attraction
|
||||
}
|
||||
}
|
||||
}
|
||||
# Flouts the laws of decency
|
||||
would_attempt_to_seduce_incest_trigger = { CHARACTER = $CHARACTER$ }
|
||||
# Flouts the sanctity of marriage
|
||||
would_attempt_to_seduce_married_trigger = yes
|
||||
}
|
||||
|
||||
would_attempt_to_seduce_incest_trigger = {
|
||||
trigger_if = {
|
||||
limit = {
|
||||
save_temporary_scope_as = potential_cheater
|
||||
OR = {
|
||||
# Checks for incest
|
||||
relation_with_character_is_incestuous_in_faith_trigger = {
|
||||
FAITH = scope:potential_cheater.faith
|
||||
CHARACTER = $CHARACTER$
|
||||
}
|
||||
# Check celibate clergy too since it's a similar overcoming of norms
|
||||
AND = {
|
||||
is_clergy = yes
|
||||
faith = { has_doctrine = doctrine_clerical_marriage_allowed }
|
||||
}
|
||||
}
|
||||
}
|
||||
# Isn't god-fearing
|
||||
NOT = { has_trait = zealous }
|
||||
# Is randy
|
||||
has_trait = lustful
|
||||
# Takes what they want
|
||||
ai_boldness >= medium_positive_ai_value
|
||||
# Likes them
|
||||
opinion = {
|
||||
target = $CHARACTER$
|
||||
value >= 25
|
||||
}
|
||||
# Big attraction or get on very well
|
||||
OR = {
|
||||
trait_compatibility = {
|
||||
target = $CHARACTER$
|
||||
value >= medium_positive_trait_compatibility
|
||||
}
|
||||
$CHARACTER$.attraction >= medium_positive_attraction
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
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
|
||||
faith = { has_doctrine_parameter = adultery_female_accepted }
|
||||
}
|
||||
AND = {
|
||||
is_male = yes
|
||||
faith = { has_doctrine_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
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue