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

@ -106,80 +106,6 @@ title_event.9900 = {
root = { remove_variable = ascended_throne_extra }
}
}
#Clean up LAAMPS who get the wrong governments in claimant wars
if = {
limit = {
OR = {
AND = {
has_variable = city_construction_is_temple_citadel
any_in_list = {
variable = new_titles
this = root.var:city_construction_is_temple_citadel
}
}
AND = {
has_variable = city_construction_is_castle
any_in_list = {
variable = new_titles
this = root.var:city_construction_is_castle
}
}
}
}
#Can the LAAMP become Mandala?
if = {
limit = { has_variable = city_construction_is_temple_citadel }
if = {
limit = {
#... we're lenient
faith = { has_doctrine = doctrine_polytheist }
}
#Sort out the House shenanigans
if = {
limit = { is_house_head = no }
house = {
if = {
limit = {
house_head = {
is_landed = no
is_courtier_of = root
}
}
set_house_head = root
}
}
}
else = {
house ?= {
set_house_aspiration = { type = no_aspect }
}
}
}
#Otherwise go feudals
else = {
assign_feudal_governments_effect = yes
}
}
#Otherwise we have city_construction_is_castle
else = {
#... Feudals shouldn't have temple capitals
if = {
limit = {
has_variable = holding_barony
capital_barony = { this != root.var:holding_barony }
capital_province = { has_holding_type = church_holding }
}
capital_province = { set_holding_type = castle_holding }
}
#Otherwise go feudals
else = {
assign_feudal_governments_effect = yes
}
}
remove_variable = city_construction_is_temple_citadel
remove_variable = city_construction_is_castle
remove_variable = holding_barony
}
clear_variable_list = new_titles
remove_variable = title_count
}
@ -266,12 +192,7 @@ title_event.9911 = {
trigger = {
government_has_flag = government_is_landless_adventurer
NOR = {
is_commanding_army = yes
exists = involved_activity
is_travelling = yes
is_imprisoned = yes
}
should_in_default_location_trigger = yes
}
immediate = { set_location_to_default = yes }