event updating

This commit is contained in:
trashmasteruni 2026-10-10 22:52:02 +02:00
parent 0a1f4595df
commit e8f9381e3a
20 changed files with 6143 additions and 19667 deletions

View file

@ -23,7 +23,8 @@
scripted_trigger has_multiple_consorts_trigger = {
any_consort = {
count > 2
is_available_ai_adult = yes
is_available_ai_adult = yes
this != root
}
}
@ -192,7 +193,7 @@ tour_grounds_events.6000 = {
trigger_if = {
limit = {
NOT = { is_incestuous_trigger = yes }
trait_is_criminal_in_faith_trigger = { TRAIT = trait:incestuous FAITH = root.faith GENDER_CHARACTER = root }
trait_is_criminal_in_rite_trigger = { TRAIT = trait:incestuous RITE = root.rite GENDER_CHARACTER = root }
}
NOT = { is_close_or_extended_family_of = scope:stop_host_scope }
}
@ -229,6 +230,9 @@ tour_grounds_events.6000 = {
scope:stop_host_scope = {
# if stop host has 3 consorts, we save them all. otherwise, just the one
random_consort = {
limit = {
this != root
}
save_scope_as = orgy_consort_1
add_character_flag = is_naked
}
@ -237,16 +241,16 @@ tour_grounds_events.6000 = {
random_consort = {
limit = {
this != scope:orgy_consort_1
this != root
}
save_scope_as = orgy_consort_2
add_character_flag = is_naked
}
random_consort = {
limit = {
NOR = {
this = scope:orgy_consort_1
this = scope:orgy_consort_2
}
this != scope:orgy_consort_1
this != scope:orgy_consort_2
this != root
}
save_scope_as = orgy_consort_3
add_character_flag = is_naked
@ -281,7 +285,7 @@ tour_grounds_events.6000 = {
}
}
stress_impact = {
stress_and_fulfillment_impact = {
shy = medium_stress_impact_gain
temperate = medium_stress_impact_gain
chaste = major_stress_impact_gain
@ -318,7 +322,7 @@ tour_grounds_events.6000 = {
option = { # Refuse sexy time
name = tour_grounds_events.6000.c
stress_impact = {
stress_and_fulfillment_impact = {
deviant = major_stress_impact_gain
lustful = major_stress_impact_gain
chaste = minor_stress_impact_loss
@ -555,7 +559,7 @@ tour_grounds_events.6100 = {
add_piety = miniscule_piety_gain
stress_impact = {
stress_and_fulfillment_impact = {
base = minor_stress_impact_loss
zealous = minor_stress_impact_loss
cynical = medium_stress_impact_gain
@ -605,7 +609,7 @@ tour_grounds_events.6100 = {
add_piety = miniscule_piety_gain
stress_impact = {
stress_and_fulfillment_impact = {
base = minor_stress_impact_loss
zealous = minor_stress_impact_loss
cynical = medium_stress_impact_gain
@ -656,7 +660,7 @@ tour_grounds_events.6100 = {
}
}
stress_impact = {
stress_and_fulfillment_impact = {
cynical = major_stress_impact_gain
}
}
@ -751,7 +755,7 @@ tour_grounds_events.6100 = {
}
}
stress_impact = {
stress_and_fulfillment_impact = {
zealous = medium_stress_impact_gain
fickle = miniscule_stress_impact_loss
}
@ -1634,24 +1638,24 @@ tour_grounds_events.6200 = {
location.county = {
any_county_province = {
OR = {
trigger_if = {
limit = { has_building_or_higher = pastures_01 }
AND = {
has_building_or_higher = pastures_01
root.capital_province = { has_building_or_higher = pastures_01 }
}
trigger_if = {
limit = { has_building_or_higher = orchards_01 }
AND = {
has_building_or_higher = orchards_01
root.capital_province = { has_building_or_higher = orchards_01 }
}
trigger_if = {
limit = { has_building_or_higher = cereal_fields_01 }
AND = {
has_building_or_higher = cereal_fields_01
root.capital_province = { has_building_or_higher = cereal_fields_01 }
}
trigger_if = {
limit = { has_building_or_higher = hill_farms_01 }
AND = {
has_building_or_higher = hill_farms_01
root.capital_province = { has_building_or_higher = hill_farms_01 }
}
trigger_if = {
limit = { has_building_or_higher = plantations_01 }
AND = {
has_building_or_higher = plantations_01
root.capital_province = { has_building_or_higher = plantations_01 }
}
}
@ -1732,7 +1736,7 @@ tour_grounds_events.6200 = {
increase_tour_success_effect = { POINTS = 1 }
}
stress_impact = {
stress_and_fulfillment_impact = {
greedy = minor_stress_impact_loss
diligent = minor_stress_impact_loss
content = minor_stress_impact_gain
@ -1778,7 +1782,7 @@ tour_grounds_events.6200 = {
add_stewardship_lifestyle_xp = major_lifestyle_xp
}
stress_impact = {
stress_and_fulfillment_impact = {
lazy = minor_stress_impact_gain
diligent = minor_stress_impact_loss
}
@ -1821,7 +1825,7 @@ tour_grounds_events.6200 = {
increase_tour_success_effect = { POINTS = 1 }
}
stress_impact = {
stress_and_fulfillment_impact = {
generous = minor_stress_impact_loss
humble = minor_stress_impact_loss
calm = miniscule_stress_impact_loss
@ -1992,6 +1996,7 @@ tour_grounds_events.6202 = {
template = child_thief_character
culture = scope:stop_host_scope.culture
faith = scope:stop_host_scope.faith
rite = scope:stop_host_scope.rite
location = root.location
save_scope_as = tiny_thief
}
@ -2029,7 +2034,7 @@ tour_grounds_events.6202 = {
}
}
stress_impact = {
stress_and_fulfillment_impact = {
diligent = minor_stress_impact_gain
}
@ -2091,7 +2096,7 @@ tour_grounds_events.6202 = {
}
}
stress_impact = {
stress_and_fulfillment_impact = {
lazy = minor_stress_impact_gain
humble = minor_stress_impact_gain
}
@ -2136,7 +2141,7 @@ tour_grounds_events.6202 = {
increase_tour_success_effect = { POINTS = 1 }
}
stress_impact = {
stress_and_fulfillment_impact = {
greedy = medium_stress_impact_gain
forgiving = medium_stress_impact_loss
calm = minor_stress_impact_loss
@ -2200,7 +2205,7 @@ tour_grounds_events.6203 = {
}
}
stress_impact = {
stress_and_fulfillment_impact = {
greedy = medium_stress_impact_gain
disloyal = minor_stress_impact_gain
}
@ -2533,7 +2538,7 @@ tour_grounds_events.6205 = {
modifier = whipped_me_opinion
}
stress_impact = {
stress_and_fulfillment_impact = {
sadistic = minor_stress_impact_loss
wrathful = minor_stress_impact_loss
compassionate = minor_stress_impact_gain
@ -2569,7 +2574,7 @@ tour_grounds_events.6205 = {
target = scope:stop_host_scope
}
stress_impact = {
stress_and_fulfillment_impact = {
base = minor_stress_impact_gain
forgiving = medium_stress_impact_loss
greedy = major_stress_impact_gain
@ -2767,7 +2772,7 @@ tour_grounds_events.6300 = {
}
}
stress_impact = {
stress_and_fulfillment_impact = {
craven = medium_stress_impact_gain
}
@ -2838,7 +2843,7 @@ tour_grounds_events.6300 = {
}
}
stress_impact = {
stress_and_fulfillment_impact = {
craven = minor_stress_impact_loss
}

View file

@ -133,6 +133,7 @@ tour_travel.1001 = {
template = drunken_peasant_character
culture = scope:angry_county_scope.culture
faith = scope:angry_county_scope.faith
rite = scope:angry_county_scope.rite
save_scope_as = angry_peasant
}
if = {
@ -195,7 +196,7 @@ tour_travel.1001 = {
}
if = {
limit = { is_alive = yes }
stress_impact = {
stress_and_fulfillment_impact = {
brave = minor_stress_impact_loss
craven = major_stress_impact_gain
}
@ -225,7 +226,7 @@ tour_travel.1001 = {
years = 10
}
}
stress_impact = {
stress_and_fulfillment_impact = {
callous = minor_stress_impact_gain
craven = minor_stress_impact_loss
greedy = major_stress_impact_gain
@ -277,7 +278,7 @@ tour_travel.1001 = {
increase_wounds_effect = { REASON = fight }
}
}
stress_impact = {
stress_and_fulfillment_impact = {
brave = major_stress_impact_gain
honest = major_stress_impact_gain
}
@ -347,6 +348,7 @@ tour_travel.1002 = {
template = beautiful_peasant_character
culture = scope:pretty_peasant_county_scope.culture
faith = scope:pretty_peasant_county_scope.faith
rite = scope:pretty_peasant_county_scope.rite
age = age_compared_to_root_minus_ten_always_adult
gender_female_chance = root_attraction_based_female_chance
save_scope_as = pretty_peasant
@ -409,13 +411,13 @@ tour_travel.1002 = {
limit = {
OR = {
would_be_sinful_adulterer_trigger = yes
relation_with_character_is_sodomy_in_faith_trigger = {
relation_with_character_is_sodomy_in_rite_trigger = {
CHARACTER = scope:pretty_peasant
FAITH = root.faith
RITE = root.rite
}
}
}
stress_impact = {
stress_and_fulfillment_impact = {
craven = minor_stress_impact_gain
honest = medium_stress_impact_gain
chaste = major_stress_impact_gain
@ -424,7 +426,7 @@ tour_travel.1002 = {
}
}
else = {
stress_impact = {
stress_and_fulfillment_impact = {
craven = minor_stress_impact_gain
honest = medium_stress_impact_gain
chaste = major_stress_impact_gain
@ -440,9 +442,9 @@ tour_travel.1002 = {
modifier = {
add = -50
would_be_sinful_adulterer_trigger = yes
relation_with_character_is_sodomy_in_faith_trigger = {
relation_with_character_is_sodomy_in_rite_trigger = {
CHARACTER = scope:pretty_peasant
FAITH = root.faith
RITE = root.rite
}
has_trait = zealous
}
@ -452,7 +454,7 @@ tour_travel.1002 = {
option = { # Pass them by
name = tour_travel.1002.b
scope:pretty_peasant = { silent_disappearance_effect = yes }
stress_impact = {
stress_and_fulfillment_impact = {
callous = minor_stress_impact_gain
craven = minor_stress_impact_loss
honest = minor_stress_impact_loss
@ -518,6 +520,7 @@ tour_travel.1003 = {
template = peasant_character
culture = scope:angry_county_scope.culture
faith = scope:angry_county_scope.faith
rite = scope:angry_county_scope.rite
gender_female_chance = root_faith_dominant_gender_adjusted_female_chance
save_scope_as = rude_peasant
}
@ -534,7 +537,7 @@ tour_travel.1003 = {
years = 10
}
}
stress_impact = {
stress_and_fulfillment_impact = {
sadistic = medium_stress_impact_loss
arrogant = minor_stress_impact_loss
base = minor_stress_impact_gain
@ -577,7 +580,7 @@ tour_travel.1003 = {
death_reason = death_torture
}
}
stress_impact = {
stress_and_fulfillment_impact = {
sadistic = major_stress_impact_loss
arrogant = minor_stress_impact_loss
base = minor_stress_impact_gain
@ -603,7 +606,7 @@ tour_travel.1003 = {
name = tour_travel.1003.c
add_prestige = minor_prestige_loss
add_dread = medium_dread_loss
stress_impact = {
stress_and_fulfillment_impact = {
forgiving = minor_stress_impact_loss
callous = minor_stress_impact_gain
craven = minor_stress_impact_loss
@ -666,6 +669,14 @@ tour_travel.1004 = {
has_activity_intent = altruism_intent
faith = { OR = { religion_tag = eastern_orthodox_religion religion_tag = catholic_religion religion_tag = protestant_religion } }
is_governor = no
# The faith should not be selfish
rite = {
NOR = {
trait_is_virtue_rite = callous
trait_is_virtue_rite = sadistic
trait_is_virtue_rite = arrogant
}
}
}
weight_multiplier = {
@ -684,16 +695,6 @@ tour_travel.1004 = {
religion = { is_in_family = rf_abrahamic }
}
}
modifier = { # The faith should not be selfish
factor = 0
faith = {
OR = {
trait_is_virtue = callous
trait_is_virtue = sadistic
trait_is_virtue = arrogant
}
}
}
}
immediate = {
@ -709,6 +710,7 @@ tour_travel.1004 = {
template = diseased_peasant_character
culture = scope:diseased_county_scope.culture
faith = scope:diseased_county_scope.faith
rite = scope:diseased_county_scope.rite
gender_female_chance = 50
save_scope_as = diseased_peasant
}
@ -745,7 +747,7 @@ tour_travel.1004 = {
years = 10
}
}
stress_impact = {
stress_and_fulfillment_impact = {
base = minor_stress_impact_gain
sadistic = medium_stress_impact_gain
callous = medium_stress_impact_gain
@ -769,7 +771,8 @@ tour_travel.1004 = {
name = tour_travel.1004.b
trigger = {
is_deviant_trigger = yes
matching_gender_and_sexuality_trigger = { CHARACTER_1 = scope:diseased_peasant CHARACTER_2 = root }
might_cheat_on_every_partner_trigger = yes
can_set_relation_lover_trigger = { CHARACTER = scope:diseased_peasant }
}
add_prestige = medium_prestige_loss
add_piety = medium_piety_gain
@ -792,7 +795,7 @@ tour_travel.1004 = {
}
set_relation_lover = scope:diseased_peasant
add_courtier = scope:diseased_peasant
stress_impact = {
stress_and_fulfillment_impact = {
base = minor_stress_impact_gain
sadistic = medium_stress_impact_gain
callous = medium_stress_impact_gain
@ -824,7 +827,7 @@ tour_travel.1004 = {
years = 2
}
}
stress_impact = {
stress_and_fulfillment_impact = {
compassionate = minor_stress_impact_loss
callous = minor_stress_impact_gain
arrogant = minor_stress_impact_gain
@ -863,7 +866,7 @@ tour_travel.1004 = {
}
}
add_piety = minor_piety_loss
stress_impact = {
stress_and_fulfillment_impact = {
forgiving = minor_stress_impact_gain
humble = minor_stress_impact_gain
compassionate = medium_stress_impact_gain
@ -941,7 +944,7 @@ tour_travel.1005 = {
years = 10
}
}
stress_impact = {
stress_and_fulfillment_impact = {
profligate = medium_stress_impact_loss
greedy = medium_stress_impact_gain
sadistic = medium_stress_impact_gain
@ -976,7 +979,7 @@ tour_travel.1005 = {
years = 5
}
}
stress_impact = {
stress_and_fulfillment_impact = {
sadistic = medium_stress_impact_gain
callous = medium_stress_impact_gain
arrogant = medium_stress_impact_gain
@ -997,7 +1000,7 @@ tour_travel.1005 = {
option = { # Ride ahead!
name = tour_travel.1005.c
add_piety = minor_piety_loss
stress_impact = {
stress_and_fulfillment_impact = {
greedy = minor_stress_impact_loss
humble = minor_stress_impact_gain
compassionate = medium_stress_impact_gain
@ -1073,7 +1076,7 @@ tour_travel.1006 = {
years = 10
}
}
stress_impact = {
stress_and_fulfillment_impact = {
profligate = medium_stress_impact_loss
greedy = medium_stress_impact_gain
sadistic = medium_stress_impact_gain
@ -1101,7 +1104,7 @@ tour_travel.1006 = {
option = { # Give them nothing
name = tour_travel.1006.b
add_piety = minor_piety_loss
stress_impact = {
stress_and_fulfillment_impact = {
greedy = minor_stress_impact_loss
humble = minor_stress_impact_gain
compassionate = medium_stress_impact_gain
@ -1130,7 +1133,7 @@ tour_travel.1006 = {
}
}
add_piety = medium_piety_loss
stress_impact = {
stress_and_fulfillment_impact = {
callous = medium_stress_impact_loss
sadistic = medium_stress_impact_loss
greedy = minor_stress_impact_loss
@ -1277,6 +1280,7 @@ tour_travel.1007 = {
template = wise_woman_character
culture = scope:wise_woman_barony_scope.culture
faith = scope:wise_woman_barony_scope.faith
rite = scope:wise_woman_barony_scope.rite
save_scope_as = wise_woman_scope
}
}
@ -1299,7 +1303,7 @@ tour_travel.1007 = {
}
}
}
stress_impact = {
stress_and_fulfillment_impact = {
stubborn = minor_stress_impact_gain # I'm fine!
craven = minor_stress_impact_gain # I'm afraid of doctors!
shy = minor_stress_impact_gain # I'm afraid of everyone!
@ -1310,10 +1314,10 @@ tour_travel.1007 = {
if = {
limit = {
NOT = {
faith = { has_doctrine_parameter = witchcraft_accepted }
rite = { rite_has_parameter = witchcraft_accepted }
}
}
stress_impact = {
stress_and_fulfillment_impact = {
zealous = medium_stress_impact_gain
}
}
@ -1329,7 +1333,7 @@ tour_travel.1007 = {
has_trait = cynical
has_trait = arrogant
AND = {
NOT = { faith = { has_doctrine_parameter = witchcraft_accepted } }
NOT = { rite = { rite_has_parameter = witchcraft_accepted } }
has_trait = zealous
}
}
@ -1343,7 +1347,7 @@ tour_travel.1007 = {
option = { # F that
name = tour_travel.1007.b
stress_impact = {
stress_and_fulfillment_impact = {
base = minor_stress_impact_gain
humble = minor_stress_impact_gain
brave = medium_stress_impact_gain
@ -1468,7 +1472,7 @@ tour_travel.1008 = {
option = { # Go see the wise woman
name = tour_travel.1008.a
positive_wise_woman_healing_effect = yes
stress_impact = {
stress_and_fulfillment_impact = {
base = medium_stress_impact_loss
cynical = minor_stress_impact_gain # This breaks my idea of what medicine is
}
@ -1491,7 +1495,7 @@ tour_travel.1008 = {
CANDIDATE = scope:wise_woman_scope
EMPLOYER = root
}
stress_impact = {
stress_and_fulfillment_impact = {
base = medium_stress_impact_loss
cynical = medium_stress_impact_gain
greedy = medium_stress_impact_gain
@ -1584,7 +1588,7 @@ tour_travel.1009 = {
option = {
name = tour_travel.1009.a
stress_impact = {
stress_and_fulfillment_impact = {
base = medium_stress_impact_loss
cynical = major_stress_impact_loss
}
@ -1601,7 +1605,7 @@ tour_travel.1009 = {
death_reason = death_execution
}
}
stress_impact = {
stress_and_fulfillment_impact = {
callous = medium_stress_impact_loss
sadistic = medium_stress_impact_loss
just = minor_stress_impact_gain
@ -1733,7 +1737,7 @@ tour_travel.3120 = {
scope:vassal_inn = { get_quirk_character_effect = yes } #localization
if = {
limit = {
scope:vassal_inn = { any_character_artifact = { exists = yes } }
scope:vassal_inn = { any_character_artifact = {} }
}
random = {
chance = 50
@ -1781,7 +1785,7 @@ tour_travel.3120 = {
}
}
stress_impact = {
stress_and_fulfillment_impact = {
profligate = medium_stress_impact_loss
greedy = medium_stress_impact_gain
sadistic = medium_stress_impact_gain
@ -1837,7 +1841,7 @@ tour_travel.3120 = {
else = {
add_random_skill_point_effect = yes
}
stress_impact = {
stress_and_fulfillment_impact = {
greedy = minor_stress_impact_loss
humble = minor_stress_impact_gain
compassionate = medium_stress_impact_gain
@ -1865,7 +1869,7 @@ tour_travel.3120 = {
scope:vassal_artifact = {
set_owner = root
}
stress_impact = {
stress_and_fulfillment_impact = {
callous = medium_stress_impact_loss
sadistic = medium_stress_impact_loss
greedy = minor_stress_impact_loss
@ -2015,7 +2019,7 @@ tour_travel.3130 = {
add_piety = medium_piety_gain
}
add_piety = minor_piety_gain
stress_impact = {
stress_and_fulfillment_impact = {
profligate = medium_stress_impact_loss
callous = medium_stress_impact_gain
sadistic = medium_stress_impact_gain
@ -2057,7 +2061,7 @@ tour_travel.3130 = {
type = loyalty_hook
target = scope:complaining_peasant
}
stress_impact = {
stress_and_fulfillment_impact = {
callous = medium_stress_impact_gain
sadistic = medium_stress_impact_gain
}
@ -2082,7 +2086,7 @@ tour_travel.3130 = {
option = { # F you lol
name = tour_travel.3130.c
stress_impact = {
stress_and_fulfillment_impact = {
generous = medium_stress_impact_gain
humble = medium_stress_impact_gain
compassionate = major_stress_impact_gain
@ -2198,6 +2202,7 @@ tour_travel.3140 = {
location = root.location
culture = root.location.culture
faith = root.location.faith
rite = root.location.rite
dynasty = none
save_scope_as = brothel_worker
}
@ -2232,7 +2237,7 @@ tour_travel.3140 = {
}
}
}
stress_impact = {
stress_and_fulfillment_impact = {
base = medium_stress_impact_loss
lustful = medium_stress_impact_loss
chaste = major_stress_impact_gain
@ -2257,7 +2262,7 @@ tour_travel.3140 = {
option = { # Don't go
name = tour_travel.3140.b
add_piety = minor_piety_gain
stress_impact = {
stress_and_fulfillment_impact = {
lustful = medium_stress_impact_gain
rakish = major_stress_impact_gain
}
@ -2334,7 +2339,7 @@ tour_travel.3110 = {
custom_tooltip = tour_travel.3110.a.tt
play_music_cue = mx_cue_banquet
trigger_event = tour_travel.3111
stress_impact = {
stress_and_fulfillment_impact = {
comfort_eater = minor_stress_loss
drunkard = minor_stress_loss
lifestyle_reveler = medium_stress_loss
@ -2363,7 +2368,7 @@ tour_travel.3110 = {
modifier = insult_opinion
opinion = -20
}
stress_impact = {
stress_and_fulfillment_impact = {
trusting = medium_stress_impact_gain
gregarious = major_stress_impact_gain
gluttonous = major_stress_impact_gain
@ -2405,7 +2410,7 @@ tour_travel.3110 = {
}
add_prestige = minor_prestige_gain
trigger_event = tour_travel.3111
stress_impact = {
stress_and_fulfillment_impact = {
comfort_eater = minor_stress_loss
drunkard = minor_stress_loss
humble = minor_stress_impact_gain
@ -2531,7 +2536,7 @@ tour_travel.3111 = {
}
}
stress_impact = {
stress_and_fulfillment_impact = {
greedy = medium_stress_impact_gain
avaricious = medium_stress_impact_gain
wrathful = medium_stress_impact_gain
@ -2577,7 +2582,7 @@ tour_travel.3111 = {
modifier = grateful_opinion
opinion = 20
}
stress_impact = {
stress_and_fulfillment_impact = {
compassionate = medium_stress_impact_gain
forgiving = medium_stress_impact_gain
generous = medium_stress_impact_gain
@ -2638,7 +2643,7 @@ tour_travel.3111 = {
CHARACTER = scope:ghino_di_tacco_scope
OPINION = default_rival_opinion
}
stress_impact = {
stress_and_fulfillment_impact = {
humble = minor_stress_impact_gain
calm = medium_stress_impact_gain
compassionate = major_stress_impact_gain
@ -2684,7 +2689,7 @@ tour_travel.3111 = {
IMPRISONER = root
}
add_dread = minor_dread_gain
stress_impact = {
stress_and_fulfillment_impact = {
just = medium_stress_impact_gain
calm = major_stress_impact_gain
compassionate = major_stress_impact_gain
@ -2756,7 +2761,7 @@ tour_travel.3111 = {
}
}
}
stress_impact = {
stress_and_fulfillment_impact = {
base = medium_stress_impact_gain
forgiving = minor_stress_impact_loss
}