parent
15a5108e23
commit
c4b6d9bdeb
250 changed files with 11067 additions and 16365 deletions
|
|
@ -21,13 +21,6 @@ title_event.9900 = {
|
|||
}
|
||||
|
||||
immediate = {
|
||||
if = {
|
||||
limit = { exists = root.var:ascended_throne_reason }
|
||||
root.var:ascended_throne_reason = { save_scope_as = real_transfer_type }
|
||||
}
|
||||
else = {
|
||||
scope:transfer_type = { save_scope_as = real_transfer_type }
|
||||
}
|
||||
if = {
|
||||
limit = {
|
||||
is_target_in_variable_list = {
|
||||
|
|
@ -106,90 +99,8 @@ 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 vanilla
|
||||
else = {
|
||||
if = {
|
||||
limit = { ep3_is_clan_inclined_trigger = yes }
|
||||
change_government = clan_government
|
||||
}
|
||||
else = { change_government = feudal_government }
|
||||
}
|
||||
}
|
||||
#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 vanilla
|
||||
else = {
|
||||
if = {
|
||||
limit = { ep3_is_clan_inclined_trigger = yes }
|
||||
change_government = clan_government
|
||||
}
|
||||
else = { change_government = feudal_government }
|
||||
}
|
||||
}
|
||||
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
|
||||
remove_variable = title_count
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue