hopefully updated on actions and scripted triggers
This commit is contained in:
parent
84ac41f6ca
commit
a4d812a52c
27 changed files with 10879 additions and 4415 deletions
|
|
@ -36,6 +36,28 @@ on_title_destroyed = {
|
|||
owner = { destroy_title = prev }
|
||||
}
|
||||
# If the title of an independent admin ruler is destroyed, let's make sure we handle any stray admin vassals
|
||||
|
||||
################ N3OW Dynamic Titles ##################
|
||||
|
||||
if = {
|
||||
limit = {
|
||||
OR = {
|
||||
scope:title = title:k_kuban
|
||||
scope:title = title:d_volgorad
|
||||
scope:title = title:c_volgograd
|
||||
scope:title = title:b_volgograd
|
||||
scope:title = title:e_france
|
||||
scope:title = title:e_nistrenia
|
||||
scope:title = title:e_europa
|
||||
scope:title = title:e_britannia
|
||||
scope:title = title:e_germany
|
||||
}
|
||||
}
|
||||
trigger_event = NEOW_dynamic_titles.1000
|
||||
}
|
||||
|
||||
######################################################
|
||||
|
||||
if = {
|
||||
limit = {
|
||||
government_has_mechanic = administrative
|
||||
|
|
@ -179,37 +201,6 @@ on_title_destroyed = {
|
|||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
# A title is transferred to a new character
|
||||
# root = the new holder
|
||||
# scope:title = the title that changes hands
|
||||
# scope:previous_holder = previous holder. Might be dead
|
||||
on_title_gain = {
|
||||
effect = {
|
||||
|
||||
################ N3OW Dynamic Titles ##################
|
||||
|
||||
if = {
|
||||
limit = {
|
||||
OR = {
|
||||
scope:title = title:k_kuban
|
||||
scope:title = title:d_volgorad
|
||||
scope:title = title:c_volgograd
|
||||
scope:title = title:b_volgograd
|
||||
scope:title = title:e_france
|
||||
scope:title = title:e_nistrenia
|
||||
scope:title = title:e_europa
|
||||
scope:title = title:e_britannia
|
||||
scope:title = title:e_germany
|
||||
}
|
||||
}
|
||||
trigger_event = NEOW_dynamic_titles.1000
|
||||
}
|
||||
|
||||
######################################################
|
||||
|
||||
|
||||
# Empire Faith Gate: refresh contested-empire modifiers immediately when an empire is destroyed.
|
||||
if = {
|
||||
|
|
@ -219,7 +210,241 @@ on_title_gain = {
|
|||
}
|
||||
root = { efg_recalculate_contested_empire_for_faith_effect = yes }
|
||||
}
|
||||
|
||||
|
||||
if = {
|
||||
limit = {
|
||||
scope:landed_title = {
|
||||
has_title_law = confederation_elective_succession_law
|
||||
}
|
||||
}
|
||||
if = {
|
||||
limit = {
|
||||
has_character_modifier = confederate_king_modifier
|
||||
}
|
||||
remove_character_modifier = confederate_king_modifier
|
||||
}
|
||||
if = {
|
||||
limit = {
|
||||
has_character_modifier = coronated_confed_modifier
|
||||
}
|
||||
remove_character_modifier = coronated_confed_modifier
|
||||
}
|
||||
}
|
||||
|
||||
#########
|
||||
# PAM #
|
||||
#########
|
||||
# if = {
|
||||
# limit = {
|
||||
# scope:landed_title = {
|
||||
# has_clerical_region = yes
|
||||
# root = { religion = religion:christianity_religion }
|
||||
# }
|
||||
# }
|
||||
# situation:the_christian_church.situation_sub_region:core = {
|
||||
# remove_clerical_realm_from_sub_region = scope:landed_title
|
||||
# }
|
||||
# }
|
||||
}
|
||||
}
|
||||
|
||||
# A title is transferred to a new character
|
||||
# root = the new holder
|
||||
# scope:title = the title that changes hands
|
||||
# scope:previous_holder = previous holder. Might be dead
|
||||
on_title_gain = {
|
||||
effect = {
|
||||
# refresh the state rite if conquered in a GHW, otherwise crusader kings will follow muslim faith in egypt.
|
||||
if = {
|
||||
limit = {
|
||||
scope:transfer_type = flag:conquest_holy_war
|
||||
exists = scope:title.state_rite
|
||||
}
|
||||
scope:title = {
|
||||
set_state_rite = root.rite
|
||||
}
|
||||
}
|
||||
if = {
|
||||
limit = { clerical_elector_title ?= scope:title }
|
||||
pam_strip_illegal_cardinalate_effect = yes
|
||||
}
|
||||
if = {
|
||||
limit = {
|
||||
exists = clerical_elector_title
|
||||
scope:title = clerical_elector_title
|
||||
}
|
||||
add_character_flag = cardinal_flag
|
||||
situation:the_christian_church ?= {
|
||||
add_manual_participant = prev
|
||||
}
|
||||
}
|
||||
# Unconditional: also catches a sitting Head of Faith who is handed a cardinalate
|
||||
pam_vacate_head_of_faith_cardinalate_effect = yes
|
||||
if = {
|
||||
limit = {
|
||||
scope:title = { has_clerical_region = yes }
|
||||
religion = religion:christianity_religion
|
||||
}
|
||||
situation:the_christian_church ?= {
|
||||
add_manual_participant = prev
|
||||
}
|
||||
}
|
||||
if = {
|
||||
limit = {
|
||||
government_has_flag = government_is_landless_adventurer
|
||||
OR = {
|
||||
scope:transfer_type = flag:inheritance
|
||||
scope:transfer_type = flag:appointment_succession
|
||||
}
|
||||
religion = religion:christianity_religion
|
||||
OR = {
|
||||
scope:title = { has_clerical_region = yes }
|
||||
scope:title = { has_title_law = clerical_appointment_law }
|
||||
scope:previous_holder = { has_realm_law = clerical_appointment_law }
|
||||
}
|
||||
any_held_title = { has_variable = adventurer_creation_reason }
|
||||
}
|
||||
destroy_laamp_effect = { ADVENTURER = root }
|
||||
change_government = ecclesiastical_government
|
||||
}
|
||||
if = {
|
||||
limit = {
|
||||
OR = {
|
||||
scope:title = title:d_coptic_papacy
|
||||
scope:title = title:d_apostolic_church
|
||||
}
|
||||
}
|
||||
change_government = ecclesiastical_government
|
||||
}
|
||||
pam_align_theocracy_with_faith_government_effect = yes
|
||||
# The three-year pulse is too slow for a non-Christian clerical court landed mid-game, which has no other Clerical Appointment candidates
|
||||
if = {
|
||||
limit = {
|
||||
pam_government_is_religious_playable_trigger = yes
|
||||
religion != religion:christianity_religion
|
||||
NOT = { exists = primary_heir }
|
||||
}
|
||||
pam_seed_monk_courtiers_effect = yes
|
||||
}
|
||||
if = {
|
||||
limit = { scope:title = title:d_benedictine_order }
|
||||
set_variable = { name = benedictine }
|
||||
}
|
||||
if = {
|
||||
limit = { scope:title = title:k_papal_state }
|
||||
enforce_papal_latin_court_language_effect = yes
|
||||
# PAM - track how many Popes in a row have been of the same dynasty
|
||||
pam_the_christian_church_papal_dynasty_capture_catalyst_effect = yes
|
||||
if = {
|
||||
limit = {
|
||||
faith = { has_doctrine_parameter = has_clerical_electors }
|
||||
NOT = { has_realm_law = theocratic_elective_succession_law }
|
||||
}
|
||||
add_realm_law_skip_effects = theocratic_elective_succession_law
|
||||
}
|
||||
}
|
||||
# Move a county+ Realm Priest Puppet to Clerical Ruler while the puppeteer slot is still free
|
||||
if = {
|
||||
limit = {
|
||||
is_clergy = yes
|
||||
scope:title.tier >= tier_county
|
||||
highest_held_title_tier = scope:title.tier
|
||||
exists = puppeteer
|
||||
is_puppet_of_type = theological_agent_puppet
|
||||
}
|
||||
pam_make_clerical_ruler_puppet_effect = { PUPPETEER = puppeteer }
|
||||
}
|
||||
scope:previous_holder ?= {
|
||||
if = {
|
||||
limit = {
|
||||
NOT = { exists = clerical_elector_title }
|
||||
is_alive = yes
|
||||
}
|
||||
remove_character_flag = cardinal_flag
|
||||
}
|
||||
if = {
|
||||
limit = {
|
||||
is_alive = yes
|
||||
OR = {
|
||||
scope:title = { has_clerical_region = yes }
|
||||
root.clerical_elector_title ?= scope:title
|
||||
}
|
||||
NOR = {
|
||||
exists = clerical_elector_title
|
||||
any_held_title = { has_clerical_region = yes }
|
||||
}
|
||||
}
|
||||
situation:the_christian_church ?= {
|
||||
if = {
|
||||
limit = { is_manual_participant = prev }
|
||||
remove_manual_participant = prev
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
# An inherited antipope title carries its Flavourization flag to the heir
|
||||
if = {
|
||||
limit = {
|
||||
scope:title.tier = tier_kingdom
|
||||
pam_is_antipope_trigger = yes
|
||||
}
|
||||
add_character_flag = antipope_flag
|
||||
}
|
||||
scope:previous_holder ?= {
|
||||
if = {
|
||||
limit = {
|
||||
is_alive = yes
|
||||
has_character_flag = antipope_flag
|
||||
pam_is_antipope_trigger = no
|
||||
}
|
||||
remove_character_flag = antipope_flag
|
||||
}
|
||||
}
|
||||
# PAM: a player's kin takes a great office of the Church
|
||||
# pam_establish_antipope_effect waits for this
|
||||
# The challenger registers only after the title change
|
||||
if = {
|
||||
limit = {
|
||||
religion = religion:christianity_religion
|
||||
pam_title_is_church_seat_trigger = { TITLE = scope:title }
|
||||
}
|
||||
pam_family_becomes_prelate_effect = {
|
||||
TITLE = scope:title
|
||||
KIND = flag:head_of_faith
|
||||
}
|
||||
}
|
||||
else_if = {
|
||||
limit = {
|
||||
religion = religion:christianity_religion
|
||||
scope:title = { has_clerical_region = yes }
|
||||
NOT = {
|
||||
any_held_title = {
|
||||
has_clerical_region = yes
|
||||
this != scope:title
|
||||
}
|
||||
}
|
||||
}
|
||||
pam_family_becomes_prelate_effect = {
|
||||
TITLE = scope:title
|
||||
KIND = flag:archbishop
|
||||
}
|
||||
}
|
||||
|
||||
# PAM - a Christian prelate takes a landed title outside the clerical regions
|
||||
pam_the_christian_church_clergy_gained_landed_title_catalyst_effect = yes
|
||||
if = {
|
||||
limit = {
|
||||
religion = religion:christianity_religion
|
||||
scope:title = { has_clerical_region = yes }
|
||||
exists = scope:previous_holder
|
||||
}
|
||||
pam_react_to_new_archbishop_effect = { TITLE = scope:title }
|
||||
}
|
||||
pam_offer_great_schism_stance_effect = yes
|
||||
|
||||
######################
|
||||
# COUNTY-TIER TITLES #
|
||||
######################
|
||||
if = {
|
||||
limit = {
|
||||
scope:title.tier = tier_county
|
||||
|
|
@ -230,7 +455,6 @@ on_title_gain = {
|
|||
###########
|
||||
if = {
|
||||
limit = {
|
||||
NOR = { liege = { government_has_flag = government_allows_nomad_domicile_titles } government_has_flag = government_allows_nomad_domicile_titles }
|
||||
scope:title = {
|
||||
is_nomad_title = yes
|
||||
exists = title_domicile
|
||||
|
|
@ -240,7 +464,6 @@ on_title_gain = {
|
|||
if = {
|
||||
limit = {
|
||||
root = {
|
||||
NOR = { liege = { government_has_flag = government_allows_nomad_domicile_titles } government_has_flag = government_allows_nomad_domicile_titles }
|
||||
any_held_title = {
|
||||
is_nomad_title = yes
|
||||
exists = title_domicile
|
||||
|
|
@ -251,7 +474,6 @@ on_title_gain = {
|
|||
if = {
|
||||
limit = {
|
||||
root = {
|
||||
NOR = { liege = { government_has_flag = government_allows_nomad_domicile_titles } government_has_flag = government_allows_nomad_domicile_titles }
|
||||
any_held_title = {
|
||||
is_nomad_title = yes
|
||||
exists = title_domicile
|
||||
|
|
@ -287,7 +509,6 @@ on_title_gain = {
|
|||
}
|
||||
else_if = {
|
||||
limit = {
|
||||
NOR = { liege = { government_has_flag = government_allows_nomad_domicile_titles } government_has_flag = government_allows_nomad_domicile_titles }
|
||||
exists = var:player_domicile_title
|
||||
}
|
||||
root = {
|
||||
|
|
@ -303,7 +524,6 @@ on_title_gain = {
|
|||
title_domicile = {
|
||||
if = {
|
||||
limit = {
|
||||
NOR = { liege = { government_has_flag = government_allows_nomad_domicile_titles } government_has_flag = government_allows_nomad_domicile_titles }
|
||||
exists = root.dynasty
|
||||
scope:previous_holder.dynasty ?= root.dynasty
|
||||
}
|
||||
|
|
@ -330,7 +550,6 @@ on_title_gain = {
|
|||
root = {
|
||||
random_held_title = {
|
||||
limit = {
|
||||
NOR = { liege = { government_has_flag = government_allows_nomad_domicile_titles } government_has_flag = government_allows_nomad_domicile_titles }
|
||||
is_nomad_title = yes
|
||||
exists = title_domicile
|
||||
NOT = { this = scope:title }
|
||||
|
|
@ -355,9 +574,6 @@ on_title_gain = {
|
|||
root = {
|
||||
random_held_title = {
|
||||
limit = {
|
||||
root = {
|
||||
NOR = { liege = { government_has_flag = government_allows_nomad_domicile_titles } government_has_flag = government_allows_nomad_domicile_titles }
|
||||
}
|
||||
is_nomad_title = yes
|
||||
exists = title_domicile
|
||||
NOT = { this = scope:title }
|
||||
|
|
@ -368,7 +584,6 @@ on_title_gain = {
|
|||
title_domicile = {
|
||||
if = {
|
||||
limit = {
|
||||
NOR = { liege = { government_has_flag = government_allows_nomad_domicile_titles } government_has_flag = government_allows_nomad_domicile_titles }
|
||||
exists = root.dynasty
|
||||
scope:previous_holder.dynasty ?= root.dynasty
|
||||
}
|
||||
|
|
@ -385,7 +600,6 @@ on_title_gain = {
|
|||
if = {
|
||||
limit = {
|
||||
exists = global_var:game_has_started
|
||||
NOR = { liege = { government_has_flag = government_allows_nomad_domicile_titles } government_has_flag = government_allows_nomad_domicile_titles }
|
||||
NOT = {
|
||||
exists = previous_holder
|
||||
}
|
||||
|
|
@ -393,7 +607,6 @@ on_title_gain = {
|
|||
if = {
|
||||
limit = {
|
||||
root = {
|
||||
NOR = { liege = { government_has_flag = government_allows_nomad_domicile_titles } government_has_flag = government_allows_nomad_domicile_titles }
|
||||
OR = {
|
||||
house.house_head ?= {
|
||||
this != root
|
||||
|
|
@ -586,12 +799,12 @@ on_title_gain = {
|
|||
has_character_flag = domicile_culture_and_faith_check
|
||||
OR = {
|
||||
domicile.domicile_culture != scope:title.culture
|
||||
domicile.domicile_faith != scope:title.faith
|
||||
domicile.domicile_rite != scope:title.rite
|
||||
}
|
||||
}
|
||||
domicile = {
|
||||
set_domicile_culture = scope:title.culture
|
||||
set_domicile_faith = scope:title.faith
|
||||
set_domicile_rite = scope:title.rite
|
||||
}
|
||||
remove_character_flag = domicile_culture_and_faith_check
|
||||
}
|
||||
|
|
@ -607,8 +820,8 @@ on_title_gain = {
|
|||
}
|
||||
}
|
||||
if = {
|
||||
limit = { domicile.domicile_faith != scope:title.faith }
|
||||
scope:title = { set_county_faith = root.domicile.domicile_faith }
|
||||
limit = { domicile.domicile_rite != scope:title.rite }
|
||||
scope:title = { set_county_rite = root.domicile.domicile_rite }
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -796,6 +1009,24 @@ on_title_gain = {
|
|||
}
|
||||
}
|
||||
|
||||
###########
|
||||
# CE1 - Isolated Capital only carries over to a successor
|
||||
###########
|
||||
if = {
|
||||
limit = {
|
||||
scope:title = { has_county_modifier = isolate_capital_decision_modifier }
|
||||
NOR = {
|
||||
scope:transfer_type = flag:inheritance
|
||||
scope:transfer_type = flag:abdication
|
||||
scope:transfer_type = flag:appointment_succession
|
||||
scope:transfer_type = flag:election
|
||||
}
|
||||
}
|
||||
scope:title = {
|
||||
remove_county_modifier = isolate_capital_decision_modifier
|
||||
}
|
||||
}
|
||||
|
||||
###########
|
||||
# EP3 ADVENTURERS BECOMING LANDED
|
||||
###########
|
||||
|
|
@ -1673,6 +1904,30 @@ on_title_gain = {
|
|||
# trigger_event = roman_restoration.0005
|
||||
# }
|
||||
#Mongol empire and GoK should lose other empires
|
||||
if = {
|
||||
limit = {
|
||||
primary_title ?= {
|
||||
OR = {
|
||||
this = title:e_mongol_empire
|
||||
AND = {
|
||||
exists = global_var:greatest_of_khans_title
|
||||
this = global_var:greatest_of_khans_title
|
||||
}
|
||||
}
|
||||
}
|
||||
scope:title = {
|
||||
NOR = {
|
||||
this = title:e_mongol_empire
|
||||
AND = {
|
||||
exists = global_var:greatest_of_khans_title
|
||||
this = global_var:greatest_of_khans_title
|
||||
}
|
||||
}
|
||||
}
|
||||
is_ai = yes
|
||||
}
|
||||
destroy_title = scope:title
|
||||
}
|
||||
# You just inherited an Emperor title!!
|
||||
if = {
|
||||
limit = {
|
||||
|
|
@ -1792,6 +2047,70 @@ on_title_gain = {
|
|||
# value = yes
|
||||
# }
|
||||
# }
|
||||
# TGP CEREMONIAL RULER
|
||||
# IMPERIAL INHERITANCE
|
||||
else_if = {
|
||||
limit = {
|
||||
scope:title = {
|
||||
this = title:k_france
|
||||
}
|
||||
NOR = {
|
||||
dynasty = { this = dynasty:25061 } # Not held by a Karling
|
||||
any_liege_or_above = {
|
||||
dynasty = { this = dynasty:25061 } # And does not have a liege that is a Karling
|
||||
}
|
||||
has_global_variable = west_francia_renamed
|
||||
}
|
||||
}
|
||||
trigger_event = {
|
||||
id = title_event.0001
|
||||
days = 1
|
||||
}
|
||||
}
|
||||
# East Francia becomes Germany when no longer controlled by a Karling
|
||||
else_if = {
|
||||
limit = {
|
||||
scope:title = {
|
||||
this = title:k_east_francia
|
||||
}
|
||||
NOR = {
|
||||
dynasty = { this = dynasty:25061 } # Not held by a Karling
|
||||
any_liege_or_above = {
|
||||
dynasty = { this = dynasty:25061 } # And does not have a liege that is a Karling
|
||||
}
|
||||
has_global_variable = east_francia_renamed
|
||||
}
|
||||
}
|
||||
trigger_event = {
|
||||
id = title_event.0002
|
||||
days = 1
|
||||
}
|
||||
}
|
||||
# Hidden management event to determine if we need to axe Asturias &, if we do, what notification events to send out afterwards.
|
||||
else_if = {
|
||||
limit = {
|
||||
scope:title = title:k_castille
|
||||
title:k_asturias = {
|
||||
# Leon must be de jure part of Asturias, or else there's no reason to ever stop calling it Asturias.
|
||||
any_in_de_jure_hierarchy = { this = title:d_leon }
|
||||
}
|
||||
}
|
||||
trigger_event = {
|
||||
id = title_event.0011
|
||||
days = 1
|
||||
}
|
||||
}
|
||||
# FP2 El Cid Achievement
|
||||
else_if = {
|
||||
limit = {
|
||||
scope:title = title:k_valencia
|
||||
has_character_flag = fp2_el_cid_blood_relation_legacy
|
||||
}
|
||||
set_global_variable = { # DO. NOT. USE. add_achievement_global_variable_effect. IT BREAKS THE ACHIEVEMENT.
|
||||
name = fp2_el_cid_achievement_unlocked
|
||||
value = yes
|
||||
}
|
||||
}
|
||||
# TGP CEREMONIAL RULER
|
||||
# IMPERIAL INHERITANCE
|
||||
else_if = {
|
||||
|
|
@ -2095,7 +2414,6 @@ on_title_gain = {
|
|||
}
|
||||
if = { # Get legitimacy from Reception Hall House Bonus
|
||||
limit = {
|
||||
exists = house
|
||||
house = { has_variable = ep3_legacy_legitimacy_counter }
|
||||
primary_title = scope:title
|
||||
}
|
||||
|
|
@ -2243,7 +2561,6 @@ on_title_gain = {
|
|||
top_liege = root.top_liege
|
||||
government_has_mechanic = administrative
|
||||
this != scope:title_gainer
|
||||
# scope:title != title:k_chrysanthemum_throne
|
||||
}
|
||||
send_interface_message = {
|
||||
type = msg_admin_title_gained
|
||||
|
|
@ -2343,7 +2660,7 @@ on_title_gain = {
|
|||
# TGP, bow before liege mandated
|
||||
if = {
|
||||
limit = {
|
||||
culture ?= { has_cultural_parameter = must_pledge_loyalty_to_liege }
|
||||
culture = { has_cultural_parameter = must_pledge_loyalty_to_liege }
|
||||
}
|
||||
if = { # if you are now the top liege, all your direct vassals with the same parameter who have not yet sworn fealty to you must swear fealty
|
||||
limit = {
|
||||
|
|
@ -2353,7 +2670,7 @@ on_title_gain = {
|
|||
every_vassal = {
|
||||
if = {
|
||||
limit = {
|
||||
culture ?= { has_cultural_parameter = must_pledge_loyalty_to_liege }
|
||||
culture = { has_cultural_parameter = must_pledge_loyalty_to_liege }
|
||||
OR = {
|
||||
government_has_flag = government_is_feudal
|
||||
government_has_flag = government_is_clan
|
||||
|
|
@ -2372,7 +2689,7 @@ on_title_gain = {
|
|||
}
|
||||
else_if = { # if you now have a new liege, and they also follow a culture with the Pay Homage requirement, you must swear continued fealty
|
||||
limit = {
|
||||
liege.culture ?= { has_cultural_parameter = must_pledge_loyalty_to_liege }
|
||||
liege.culture = { has_cultural_parameter = must_pledge_loyalty_to_liege }
|
||||
OR = {
|
||||
government_has_flag = government_is_feudal
|
||||
government_has_flag = government_is_clan
|
||||
|
|
@ -2535,7 +2852,7 @@ on_title_gain = {
|
|||
if = {
|
||||
limit = {
|
||||
has_character_flag = peasant_outfit
|
||||
NOT = { government_has_flag = government_is_true_herder }
|
||||
NOT = { government_has_flag = government_is_herder }
|
||||
}
|
||||
remove_character_flag = peasant_outfit
|
||||
}
|
||||
|
|
@ -3056,8 +3373,15 @@ on_title_gain = {
|
|||
}
|
||||
}
|
||||
events = {
|
||||
roman_restoration.0005 #New Roman Emperor gets Augustus trait. (old holder, if still alive, loses it)
|
||||
roman_restoration.0199 #Restoring the Pentarchy.
|
||||
title_event.0021 # Rename/recolor Britannia based on founder's culture; applied immediately on creation
|
||||
delay = { days = 1 }
|
||||
realm_maintenance.2001 #Big notification about inheriting emperor tier title
|
||||
british_isles.1032 # Danelaw-England partition calc.
|
||||
title_event.0001 # Rename West Francia to France
|
||||
title_event.0002 # Rename East Francia to Germany
|
||||
title_event.0011 # Asturias becomes Leon upon emergence of Castille
|
||||
# If we weren't already in a diarchy but should be, put us in one.
|
||||
diarchy.0011
|
||||
ep3_emperor_yearly.2020 # EP3: The Patriarch refuses to crown you as new emperor because you have a criminal trait
|
||||
|
|
@ -3110,7 +3434,6 @@ on_title_gain_inheritance = {
|
|||
root = {
|
||||
becomes_independent = { change = scope:change }
|
||||
}
|
||||
resolve_title_and_vassal_change = scope:change
|
||||
}
|
||||
# if = {
|
||||
# limit = {
|
||||
|
|
@ -3258,7 +3581,7 @@ on_title_gain_usurpation = {
|
|||
# scope:new_holder = new holder.
|
||||
on_title_lost = {
|
||||
events = {
|
||||
# british_isles.1033 # Danelaw-England partition calc.
|
||||
british_isles.1033 # Danelaw-England partition calc.
|
||||
}
|
||||
|
||||
effect = {
|
||||
|
|
@ -3296,7 +3619,7 @@ on_title_lost = {
|
|||
if = {
|
||||
limit = {
|
||||
#We only want to grab tribal cultures.
|
||||
culture ?= {
|
||||
culture = {
|
||||
NOT = { has_cultural_era_or_later = culture_era_early_medieval }
|
||||
}
|
||||
#Must have lost their last piece of land.
|
||||
|
|
@ -3400,7 +3723,7 @@ on_title_lost = {
|
|||
|
||||
custom_tooltip = msg_rival_dethroned_desc
|
||||
|
||||
stress_and_fulfillment_impact = {
|
||||
stress_impact = {
|
||||
base = medium_stress_loss
|
||||
vengeful = medium_stress_loss
|
||||
}
|
||||
|
|
@ -4725,8 +5048,37 @@ on_vassal_change = {
|
|||
limit = {
|
||||
liege = root # I.e. root is independent
|
||||
}
|
||||
# And is not of a high enough rank, change government
|
||||
if = {
|
||||
limit = {
|
||||
is_landed = no
|
||||
any_held_title = {
|
||||
is_noble_family_title = yes
|
||||
}
|
||||
}
|
||||
if = {
|
||||
limit = {
|
||||
domicile.domicile_location.county.holder.top_liege ?= {
|
||||
government_allows = noble_families
|
||||
highest_held_title_tier > root.highest_held_title_tier
|
||||
}
|
||||
}
|
||||
create_title_and_vassal_change = {
|
||||
type = swear_fealty
|
||||
save_scope_as = change
|
||||
add_claim_on_loss = no
|
||||
}
|
||||
change_liege = {
|
||||
liege = domicile.domicile_location.county.holder.top_liege
|
||||
change = scope:change
|
||||
}
|
||||
resolve_title_and_vassal_change = scope:change
|
||||
}
|
||||
else = {
|
||||
trigger_event = ep3_laamps.0002
|
||||
}
|
||||
}
|
||||
# And is not of a high enough rank, change government
|
||||
else_if = {
|
||||
limit = {
|
||||
administrative_tier_allows_independence = no
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue