revert Alignment
This commit is contained in:
Vannifar 2026-04-25 10:02:11 +02:00
parent 15a5108e23
commit c4b6d9bdeb
250 changed files with 11067 additions and 16365 deletions

View file

@ -12,6 +12,7 @@
scripted_trigger ep2_accolade_events_0100_hunting_knight_trigger = {
accolade ?= {
is_accolade_active = yes
has_accolade_parameter = acclaimed_knight_trains_hunting
}
is_healthy = yes
@ -244,6 +245,7 @@ ep2_accolade_events.0100 = {
scripted_trigger ep2_accolade_events_0200_blademaster_knight_trigger = {
accolade ?= {
is_accolade_active = yes
has_accolade_parameter = acclaimed_knight_trains_swordfighting
}
is_healthy = yes
@ -941,6 +943,7 @@ ep2_accolade_events.0200 = {
scripted_trigger ep2_accolade_events_0300_reveler_knight_trigger = {
accolade ?= {
is_accolade_active = yes
has_accolade_parameter = acclaimed_knight_trains_reveling
}
is_healthy = yes
@ -1164,7 +1167,7 @@ ep2_accolade_events.0300 = {
culture = {
OR = {
has_cultural_tradition = tradition_festivities
has_cultural_tradition = tradition_welcoming
has_cultural_tradition = tradition_esteemed_hospitality
}
}
faith = {

File diff suppressed because it is too large Load diff

View file

@ -50,11 +50,7 @@ ep2_wedding.0101 = {
text = ep2_wedding.0101.a_lowborn
}
custom_tooltip = ep2_wedding.0101.a.tt
set_variable = {
name = bloody_wedding_murder
value = flag:family
years = 1
}
set_variable = bloody_wedding_murder_family_var
ai_chance = {
base = 100
modifier = {
@ -86,12 +82,8 @@ ep2_wedding.0101 = {
option = { #kill only the spouse
name = ep2_wedding.0101.b
custom_tooltip = ep2_wedding.0101.a.tt
set_variable = {
name = bloody_wedding_murder
value = flag:solo
years = 1
}
ai_chance = {
set_variable = bloody_wedding_murder_solo_var
ai_chance = {
base = 100
modifier = {
OR = {
@ -121,12 +113,8 @@ ep2_wedding.0101 = {
}
}
}
set_variable = {
name = bloody_wedding_murder
value = flag:spouse
years = 1
}
ai_chance = {
set_variable = bloody_wedding_murder_spouse_var
ai_chance = {
base = 100
modifier = {
OR = {
@ -315,7 +303,7 @@ ep2_wedding.0202 = {
trigger = {
exists = scope:activity
var:bloody_wedding_murder ?= flag:family
has_variable = bloody_wedding_murder_family_var
}
immediate = {
@ -596,7 +584,7 @@ ep2_wedding.0203 = {
trigger = {
exists = scope:activity
var:bloody_wedding_murder ?= flag:solo
has_variable = bloody_wedding_murder_solo_var
}
immediate = {
@ -983,19 +971,19 @@ ep2_wedding.0301 = {
first_valid = {
triggered_desc = { #Your mercenaries killed everyone
trigger = {
var:bloody_wedding_murder ?= flag:family
has_variable = bloody_wedding_murder_family_var
}
desc = ep2_wedding.0301.desc.family
}
triggered_desc = { #Agent killed the spouse
trigger = {
var:bloody_wedding_murder ?= flag:solo
has_variable = bloody_wedding_murder_solo_var
}
desc = ep2_wedding.0301.desc.agent
}
triggered_desc = { #Spouse died during the wedding night
trigger = {
var:bloody_wedding_murder ?= flag:spouse
has_variable = bloody_wedding_murder_spouse_var
}
desc = ep2_wedding.0301.desc.wedding_night
}
@ -1004,7 +992,7 @@ ep2_wedding.0301 = {
triggered_desc = { #You're the spouse - wedding night kill
trigger = {
scope:spouse_1 = root
var:bloody_wedding_murder ?= flag:spouse
has_variable = bloody_wedding_murder_spouse_var
}
desc = ep2_wedding.0301.spouse_wnight
}
@ -1124,19 +1112,19 @@ ep2_wedding.0302 = {
first_valid = {
triggered_desc = { #Host killed everyone
trigger = {
scope:host = { var:bloody_wedding_murder ?= flag:family }
scope:host = { has_variable = bloody_wedding_murder_family_var }
}
desc = ep2_wedding.0302.desc.family
}
triggered_desc = { #Agent killed the spouse
trigger = {
scope:host = { var:bloody_wedding_murder ?= flag:solo }
scope:host = { has_variable = bloody_wedding_murder_solo_var }
}
desc = ep2_wedding.0302.desc.agent
}
triggered_desc = { #Spouse died during the wedding night
trigger = {
scope:host = { var:bloody_wedding_murder ?= flag:spouse }
scope:host = { has_variable = bloody_wedding_murder_spouse_var }
}
desc = ep2_wedding.0302.desc.wedding_night
}
@ -1197,7 +1185,7 @@ ep2_wedding.0302 = {
scope:activity.var:spouse_2_var = { save_scope_as = spouse_2 }
if = {
limit = {
scope:host = { var:bloody_wedding_murder ?= flag:family }
scope:host = { has_variable = bloody_wedding_murder_family_var }
}
show_as_tooltip = {
scope:activity = {
@ -1220,8 +1208,8 @@ ep2_wedding.0302 = {
limit = {
scope:host = {
OR = {
var:bloody_wedding_murder ?= flag:solo
var:bloody_wedding_murder ?= flag:spouse
has_variable = bloody_wedding_murder_solo_var
has_variable = bloody_wedding_murder_spouse_var
}
}
}
@ -1500,9 +1488,9 @@ ep2_wedding.0955 = {
ep2_wedding.0958 = { #variable clean up - done in an event so they persist for the guests
hidden = yes
immediate = {
remove_variable ?= bloody_wedding_murder
remove_variable ?= bloody_wedding_backed_down_var
remove_variable ?= bloody_murder_fail
remove_variable ?= bloody_wedding_murder_family_var
remove_variable ?= bloody_wedding_murder_solo_var
remove_variable ?= bloody_wedding_murder_spouse_var
}
}
@ -1606,13 +1594,13 @@ ep2_wedding.0204 = {
#we assume you're the spouse otherwise
triggered_desc = {
trigger = {
scope:host = { var:bloody_wedding_murder ?= flag:family }
scope:host = { has_variable = bloody_wedding_murder_family_var }
}
desc = ep2_wedding.0204.desc.family
}
triggered_desc = {
trigger = {
scope:host = { var:bloody_wedding_murder ?= flag:solo }
scope:host = { has_variable = bloody_wedding_murder_solo_var }
}
desc = ep2_wedding.0204.desc.solo
}
@ -1634,7 +1622,7 @@ ep2_wedding.0204 = {
lower_center_portrait = {
trigger = {
root != scope:spouse_2
NOT = { scope:host = { var:bloody_wedding_murder ?= flag:solo } }
NOT = { scope:host = { has_variable = bloody_wedding_murder_solo_var } }
}
character = scope:spouse_2
}
@ -1642,7 +1630,7 @@ ep2_wedding.0204 = {
trigger = {
exists = scope:entourage_1
root != scope:entourage_1
NOT = { scope:host = { var:bloody_wedding_murder ?= flag:solo } }
NOT = { scope:host = { has_variable = bloody_wedding_murder_solo_var } }
}
character = scope:entourage_1
}
@ -1650,7 +1638,7 @@ ep2_wedding.0204 = {
trigger = {
exists = scope:entourage_2
root != scope:entourage_2
NOT = { scope:host = { var:bloody_wedding_murder ?= flag:solo } }
NOT = { scope:host = { has_variable = bloody_wedding_murder_solo_var } }
}
character = scope:entourage_2
}

View file

@ -85,113 +85,43 @@ ep2_wedding.0001 = {
lower_center_portrait = scope:spouse_2
trigger = {
var:promised_grand_wedding_marriage_countdown ?= {
is_alive = yes
is_available_allow_travelling = yes
age >= 19
save_temporary_scope_as = spouse_1
betrothed = {
is_alive = yes
is_available_allow_travelling = yes
age >= 19
can_marry_character_trigger = { CHARACTER = scope:spouse_1 }
}
}
exists = var:promised_grand_wedding_marriage_countdown
has_variable = promised_grand_wedding_marriage_countdown
var:promised_grand_wedding_marriage_countdown = { is_alive = yes }
exists = var:promised_grand_wedding_marriage_countdown.betrothed
NOT = {
involved_activity ?= {
has_activity_type = activity_wedding
activity_host = root
}
}
var:promised_grand_wedding_marriage_countdown = { age >= 19 }
var:promised_grand_wedding_marriage_countdown.betrothed = { age >= 19 }
}
# This event shouldn't trigger unless the spouses have been adult and marriable for at least 3 years in any case, but to prevent edge cases, we check that they are adult, and if they are not or have not been for at least 3 years, we try again one year later
on_trigger_fail = {
if = {
limit = {
# you are not in this GW
NOT = {
involved_activity ?= {
has_activity_type = activity_wedding
activity_host = root
}
}
}
var:promised_grand_wedding_marriage_countdown ?= {
save_scope_as = spouse_1
betrothed ?= { save_scope_as = spouse_2 }
}
if = {
limit = {
exists = scope:spouse_1
exists = scope:spouse_2
}
if = {
limit = {
# no longer valid marriage, e.g. devoted
scope:spouse_1 ?= {
NOT = {
can_marry_character_trigger = { CHARACTER = scope:spouse_2 }
}
}
}
# TODO informing event
clean_grand_wedding_betrothal_variables = yes
}
else_if = {
limit = {
scope:spouse_1 ?= {
OR = {
age < 19
scope:spouse_2.age < 19
# grace period for illness
AND = {
is_available_allow_travelling = no
age < 25
}
scope:spouse_2 = {
is_available_allow_travelling = no
age < 25
}
}
}
}
trigger_event = {
id = ep2_wedding.0001
days = 365
}
set_variable = {
name = promised_grand_wedding_marriage_countdown
value = scope:spouse_1
years = grand_wedding_timeout
}
}
# both adult, but can't attend for a reallly long time
else_if = {
limit = {
scope:spouse_1 ?= {
age >= 25
scope:spouse_2.age >= 25
OR = {
is_available_allow_travelling = no
scope:spouse_2 = {
is_available_allow_travelling = no
}
}
}
}
# TODO: add an event
clean_grand_wedding_betrothal_variables = yes
}
else_if = {
limit = {
has_variable = promised_grand_wedding_marriage_countdown
}
clean_grand_wedding_betrothal_variables = yes
}
}
}
}
if = {
limit = {
has_variable = promised_grand_wedding_marriage_countdown
}
if = {
limit = { exists = var:promised_grand_wedding_marriage_countdown }
trigger_event = {
id = ep2_wedding.0001
days = 365
}
set_variable = {
name = promised_grand_wedding_marriage_countdown
value = var:promised_grand_wedding_marriage_countdown
years = grand_wedding_timeout
}
}
else = {
remove_variable = promised_grand_wedding_marriage_countdown
}
}
}
immediate = {
var:promised_grand_wedding_marriage_countdown = {
@ -228,7 +158,7 @@ ep2_wedding.0002 = {
option = {
name = ep2_wedding.0002.a
clean_grand_wedding_betrothal_variables = yes
remove_variable = promised_grand_wedding_marriage_countdown
}
}
@ -272,10 +202,8 @@ ep2_wedding.0100 = {
root = scope:spouse_2
}
}
desc = {
desc = ep2_wedding.0100.desc_host
desc = ep2_wedding.0100.desc_host_outro
}
desc = ep2_wedding.0100.desc_host
desc = ep2_wedding.0100.desc_host_outro
}
triggered_desc = {
trigger = {
@ -461,8 +389,12 @@ ep2_wedding.0150 = {
scope:activity.special_guest:spouse_2 = {
save_scope_as = spouse_2
}
check_officiant_effect = yes
scope:activity.var:officiant ?= { save_scope_as = officiant }
if = {
limit = {
exists = scope:activity.special_guest:officiant
}
scope:activity.special_guest:officiant = { save_scope_as = officiant }
}
scope:spouse_1 = {
show_as_tooltip = {
marry = scope:spouse_2
@ -506,7 +438,13 @@ ep2_wedding.0151 = {
first_valid = {
triggered_desc = {
trigger = {
is_bloody_wedding = yes
scope:activity = {
has_activity_option = {
category = special_type
option = wedding_type_bloody
}
}
scope:host = { NOT = { has_variable = bloody_wedding_backed_down_var } }
}
desc = ep2_wedding.0151.desc.murder
}
@ -771,8 +709,10 @@ ep2_wedding.0151 = {
}
}
}
scope:spouse_1 = { remove_variable = promised_grand_wedding_by }
scope:spouse_2 = { remove_variable = promised_grand_wedding_by }
scope:host = {
clean_grand_wedding_betrothal_variables = yes
remove_variable = promised_grand_wedding_marriage_countdown
}
# The marriage should not be consummated before the Wedding Night!
hidden_effect = {
@ -889,7 +829,12 @@ ep2_wedding.0200 = {
triggered_desc = {
trigger = { #spouse and bloody wedding
this = scope:host
is_bloody_wedding = yes
scope:activity = {
has_activity_option = {
category = special_type
option = wedding_type_bloody
}
}
root = scope:spouse_1
}
desc = ep2_wedding.0200.desc.murder_spouse
@ -897,7 +842,12 @@ ep2_wedding.0200 = {
triggered_desc = { #bloody wedding
trigger = {
this = scope:host
is_bloody_wedding = yes
scope:activity = {
has_activity_option = {
category = special_type
option = wedding_type_bloody
}
}
root != scope:spouse_1
}
desc = ep2_wedding.0200.desc.murder
@ -1053,13 +1003,25 @@ ep2_wedding.0200 = {
option = {
name = {
trigger = {
is_bloody_wedding = yes
scope:activity = {
has_activity_option = {
category = special_type
option = wedding_type_bloody
}
}
}
text = ep2_wedding.0200.a.murder
}
name = {
trigger = {
is_bloody_wedding = no
NOT = {
scope:activity = {
has_activity_option = {
category = special_type
option = wedding_type_bloody
}
}
}
}
text = ep2_wedding.0200.a
}
@ -1085,7 +1047,12 @@ ep2_wedding.0300 = {
first_valid = {
triggered_desc = {
trigger = {
is_bloody_wedding = yes
scope:activity = {
has_activity_option = {
category = special_type
option = wedding_type_bloody
}
}
root = scope:spouse_1
}
desc = ep2_wedding.0300.desc.murder_spouse
@ -1294,6 +1261,9 @@ ep2_wedding.0910 = {
remove_variable = gwedding_gold_recoup_value
}
remove_variable = promised_grand_wedding_by
scope:previous_host = {
remove_variable = promised_grand_wedding_marriage_countdown
}
if = {
limit = {
has_character_modifier = wedding_fertility_delay_modifier
@ -1385,6 +1355,10 @@ ep2_wedding.0920 = {
}
remove_variable = gwedding_gold_recoup_value
}
remove_variable = promised_grand_wedding_by
scope:previous_host = {
remove_variable = promised_grand_wedding_marriage_countdown
}
if = {
limit = {
has_character_modifier = wedding_fertility_delay_modifier
@ -1441,6 +1415,12 @@ ep2_wedding.0921 = {
}
remove_variable = gwedding_gold_recoup_value
}
if = {
limit = {
has_variable = promised_grand_wedding_by
}
remove_variable = promised_grand_wedding_by
}
if = {
limit = {
has_character_modifier = wedding_fertility_delay_modifier
@ -1624,6 +1604,23 @@ ep2_wedding.0997 = {
animation = sadness
}
immediate = {
# we should never get this far. If it happens, just get a free pass out of the Grand Wedding Promise since something has gone wrong
if = {
limit = {
this = scope:host
}
remove_variable = promised_grand_wedding_marriage_countdown
}
if = {
limit = {
has_variable = promised_grand_wedding_by
var:promised_grand_wedding_by = scope:host
}
remove_variable = promised_grand_wedding_by
}
}
option = {
name = ep2_wedding.0998.a
}
@ -1643,6 +1640,19 @@ ep2_wedding.0998 = {
immediate = {
# we should never get this far. If it happens, just get a free pass out of the Grand Wedding Promise since something has gone wrong
if = {
limit = {
this = scope:host
}
remove_variable = promised_grand_wedding_marriage_countdown
}
if = {
limit = {
has_variable = promised_grand_wedding_by
var:promised_grand_wedding_by = scope:host
}
remove_variable = promised_grand_wedding_by
}
if = {
limit = {
exists = scope:spouse_1
@ -1988,7 +1998,7 @@ ep2_wedding.1000 = {
trigger = {
has_activity_intent = reduce_stress_intent
}
reason = activity_intent
custom_tooltip = available_because_intent_tt
stress_impact = {
base = minor_stress_impact_loss
}
@ -3192,7 +3202,7 @@ ep2_wedding.1100 = {
has_activity_intent = reduce_stress_intent
this = scope:bride
}
reason = activity_intent
custom_tooltip = available_because_intent_tt
stress_impact = {
base = minor_stress_impact_loss
}
@ -3807,21 +3817,12 @@ ep2_wedding.1030 = {
# Spouse: your child from a previous partner makes a fuss
scripted_trigger ep2_wedding_1120_valid_child_trigger = {
NOR = {
has_trait = child_of_concubine_female
has_trait = child_of_concubine_male
NOT = {
any_parent = { this = root.betrothed }
this = scope:activity.special_guest:spouse_1
this = scope:activity.special_guest:spouse_2
}
any_parent = {
even_if_dead = yes
this != root
# polygamy case
trigger_if = {
limit = { is_alive = yes }
NOT = { any_consort = { this = root.betrothed } }
}
save_temporary_scope_as = other_parent
}
age >= 6
@ -4240,15 +4241,10 @@ scripted_trigger ep2_wedding_1121_valid_child_trigger = {
any_parent = {
even_if_dead = yes
this != root.betrothed
# polygamy case
trigger_if = {
limit = { is_alive = yes }
NOT = { any_consort = { this = root.betrothed } }
}
save_temporary_scope_as = other_parent
}
age >= 6
involved_activity ?= scope:activity
involved_activity ?= { this = scope:activity }
save_temporary_scope_as = trouble_child
}
@ -5875,7 +5871,7 @@ ep2_wedding.1140 = {
key = made_a_misstep_log
tags = { bad }
score = 50
character = scope:fumbling_spouse
character = scope:spouse_1
scope:fumbling_spouse = {
add_opinion = {
@ -5930,7 +5926,7 @@ ep2_wedding.1140 = {
key = made_a_misstep_log
tags = { bad }
score = 50
character = scope:fumbling_spouse
character = scope:spouse_1
}
}
ai_chance = {
@ -5944,7 +5940,7 @@ ep2_wedding.1140 = {
trigger = {
has_activity_intent = reduce_stress_intent
}
reason = activity_intent
custom_tooltip = available_because_intent_tt
scope:fumbling_spouse = {
add_opinion = {
target = root
@ -5961,7 +5957,7 @@ ep2_wedding.1140 = {
tags = { good }
score = 50
character = root
target = scope:fumbling_spouse
target = scope:spouse_1
}
}
ai_chance = {
@ -6850,7 +6846,7 @@ ep2_wedding.1170 = {
trigger = {
has_activity_intent = reduce_stress_intent
}
reason = activity_intent
custom_tooltip = available_because_intent_tt
stress_impact = {
base = medium_stress_impact_loss
humble = major_stress_impact_loss
@ -6870,7 +6866,7 @@ ep2_wedding.1170 = {
trigger = {
has_activity_intent = banquet_mischief_intent
}
reason = activity_intent
custom_tooltip = available_because_intent_tt
add_character_modifier = {
modifier = wedding_parade_mayhem_modifier
years = 5
@ -6890,7 +6886,7 @@ ep2_wedding.1170 = {
has_activity_intent = murder_attendee_intent
}
flavor = ep2_wedding.1170.e.tt
reason = activity_intent
custom_tooltip = available_because_intent_tt
duel = {
skills = { intrigue prowess }
target = scope:murderee
@ -7150,7 +7146,7 @@ ep2_wedding.1180 = {
trigger = {
has_activity_intent = reduce_stress_intent
}
reason = activity_intent
custom_tooltip = available_because_intent_tt
scope:other_spouse = {
add_opinion = {
target = root
@ -7437,7 +7433,7 @@ ep2_wedding.1190 = {
has_activity_intent = banquet_mischief_intent
}
}
reason = activity_intent
custom_tooltip = available_because_intent_tt
scope:grumbler = {
add_opinion = {
target = root
@ -7797,7 +7793,7 @@ ep2_wedding.1200 = {
trigger = {
has_activity_intent = woo_attendee_intent
}
reason = activity_intent
custom_tooltip = available_because_intent_tt
duel = {
skill = intrigue
target = scope:listener
@ -7873,7 +7869,7 @@ ep2_wedding.1200 = {
trigger = {
has_activity_intent = diplomatic_intent
}
reason = activity_intent
custom_tooltip = available_because_intent_tt
duel = {
skill = diplomacy
target = scope:listener
@ -7961,7 +7957,7 @@ ep2_wedding.1200 = {
trigger = {
has_activity_intent = matchmaking_intent
}
reason = activity_intent
custom_tooltip = available_because_intent_tt
duel = {
skills = { diplomacy intrigue }
target = scope:listener
@ -8805,7 +8801,7 @@ ep2_wedding.1220 = {
has_activity_intent = diplomatic_intent
}
flavor = ep2_wedding.1220.c.tt
reason = activity_intent
custom_tooltip = available_because_intent_tt
duel = {
skill = diplomacy
target = scope:relative
@ -8919,7 +8915,7 @@ ep2_wedding.1220 = {
trigger = {
has_activity_intent = banquet_mischief_intent
}
reason = activity_intent
custom_tooltip = available_because_intent_tt
if = {
limit = {
has_lifestyle = intrigue_lifestyle
@ -10377,7 +10373,7 @@ ep2_wedding.1070 = {
exists = scope:1070_target
has_activity_intent = murder_attendee_intent
}
reason = activity_intent
custom_tooltip = available_because_intent_tt
scope:1070_target = {
duel = {
skill = prowess
@ -10751,7 +10747,7 @@ ep2_wedding.1090 = {
has_ep2_dlc_trigger = yes
has_activity_intent = matchmaking_intent
intent_target.location ?= root.location
intent_target.location = root.location
location = scope:activity.activity_location
intent_target = { NOT = { has_character_flag = busy_in_banquet_event } }
@ -12259,7 +12255,11 @@ ep2_wedding.1111 = {
}
trigger_if = {
limit = {
this = scope:host
OR = {
this = scope:host
scope:host = scope:activity.special_guest:spouse_1
scope:host = scope:activity.special_guest:spouse_2
}
}
scope:activity = {
any_attending_character = {
@ -15038,10 +15038,14 @@ ep2_wedding.1330 = {
option = {
name = ep2_wedding.1330.d
trigger = {
is_deviant_trigger = yes
OR = {
has_trait = deviant
any_secret = { type = secret_deviant }
}
NOR = {
faith = { has_doctrine_parameter = deviancy_accepted }
scope:spouse = { is_deviant_trigger = yes }
faith = { has_doctrine = doctrine_deviancy_accepted }
scope:spouse = { has_trait = deviant }
scope:spouse = { any_secret = { type = secret_deviant NOT = { is_known_by = root } } }
}
}
@ -15731,46 +15735,47 @@ ep2_wedding.1340 = {
}
ai_chance = {
base = 100
base = 1
modifier = {
has_trait = lifestyle_gardener
add = 70
}
modifier = {
has_trait = lifestyle_reveler
add = 70
}
modifier = {
has_trait = lifestyle_hunter
add = 70
}
modifier = {
has_trait = lifestyle_poet
add = 70
}
modifier = {
has_trait = lifestyle_blademaster
add = 40
}
modifier = {
has_trait = lifestyle_herbalist
add = 40
}
modifier = {
has_trait = lifestyle_mystic
add = 40
}
modifier = {
has_trait = lifestyle_physician
add = 40
}
modifier = {
has_trait = athletic
add = 40
}
modifier = {
has_trait = journaller
add = 40
}
has_trait = lifestyle_gardener
add = 70
}
modifier = {
has_trait = lifestyle_reveler
add = 70
}
modifier = {
has_trait = lifestyle_hunter
add = 70
}
modifier = {
has_trait = lifestyle_poet
add = 70
}
modifier = {
has_trait = lifestyle_blademaster
add = 40
}
modifier = {
has_trait = lifestyle_herbalist
add = 40
}
modifier = {
has_trait = lifestyle_mystic
add = 40
}
modifier = {
has_trait = lifestyle_physician
add = 40
}
modifier = {
has_trait = athletic
add = 40
}
modifier = {
has_trait = journaller
add = 40
}
}
}
@ -15808,7 +15813,10 @@ ep2_wedding.1340 = {
add = 20
}
modifier = {
is_witch_trigger = yes
OR = {
any_secret = { type = secret_witch }
has_trait = witch
}
add = 20
}
send_interface_toast = {
@ -15847,7 +15855,10 @@ ep2_wedding.1340 = {
add = 20
}
modifier = {
is_witch_trigger = yes
OR = {
any_secret = { type = secret_witch }
has_trait = witch
}
add = 20
}
}
@ -17700,14 +17711,12 @@ ep2_wedding.3030 = {
any_character_artifact = {
artifact_slot_type = miscellaneous
this != scope:love_memento
artifact_can_be_gift_to_trigger = { RECIPIENT = scope:my_spouse }
}
}
random_character_artifact = {
limit = {
artifact_slot_type = miscellaneous
this != scope:love_memento
artifact_can_be_gift_to_trigger = { RECIPIENT = scope:my_spouse }
}
save_scope_as = my_love_memento
}
@ -18243,7 +18252,7 @@ ep2_wedding.3040 = {
scope:my_spouse = { is_ai = yes }
intent_target = scope:my_spouse
}
reason = activity_intent
custom_tooltip = available_because_intent_tt
random_list = {
50 = { #spouse saves themselves
desc = ep2_wedding.3040.d.success
@ -19249,10 +19258,15 @@ ep2_wedding.3300 = {
else = {
scope:activity.special_guest:spouse_1 = { save_scope_as = my_spouse }
}
check_officiant_effect = yes
scope:activity.var:officiant ?= { save_scope_as = officiant }
# Save witnesses
ep2_wedding_bedding_ceremony_witness_effect = yes
# Save officiant
if = {
limit = {
scope:host.cp:councillor_court_chaplain ?= { is_participant_in_activity = scope:activity }
}
scope:host.cp:councillor_court_chaplain = { save_scope_as = officiant }
}
# Save jester
if = {
limit = {
@ -19855,7 +19869,7 @@ scripted_trigger wedding_3400_suitor_trigger = {
is_participant_in_activity = scope:activity
is_attracted_to_gender_of = $SUITOR$
age >= $SUITOR$.age_minus_25
age < $SUITOR$.age_plus_25
age < $SUITOR$.age_plus_25
OR = {
is_married = no
allowed_more_spouses = yes
@ -19864,7 +19878,7 @@ scripted_trigger wedding_3400_suitor_trigger = {
faith = { has_doctrine = doctrine_adultery_women_accepted }
root.faith = { has_doctrine = doctrine_adultery_women_accepted }
$SUITOR$.faith = { has_doctrine = doctrine_adultery_women_accepted }
}
trigger_else = {
faith = { has_doctrine = doctrine_adultery_men_accepted }
@ -23401,7 +23415,7 @@ ep2_wedding.2020 = {
}
}
}
reason = activity_intent
custom_tooltip = available_because_intent_tt
duel = {
skill = prowess
target = scope:drunk_guest

View file

@ -1081,7 +1081,7 @@ ep2_wedding_ewan.0001 = {
name = ep2_wedding_ewan.0001.c
flavor = ep2_wedding_ewan.0001.c.tt
trigger = { has_activity_intent = murder_attendee_intent }
reason = activity_intent
custom_tooltip = available_because_intent_tt
scope:intent_target = {
# They're unsettled by your staring.
@ -1899,7 +1899,7 @@ ep2_wedding_ewan.0011 = {
name = ep2_wedding_ewan.0011.c
# Check for target directly, rather than just the intent, because there isn't a pre-defined intent target and we may have failed to acquire someone suitable.
trigger = { exists = scope:intent_target }
reason = activity_intent
custom_tooltip = available_because_intent_tt
# You try to trip a server onto someone.
duel = {
@ -2744,7 +2744,7 @@ ep2_wedding_ewan.0021 = {
option = {
name = ep2_wedding_ewan.0021.c
trigger = { has_activity_intent = woo_attendee_intent }
reason = activity_intent
custom_tooltip = available_because_intent_tt
# Sprinkle a bit of opinion in there.
reverse_add_opinion = {
@ -3246,7 +3246,7 @@ ep2_wedding_ewan.0031 = {
option = {
name = ep2_wedding_ewan.0031.g
trigger = { has_activity_intent = reduce_stress_intent }
reason = activity_intent
custom_tooltip = available_because_intent_tt
# Decent middling prestige.
add_prestige = medium_prestige_gain
@ -3463,7 +3463,7 @@ ep2_wedding_ewan.0041 = {
option = {
name = ep2_wedding_ewan.0041.b
trigger = { has_activity_intent = reduce_stress_intent }
reason = activity_intent
custom_tooltip = available_because_intent_tt
# If you're the host, gain prestige.
if = {
@ -3499,7 +3499,7 @@ ep2_wedding_ewan.0041 = {
option = {
name = ep2_wedding_ewan.0041.c
trigger = { has_activity_intent = murder_attendee_intent }
reason = activity_intent
custom_tooltip = available_because_intent_tt
scope:intent_target = {
# They're a bit freaked out.
@ -3531,7 +3531,7 @@ ep2_wedding_ewan.0041 = {
option = {
name = ep2_wedding_ewan.0041.d
trigger = { has_activity_intent = woo_attendee_intent }
reason = activity_intent
custom_tooltip = available_because_intent_tt
# You try to keep it juuuuust about down-low.
duel = {
@ -3624,7 +3624,7 @@ ep2_wedding_ewan.0041 = {
option = {
name = ep2_wedding_ewan.0041.e
trigger = { has_activity_intent = diplomatic_intent }
reason = activity_intent
custom_tooltip = available_because_intent_tt
# Try to give a big, impressive speech.
duel = {
@ -3694,7 +3694,7 @@ ep2_wedding_ewan.0041 = {
option = {
name = ep2_wedding_ewan.0041.f
trigger = { has_activity_intent = matchmaking_intent }
reason = activity_intent
custom_tooltip = available_because_intent_tt
# Gain opinion with scope:activity_intent.
reverse_add_opinion = {
@ -3729,7 +3729,7 @@ ep2_wedding_ewan.0041 = {
option = {
name = ep2_wedding_ewan.0041.g
trigger = { has_activity_intent = banquet_mischief_intent }
reason = activity_intent
custom_tooltip = available_because_intent_tt
# We take your highest of diplomacy or intrigue and let you duel against it.
if = {
@ -3840,7 +3840,7 @@ scripted_trigger ep2_wedding_ewan_0051_legal_rake_trigger = {
save_temporary_scope_as = char_temp
NOT = {
trait_is_criminal_in_faith_trigger = {
TRAIT = trait:adulterer
TRAIT = adulterer
FAITH = scope:char_temp.faith
GENDER_CHARACTER = scope:char_temp
}
@ -5707,7 +5707,7 @@ ep2_wedding_ewan.0061 = {
option = {
name = ep2_wedding_ewan.0061.d
trigger = { has_activity_intent = banquet_mischief_intent }
reason = activity_intent
custom_tooltip = available_because_intent_tt
# Same as the .e rolls, but we remove the minor result and just roll between success & crit success.
duel = {