last stuff for DD 1

This commit is contained in:
Magpie490 2025-04-17 13:52:28 +01:00
parent 5c8cb4d37a
commit d4c4eabf65
18 changed files with 2029 additions and 81 deletions

View file

@ -78,7 +78,7 @@ on_title_destroyed = {
# If the title of an independent admin ruler is destroyed, let's make sure we handle any stray admin vassals
if = {
limit = {
government_allows = administrative
has_government = administrative_government
is_independent_ruler = yes
NOT = {
any_held_title = {
@ -132,12 +132,12 @@ on_title_gain = {
# Note: anything that should be run after creation can go in on_noble_family_title_created
if = {
limit = {
government_allows = administrative
has_government = administrative_government
is_house_head = yes
highest_held_title_tier >= tier_duchy
liege = {
is_independent_ruler = yes
government_allows = administrative
has_government = administrative_government
}
NOR = {
any_held_title = { is_noble_family_title = yes }
@ -154,7 +154,7 @@ on_title_gain = {
# EP3 - Ensure Emperor keeps old realm capital in admin realms & apply unique domicile building bonus if appropriate
if = {
limit = {
government_allows = administrative
has_government = administrative_government
is_independent_ruler = yes
highest_held_title_tier >= tier_empire
}
@ -183,7 +183,7 @@ on_title_gain = {
# EP3 - Fire a became governor event
else_if = {
limit = {
government_allows = administrative
has_government = administrative_government
is_independent_ruler = no
is_governor = yes
any_held_title = {
@ -680,7 +680,7 @@ on_title_gain = {
}
}
# Admin only
government_allows = administrative
has_government = administrative_government
}
trigger_event = {
id = ep3_emperor_yearly.2050
@ -707,7 +707,7 @@ on_title_gain = {
if = {
limit = {
has_ep3_dlc_trigger = yes
government_allows = administrative
has_government = administrative_government
is_independent_ruler = yes
highest_held_title_tier >= tier_kingdom
scope:title = {
@ -765,7 +765,7 @@ on_title_gain = {
limit = {
is_playable_character = yes
exists = scope:previous_holder
government_allows = administrative
has_government = administrative_government
OR = {
highest_held_title_tier >= tier_duchy
liege = root
@ -793,7 +793,7 @@ on_title_gain = {
if = {
limit = {
has_ep3_dlc_trigger = yes
government_allows = administrative
has_government = administrative_government
has_succession_appointment_investors = scope:title
scope:title = {
any_succession_appointment_investors = {
@ -902,13 +902,13 @@ on_title_gain = {
limit = {
scope:title.tier > tier_barony
primary_title.tier <= scope:title.tier
government_allows = administrative
has_government = administrative_government
NOT = { has_character_flag = admin_title_gain_notification_sent }
house ?= {
any_house_member = {
is_ai = no
top_liege = root.top_liege
government_allows = administrative
has_government = administrative_government
NOT = { this = root }
}
}
@ -923,7 +923,7 @@ on_title_gain = {
limit = {
is_ai = no
top_liege = root.top_liege
government_allows = administrative
has_government = administrative_government
NOT = { this = scope:title_gainer }
}
send_interface_message = {
@ -1252,7 +1252,7 @@ on_title_gain = {
is_ruler = no
highest_held_title_tier <= scope:title.tier
government_has_flag = government_is_landless_adventurer
government_allows = administrative
has_government = administrative_government
}
}
if = {
@ -1881,7 +1881,7 @@ on_title_lost = {
}
is_alive = yes
NOT = { has_character_flag = admin_title_loss_notification_sent }
government_allows = administrative
has_government = administrative_government
house ?= {
any_house_member = {
is_ai = no
@ -1889,7 +1889,7 @@ on_title_lost = {
limit = { exists = root.top_liege }
top_liege = root.top_liege
}
government_allows = administrative
has_government = administrative_government
NOT = { this = root }
}
}
@ -1907,7 +1907,7 @@ on_title_lost = {
limit = { exists = root.top_liege }
top_liege = root.top_liege
}
government_allows = administrative
has_government = administrative_government
NOT = { this = scope:title_loser }
}
send_interface_message = {
@ -2273,7 +2273,7 @@ on_vassal_change = {
limit = {
OR = {
liege ?= {
NOT = { government_allows = administrative }
NOT = { has_government = administrative_government }
}
AND = {
is_independent_ruler = yes
@ -2322,12 +2322,12 @@ on_vassal_change = {
### If a admin duke-tier character becomes the top-liege's direct vassal, ensure that they have a noble family title
if = {
limit = {
government_allows = administrative
has_government = administrative_government
is_house_head = yes
highest_held_title_tier >= tier_duchy
liege = {
is_independent_ruler = yes
government_allows = administrative
has_government = administrative_government
}
NOR = {
any_held_title = { is_noble_family_title = yes }