event fixes pt IV

This commit is contained in:
trashmasteruni 2026-10-11 00:50:52 +02:00
parent e660a1513e
commit 4ee8abdc61
22 changed files with 2057 additions and 8852 deletions

View file

@ -421,11 +421,11 @@ court_ongoing.0502 = { #by Mathilda Bjarnehed
#Ew, no!
option = {
name = {
trigger = { relation_with_character_is_incestuous_in_my_or_lieges_faith_trigger = { CHARACTER = scope:owner } }
trigger = { relation_with_character_is_incestuous_in_my_or_lieges_rite_trigger = { CHARACTER = scope:owner } }
text = court_ongoing.0502.b.incest
}
name = {
trigger = { NOT = { relation_with_character_is_incestuous_in_my_or_lieges_faith_trigger = { CHARACTER = scope:owner } } }
trigger = { NOT = { relation_with_character_is_incestuous_in_my_or_lieges_rite_trigger = { CHARACTER = scope:owner } } }
text = court_ongoing.0502.b
}
@ -446,11 +446,11 @@ court_ongoing.0502 = { #by Mathilda Bjarnehed
add = 50
}
modifier = {
relation_with_character_is_incestuous_in_my_or_lieges_faith_trigger = { CHARACTER = scope:owner }
relation_with_character_is_incestuous_in_my_or_lieges_rite_trigger = { CHARACTER = scope:owner }
add = 200
}
modifier = {
relation_with_character_is_sodomy_in_my_or_lieges_faith_trigger = { CHARACTER = scope:owner }
relation_with_character_is_sodomy_in_my_or_lieges_rite_trigger = { CHARACTER = scope:owner }
add = 200
}
modifier = {
@ -530,11 +530,11 @@ court_ongoing.0512 = {
#Ew, no!
option = {
name = {
trigger = { relation_with_character_is_incestuous_in_my_or_lieges_faith_trigger = { CHARACTER = scope:owner } }
trigger = { relation_with_character_is_incestuous_in_my_or_lieges_rite_trigger = { CHARACTER = scope:owner } }
text = court_ongoing.0502.b.incest
}
name = {
trigger = { NOT = { relation_with_character_is_incestuous_in_my_or_lieges_faith_trigger = { CHARACTER = scope:owner } } }
trigger = { NOT = { relation_with_character_is_incestuous_in_my_or_lieges_rite_trigger = { CHARACTER = scope:owner } } }
text = court_ongoing.0502.b
}
@ -551,7 +551,7 @@ court_ongoing.0512 = {
base = 0
modifier = {
relation_with_character_is_incestuous_in_my_or_lieges_faith_trigger = { CHARACTER = scope:owner }
relation_with_character_is_incestuous_in_my_or_lieges_rite_trigger = { CHARACTER = scope:owner }
add = {
if = {
limit = { sexually_liberal_trigger = yes }
@ -563,7 +563,7 @@ court_ongoing.0512 = {
}
}
modifier = {
relation_with_character_is_sodomy_in_my_or_lieges_faith_trigger = { CHARACTER = scope:owner }
relation_with_character_is_sodomy_in_my_or_lieges_rite_trigger = { CHARACTER = scope:owner }
add = 200
}
modifier = {
@ -597,7 +597,7 @@ court_ongoing.0503 = { #by Mathilda Bjarnehed
triggered_desc = {
trigger = { #Sodomy reject
exists = scope:hard_court_reject
scope:target = { relation_with_character_is_sodomy_in_my_or_lieges_faith_trigger = { CHARACTER = scope:owner } }
scope:target = { relation_with_character_is_sodomy_in_my_or_lieges_rite_trigger = { CHARACTER = scope:owner } }
NOT = { scope:owner = { has_relation_lover = scope:target } }
NOT = { scope:owner = { is_spouse_of = scope:target } }
}
@ -606,7 +606,7 @@ court_ongoing.0503 = { #by Mathilda Bjarnehed
triggered_desc = {
trigger = { #Incest reject
exists = scope:hard_court_reject
scope:target = { relation_with_character_is_incestuous_in_my_or_lieges_faith_trigger = { CHARACTER = scope:owner } }
scope:target = { relation_with_character_is_incestuous_in_my_or_lieges_rite_trigger = { CHARACTER = scope:owner } }
NOT = { scope:owner = { has_relation_lover = scope:target } }
NOT = { scope:owner = { is_spouse_of = scope:target } }
}
@ -631,7 +631,7 @@ court_ongoing.0503 = { #by Mathilda Bjarnehed
triggered_desc = {
trigger = { #Sodomy reject
exists = scope:hard_court_reject
scope:target = { relation_with_character_is_sodomy_in_my_or_lieges_faith_trigger = { CHARACTER = scope:owner } }
scope:target = { relation_with_character_is_sodomy_in_my_or_lieges_rite_trigger = { CHARACTER = scope:owner } }
NOT = { scope:owner = { has_relation_lover = scope:target } }
NOT = { scope:owner = { is_spouse_of = scope:target } }
}
@ -640,7 +640,7 @@ court_ongoing.0503 = { #by Mathilda Bjarnehed
triggered_desc = {
trigger = { #Incest reject
exists = scope:hard_court_reject
scope:target = { relation_with_character_is_incestuous_in_my_or_lieges_faith_trigger = { CHARACTER = scope:owner } }
scope:target = { relation_with_character_is_incestuous_in_my_or_lieges_rite_trigger = { CHARACTER = scope:owner } }
NOT = { scope:owner = { has_relation_lover = scope:target } }
NOT = { scope:owner = { is_spouse_of = scope:target } }
}
@ -665,7 +665,7 @@ court_ongoing.0503 = { #by Mathilda Bjarnehed
triggered_desc = {
trigger = { #Sodomy reject
exists = scope:hard_court_reject
scope:target = { relation_with_character_is_sodomy_in_my_or_lieges_faith_trigger = { CHARACTER = scope:owner } }
scope:target = { relation_with_character_is_sodomy_in_my_or_lieges_rite_trigger = { CHARACTER = scope:owner } }
NOT = { scope:owner = { has_relation_lover = scope:target } }
NOT = { scope:owner = { is_spouse_of = scope:target } }
}
@ -674,7 +674,7 @@ court_ongoing.0503 = { #by Mathilda Bjarnehed
triggered_desc = {
trigger = { #Incest reject
exists = scope:hard_court_reject
scope:target = { relation_with_character_is_incestuous_in_my_or_lieges_faith_trigger = { CHARACTER = scope:owner } }
scope:target = { relation_with_character_is_incestuous_in_my_or_lieges_rite_trigger = { CHARACTER = scope:owner } }
NOT = { scope:owner = { has_relation_lover = scope:target } }
NOT = { scope:owner = { is_spouse_of = scope:target } }
}
@ -705,7 +705,7 @@ court_ongoing.0503 = { #by Mathilda Bjarnehed
triggered_desc = {
trigger = { #Sodomy reject
exists = scope:hard_court_reject
scope:target = { relation_with_character_is_sodomy_in_my_or_lieges_faith_trigger = { CHARACTER = scope:owner } }
scope:target = { relation_with_character_is_sodomy_in_my_or_lieges_rite_trigger = { CHARACTER = scope:owner } }
NOT = { scope:owner = { has_relation_lover = scope:target } }
NOT = { scope:owner = { is_spouse_of = scope:target } }
}
@ -714,7 +714,7 @@ court_ongoing.0503 = { #by Mathilda Bjarnehed
triggered_desc = {
trigger = { #Incest reject
exists = scope:hard_court_reject
scope:target = { relation_with_character_is_incestuous_in_my_or_lieges_faith_trigger = { CHARACTER = scope:owner } }
scope:target = { relation_with_character_is_incestuous_in_my_or_lieges_rite_trigger = { CHARACTER = scope:owner } }
NOT = { scope:owner = { has_relation_lover = scope:target } }
NOT = { scope:owner = { is_spouse_of = scope:target } }
}
@ -886,7 +886,7 @@ court_ongoing.0503 = { #by Mathilda Bjarnehed
# }
# }
#
# stress_impact = {
# stress_and_fulfillment_impact = {
# craven = minor_stress_impact_gain
# gregarious = minor_stress_impact_gain
# arrogant = minor_stress_impact_gain
@ -913,7 +913,7 @@ court_ongoing.0503 = { #by Mathilda Bjarnehed
# opinion = -15
# }
#
# stress_impact = {
# stress_and_fulfillment_impact = {
# compassionate = minor_stress_impact_gain
# honest = minor_stress_impact_gain
# }
@ -923,7 +923,7 @@ court_ongoing.0503 = { #by Mathilda Bjarnehed
# option = {
# name = court_ongoing.1000.c
#
# stress_impact = {
# stress_and_fulfillment_impact = {
# brave = minor_stress_impact_gain
# compassionate = minor_stress_impact_gain
# deceitful = minor_stress_impact_gain
@ -940,6 +940,7 @@ scripted_trigger court_ongoing_1010_insulter_trigger = {
exists = liege
can_be_combatant_based_on_gender_trigger = { ARMY_OWNER = scope:potential_insulter.liege }
this != scope:target
this != root
OR = {
opinion = {
target = scope:target
@ -1105,7 +1106,7 @@ court_ongoing.1010 = { #by Mathilda Bjarnehed
}
}
stress_impact = {
stress_and_fulfillment_impact = {
craven = medium_stress_impact_gain
lazy = minor_stress_impact_gain
calm = minor_stress_impact_gain
@ -1171,7 +1172,7 @@ court_ongoing.1010 = { #by Mathilda Bjarnehed
}
}
stress_impact = {
stress_and_fulfillment_impact = {
wrathful = medium_stress_impact_gain
vengeful = minor_stress_impact_gain
}
@ -1195,7 +1196,7 @@ court_ongoing.1010 = { #by Mathilda Bjarnehed
opinion = 15
}
stress_impact = {
stress_and_fulfillment_impact = {
wrathful = medium_stress_impact_gain
vengeful = minor_stress_impact_gain
callous = minor_stress_impact_gain
@ -1691,7 +1692,7 @@ court_ongoing.1022 = { #by Mathilda Bjarnehed
}
}
stress_impact = {
stress_and_fulfillment_impact = {
craven = medium_stress_impact_gain
lazy = minor_stress_impact_gain
}
@ -1790,7 +1791,7 @@ court_ongoing.1022 = { #by Mathilda Bjarnehed
}
}
stress_impact = {
stress_and_fulfillment_impact = {
honest = medium_stress_impact_gain
compassionate = medium_stress_impact_gain
}
@ -1824,7 +1825,7 @@ court_ongoing.1022 = { #by Mathilda Bjarnehed
}
}
stress_impact = {
stress_and_fulfillment_impact = {
honest = minor_stress_impact_gain
greedy = minor_stress_impact_gain
}
@ -1896,7 +1897,7 @@ court_ongoing.1022 = { #by Mathilda Bjarnehed
}
}
stress_impact = {
stress_and_fulfillment_impact = {
honest = minor_stress_impact_gain
greedy = minor_stress_impact_gain
}
@ -1916,7 +1917,7 @@ court_ongoing.1022 = { #by Mathilda Bjarnehed
option = {
name = court_ongoing.1022.d
stress_impact = {
stress_and_fulfillment_impact = {
brave = minor_stress_impact_gain
}
@ -2496,7 +2497,7 @@ court_ongoing.1040 = { #by Mathilda Bjarnehed
}
court_ongoing_fetch_gift_target_outcome_effect = { GIFT = necklace OUTCOME = success }
stress_impact = {
stress_and_fulfillment_impact = {
greedy = medium_stress_impact_gain
}
@ -2526,7 +2527,7 @@ court_ongoing.1040 = { #by Mathilda Bjarnehed
}
court_ongoing_fetch_gift_target_outcome_effect = { GIFT = necklace OUTCOME = success }
stress_impact = {
stress_and_fulfillment_impact = {
paranoid = minor_stress_impact_gain
deceitful = minor_stress_impact_gain
}
@ -2596,7 +2597,7 @@ court_ongoing.1040 = { #by Mathilda Bjarnehed
}
}
stress_impact = {
stress_and_fulfillment_impact = {
compassionate = minor_stress_impact_gain
honest = medium_stress_impact_gain
generous = minor_stress_impact_gain
@ -2751,7 +2752,7 @@ court_ongoing.1050 = { #by Mathilda Bjarnehed
}
court_ongoing_fetch_gift_target_outcome_effect = { GIFT = orchid OUTCOME = success }
stress_impact = {
stress_and_fulfillment_impact = {
greedy = medium_stress_impact_gain
}
@ -2770,7 +2771,7 @@ court_ongoing.1050 = { #by Mathilda Bjarnehed
option = {
name = court_ongoing.1050.b
stress_impact = {
stress_and_fulfillment_impact = {
craven = major_stress_impact_gain
lazy = medium_stress_impact_gain
}
@ -3661,7 +3662,7 @@ court_ongoing.1110 = {
}
}
stress_impact = {
stress_and_fulfillment_impact = {
craven = medium_stress_impact_gain
calm = minor_stress_impact_gain
deceitful = minor_stress_impact_gain
@ -3720,7 +3721,7 @@ court_ongoing.1110 = {
}
}
stress_impact = {
stress_and_fulfillment_impact = {
compassionate = medium_stress_impact_gain
honest = medium_stress_impact_gain
just = minor_stress_impact_gain
@ -3808,7 +3809,7 @@ court_ongoing.1110 = {
}
}
stress_impact = {
stress_and_fulfillment_impact = {
greedy = medium_stress_impact_gain
honest = minor_stress_impact_gain
}
@ -4463,7 +4464,7 @@ court_ongoing.1120 = { #by Mathilda Bjarnehed
trigger_event = court_ongoing.1121
}
stress_impact = {
stress_and_fulfillment_impact = {
honest = minor_stress_impact_gain
craven = minor_stress_impact_gain
}
@ -4502,7 +4503,7 @@ court_ongoing.1120 = { #by Mathilda Bjarnehed
trigger_event = court_ongoing.1121
}
stress_impact = {
stress_and_fulfillment_impact = {
shy = medium_stress_impact_gain
}
@ -4546,7 +4547,7 @@ court_ongoing.1120 = { #by Mathilda Bjarnehed
trigger_event = court_ongoing.1121
}
stress_impact = {
stress_and_fulfillment_impact = {
shy = medium_stress_impact_gain
lazy = minor_stress_impact_gain
}
@ -4591,7 +4592,7 @@ court_ongoing.1120 = { #by Mathilda Bjarnehed
trigger_event = court_ongoing.1121
}
stress_impact = {
stress_and_fulfillment_impact = {
compassionate = medium_stress_impact_gain
shy = medium_stress_impact_gain
craven = medium_stress_impact_gain
@ -4820,7 +4821,7 @@ court_ongoing.1121 = { #by Mathilda Bjarnehed
}
}
stress_impact = {
stress_and_fulfillment_impact = {
shy = medium_stress_impact_gain
craven = medium_stress_impact_gain
compassionate = minor_stress_impact_gain
@ -5158,7 +5159,7 @@ court_ongoing.1211 = { #by Linnéa Thimrén
}
}
stress_impact = {
stress_and_fulfillment_impact = {
lazy = medium_stress_impact_gain
}
}
@ -5197,7 +5198,7 @@ court_ongoing.1211 = { #by Linnéa Thimrén
}
}
stress_impact = {
stress_and_fulfillment_impact = {
honest = minor_stress_impact_gain
}
}
@ -5361,7 +5362,7 @@ court_ongoing.1221 = { #by Linnéa Thimrén
}
}
stress_impact = {
stress_and_fulfillment_impact = {
gluttonous = medium_stress_impact_gain
}
}
@ -5401,7 +5402,7 @@ court_ongoing.1221 = { #by Linnéa Thimrén
}
}
stress_impact = {
stress_and_fulfillment_impact = {
honest = minor_stress_impact_gain
}
}

View file

@ -1527,10 +1527,13 @@ governor_contract_event.2000 = {
limit = { liege = root.liege }
save_scope_as = other_gov
}
scope:ongoing_contract = { # Save other gov for reward effects
set_variable = {
name = other_gov
value = scope:other_gov
if = { # Save other gov for reward effects; there may be no neighbouring peer governor
limit = { exists = scope:other_gov }
scope:ongoing_contract = {
set_variable = {
name = other_gov
value = scope:other_gov
}
}
}
generate_governance_outcome_effect = { OPTIONS = 5 }
@ -2308,9 +2311,13 @@ governor_contract_event.2031 = {
location = root.location
culture = scope:ongoing_destination.county.culture
faith = scope:ongoing_destination.county.faith
rite = scope:ongoing_destination.county.rite
gender_female_chance = root_soldier_female_chance
save_scope_as = peasant
}
scope:peasant = {
set_character_rite = scope:ongoing_destination.county.rite
}
if = {
limit = {
is_ai = yes
@ -3296,7 +3303,7 @@ governor_contract_event.2071 = {
first_valid = {
triggered_desc = {
trigger = {
liege = { has_title = title:e_byzantium }
liege = { is_roman_emperor_trigger = yes }
}
desc = governor_contract_event.2071.desc.byz
}
@ -3818,6 +3825,7 @@ governor_contract_event.2091 = {
location = root.location
template = local_saint_template
faith = root.location.faith
rite = root.location.rite
culture = root.location.culture
save_scope_as = prophet
after_creation = {
@ -4037,7 +4045,8 @@ governor_contract_event.2092 = {
option = {
name = governor_contract_event.2092.a
scope:ongoing_contract = {
# scope:ongoing_contract can be a stale Task_contract weak ref by the time the player picks this option
scope:ongoing_contract ?= {
if = {
limit = {
scope:governor_contract_event_2091_duel ?= flag:prophet_persecute
@ -4089,7 +4098,7 @@ governor_contract_event.2093 = {
option = {
name = governor_contract_event.2093.a
scope:ongoing_contract = {
scope:ongoing_contract ?= {
complete_task_contract = failure_standard
}
}
@ -4146,11 +4155,11 @@ governor_contract_event.2100 = {
}
faith = root.faith
trigger_if = {
limit = { faith = { has_doctrine_parameter = clergy_must_be_male } }
limit = { rite = { rite_has_parameter = clergy_must_be_male } }
is_female = no
}
trigger_else_if = {
limit = { faith = { has_doctrine_parameter = clergy_must_be_female } }
limit = { rite = { rite_has_parameter = clergy_must_be_female } }
is_female = yes
}
trigger_else = { always = yes }

View file

@ -131,7 +131,7 @@ disbelieve_mandala_ongoing.0001 = {
}
}
}
stress_impact = {
stress_and_fulfillment_impact = {
arrogant = minor_stress_impact_loss
}
ai_chance = {
@ -150,7 +150,7 @@ disbelieve_mandala_ongoing.0001 = {
# Don't take the risk
option = {
name = disbelieve_mandala_ongoing.0001.b
stress_impact = {
stress_and_fulfillment_impact = {
arrogant = minor_stress_impact_gain
}
ai_chance = {
@ -219,7 +219,7 @@ disbelieve_mandala_ongoing.0010 = {
create_artifact_pedestal_reliquary_judaism_effect = { OWNER = scope:spymaster }
}
else = {
create_artifact_sculpture_religious_effect = { OWNER = scope:spymaster }
create_artifact_sculpture_religious_effect = { OWNER = scope:spymaster CREATOR = scope:spymaster }
}
scope:newly_created_artifact = { save_scope_as = fake_relic }
}
@ -276,7 +276,7 @@ disbelieve_mandala_ongoing.0010 = {
}
}
}
stress_impact = {
stress_and_fulfillment_impact = {
deceitful = minor_stress_impact_loss
honest = medium_stress_impact_gain
}
@ -300,7 +300,7 @@ disbelieve_mandala_ongoing.0010 = {
# Nah
option = {
name = disbelieve_mandala_ongoing.0010.b
stress_impact = {
stress_and_fulfillment_impact = {
honest = minor_stress_impact_loss
deceitful = minor_stress_impact_gain
}
@ -316,4 +316,4 @@ disbelieve_mandala_ongoing.0010 = {
}
}
}
}
}

File diff suppressed because it is too large Load diff