More fixes

This commit is contained in:
Heidesommer 2026-05-28 07:00:37 -04:00
parent f78dbd4986
commit a6f8acc22f
23 changed files with 5790 additions and 1934 deletions

View file

@ -679,7 +679,7 @@ on_siege_looting = {
on_army_enter_province = {
events = {
great_holy_war.0060 # Give Crusaders their trait upon reaching the holy land.
ep3_emperor_yearly.3010 # Byzantine emperor sends fireships to defend the strait of Marmara
# ep3_emperor_yearly.3010 # Byzantine emperor sends fireships to defend the strait of Marmara
game_rule.1021 # Figure out whether we should fire a conclusion event during the Conquest.
}
random_events = {

View file

@ -337,16 +337,16 @@ on_death = {
}
}
if = {
limit = {
exists = global_var:mongol_empire_was_broken_up
exists = global_var:handed_out_mongolia_in_mongol_succession # If Mongolia wasn't properly granted, something has gone wrong, and the primary_heir should receive the Mongol Empire as expected
any_held_title = {
this = title:e_mongol_empire
}
}
destroy_title = title:e_mongol_empire
}
# if = {
# limit = {
# exists = global_var:mongol_empire_was_broken_up
# exists = global_var:handed_out_mongolia_in_mongol_succession # If Mongolia wasn't properly granted, something has gone wrong, and the primary_heir should receive the Mongol Empire as expected
# any_held_title = {
# this = title:e_mongol_empire
# }
# }
# destroy_title = title:e_mongol_empire
# }
# Fix gods-damned Bavaria splitting from East Francia in an ugly fashion in 867.
if = {
@ -1576,48 +1576,48 @@ on_death = {
}
# EP3, Hasan story cycle stuff
if = {
limit = {
root = character:3096
}
save_scope_as = ismaili_caliph
character:41702 ?= {
trigger_event = {
id = hasan_sabbah.1030
days = 1
}
}
}
if = {
limit = {
character:41702 ?= {
any_owned_story = {
type = story_hasan
var:ultimate_foe ?= root
}
}
}
character:41702 = {
random_owned_story = {
type = story_hasan
if = {
limit = {
scope:killer = character:41702
}
hasan_sabbah_end_war = {
HASAN = character:41702
SELJUK = root
}
}
else = {
set_variable = {
name = ultimate_foe
value = root.player_heir
}
}
}
}
}
# if = {
# limit = {
# root = character:3096
# }
# save_scope_as = ismaili_caliph
# character:41702 ?= {
# trigger_event = {
# id = hasan_sabbah.1030
# days = 1
# }
# }
# }
# if = {
# limit = {
# character:41702 ?= {
# any_owned_story = {
# type = story_hasan
# var:ultimate_foe ?= root
# }
# }
# }
# character:41702 = {
# random_owned_story = {
# type = story_hasan
# if = {
# limit = {
# scope:killer = character:41702
# }
# hasan_sabbah_end_war = {
# HASAN = character:41702
# SELJUK = root
# }
# }
# else = {
# set_variable = {
# name = ultimate_foe
# value = root.player_heir
# }
# }
# }
# }
# }
if = {
limit = {
@ -2182,7 +2182,7 @@ on_death = {
fp1_other_decisions.0063 # FP1: designated HumSac has died
fp1_other_decisions.0064 # FP1: remove counties offended by HumSac modifier
bp1_house_feud.9000 # BP1: save rivals on death and fire inheritance on action
ep3_frankokratia_events.0021 #EP3 keep frankokratia leaders in the plot
# ep3_frankokratia_events.0021 #EP3 keep frankokratia leaders in the plot
mpo_nomad_events.1090 #Nomad widow-marrying event
death_management.0123 # Hosue Relations
}

View file

@ -2995,30 +2995,30 @@ on_title_gain_inheritance = {
}
resolve_title_and_vassal_change = scope:change
}
if = {
limit = {
scope:title = {
OR = {
this = title:e_mongol_empire
AND = {
exists = global_var:greatest_of_khans_title
this = global_var:greatest_of_khans_title
}
}
}
has_character_flag = gain_mongol_succession_dread
}
add_dread = 50
}
else_if = {
limit = {
OR = {
scope:title = title:h_roman_empire
scope:title = title:h_eastern_roman_empire
}
}
set_variable = uses_custom_caesar_flavourization
}
# if = {
# limit = {
# scope:title = {
# OR = {
# this = title:e_mongol_empire
# AND = {
# exists = global_var:greatest_of_khans_title
# this = global_var:greatest_of_khans_title
# }
# }
# }
# has_character_flag = gain_mongol_succession_dread
# }
# add_dread = 50
# }
# else_if = {
# limit = {
# OR = {
# scope:title = title:h_roman_empire
# scope:title = title:h_eastern_roman_empire
# }
# }
# set_variable = uses_custom_caesar_flavourization
# }
}
}
@ -3415,25 +3415,25 @@ on_title_lost = {
}
# Struggle catalyst
if = {
limit = {
any_character_struggle = {
involvement = involved
phase_has_catalyst = catalyst_revoke_title
}
OR = {
scope:transfer_type = flag:revoked
scope:transfer_type = flag:lease_revoked
}
}
every_character_struggle = {
activate_struggle_catalyst = {
catalyst = catalyst_revoke_title
character = scope:new_holder
}
}
}
# if = {
# limit = {
# any_character_struggle = {
# involvement = involved
# phase_has_catalyst = catalyst_revoke_title
# }
# OR = {
# scope:transfer_type = flag:revoked
# scope:transfer_type = flag:lease_revoked
# }
# }
# every_character_struggle = {
# activate_struggle_catalyst = {
# catalyst = catalyst_revoke_title
# character = scope:new_holder
# }
# }
# }
#
# Memories
# Lost a significant title
if = {

View file

@ -2909,7 +2909,7 @@ random_yearly_playable_pulse = {
4 = fp2_yearly_events
4 = fp3_yearly_events
2 = bp1_yearly_events
6 = ep3_yearly_events_byzantium
# 6 = ep3_yearly_events_byzantium
6 = ep3_yearly_events_admin
6 = tgp_japan_yearly_events
6 = tgp_china_yearly_events
@ -3010,8 +3010,8 @@ random_yearly_playable_pulse = {
delay = { days = { 181 240 } }
bp2_child_pulse
delay = { days = { 181 240 } }
bp2_parent_guardian_hostage_taker_pulse
delay = { days = { 241 290 } }
# bp2_parent_guardian_hostage_taker_pulse
# delay = { days = { 241 290 } }
bp2_adult_followups
delay = { days = { 291 310 } }
court_scholar_ongoing
@ -3148,24 +3148,24 @@ five_year_everyone_pulse = {
}
# FP2 - Checks to start El Cid's Travels
if = {
limit = { # Am I El Cid?
has_fp2_dlc_trigger = yes
has_ep3_dlc_trigger = no
this = character:107590
NOT = { has_character_flag = has_already_begun_travelling } # Separate first check, for performance
NOT = { # Start date employer is either dead or gone
OR = {
top_liege = character:107500
liege = character:107500
employer = character:107500
}
}
is_available_healthy_ai_adult = yes # Am I ready to go on an adventure?
}
trigger_event = fp2_struggle.2045
}
# if = {
# limit = { # Am I El Cid?
# has_fp2_dlc_trigger = yes
# has_ep3_dlc_trigger = no
# this = character:107590
# NOT = { has_character_flag = has_already_begun_travelling } # Separate first check, for performance
#
# NOT = { # Start date employer is either dead or gone
# OR = {
# top_liege = character:107500
# liege = character:107500
# employer = character:107500
# }
# }
# is_available_healthy_ai_adult = yes # Am I ready to go on an adventure?
# }
# trigger_event = fp2_struggle.2045
# }
#young nobodies getting castrated
if = {
limit = {
@ -3683,7 +3683,7 @@ on_yearly_events = {
150 = fp2_yearly.3001 # Choosing your epitaph
150 = fp2_yearly.3002 # And They Were Roommates
150 = fp2_yearly.3003 # A Flavorful Evening
180 = fp2_struggle.2003 # Band of Lost Birds
# 180 = fp2_struggle.2003 # Band of Lost Birds
#BP1 - Bontent Pack One Events
100 = bp1_yearly.1000 # Best friend introduces you to a new hobby
@ -4098,12 +4098,12 @@ on_yearly_events = {
200 = tgp_movement_events.0160 # Promise Movement leader to not scheme against each other
# TGP - Dynastic Cycle Events
200 = tgp_dynastic_cycle_events.0001 # Tilt the scales towards Advancement
200 = tgp_dynastic_cycle_events.0010 # Disciple has a mental breakdown in Instability
200 = tgp_dynastic_cycle_events.0020 # Rowdy peasants steal food during Instability
200 = tgp_dynastic_cycle_events.0030 # In this time of Expansion you should become a Military Governor
200 = tgp_dynastic_cycle_events.0040 # Steward is interested in the Silk Road
200 = tgp_dynastic_cycle_events.0050 # Debate the Favoured Movement and get ahead of them
# 200 = tgp_dynastic_cycle_events.0001 # Tilt the scales towards Advancement
# 200 = tgp_dynastic_cycle_events.0010 # Disciple has a mental breakdown in Instability
# 200 = tgp_dynastic_cycle_events.0020 # Rowdy peasants steal food during Instability
# 200 = tgp_dynastic_cycle_events.0030 # In this time of Expansion you should become a Military Governor
# 200 = tgp_dynastic_cycle_events.0040 # Steward is interested in the Silk Road
# 200 = tgp_dynastic_cycle_events.0050 # Debate the Favoured Movement and get ahead of them
# TGP - Confucianism Events
250 = tgp_china_yearly.0001 # Charitable Acts