fixes big evebts abd on actions plus mroe

This commit is contained in:
Greekman 2026-11-21 19:27:08 +00:00
parent c9d520e5a1
commit bce2aa31a1
207 changed files with 100377 additions and 9296 deletions

View file

@ -10,6 +10,10 @@ on_death = {
add_character_flag = { flag = about_to_die_but_not_dead_yet_flag } # Used in perk calc
merchant_inspector_clear_specialized_market_effect = yes
burgher_clear_sponsor_links_effect = yes
# Legend inheritance
if = {
limit = {
@ -2414,9 +2418,39 @@ on_death = {
if = {
limit = { is_valid_for_legitimacy_change = yes }
add_legitimacy = massive_legitimacy_loss
}
}
### GDP ###
gdp_merchant_charter_patron_death_effect = yes
# NEOW 2555: historical Italian Guelph/Ghibelline succession disabled.
#Sort out the next Guelph & Ghibelline leader
# if = {
# limit = {
# exists = situation:guelph_ghibelline
# OR = {
# exists = var:guelph_leader
# exists = var:ghibelline_leader
# }
# }
# try_set_up_new_gg_leader_effect = yes
# }
# Allow the player to pick great schism stance when dying and becoming an heir that already has one
if = {
limit = {
is_ai = no
player_heir ?= {
has_variable = pam_schism_stance
}
}
player_heir = {
remove_variable = pam_schism_stance
}
}
# # PAM - Catalysts
# NEOW 2555: previously disabled PAM short-reign catalyst kept disabled.
# PAM - Catalysts
# if = {
# limit = {
# pam_head_of_rite_had_short_reign_trigger = yes