tidying up

This commit is contained in:
edwardtheelbowhigh 2026-05-21 16:27:51 +01:00
parent 77edf836d5
commit d868c42e73

View file

@ -18,7 +18,6 @@ N3OW_holy_order.0001 = {
namespace = N3OW_holy_order namespace = N3OW_holy_order
# this event needs localisations #fune
# Create Holy Order HoF Titles # Create Holy Order HoF Titles
N3OW_holy_order.0001 = { N3OW_holy_order.0001 = {
hidden = yes hidden = yes
@ -39,13 +38,6 @@ N3OW_holy_order.0001 = {
has_holding = no has_holding = no
barony = { is_holy_site_of = root.faith } barony = { is_holy_site_of = root.faith }
} }
# any_county_province = { has_holding = no }
# OR = {
# is_holy_site_of = root.faith
# any_county_province = {
# barony = { is_holy_site_of = root.faith }
# }
# }
} }
alternative_limit = { alternative_limit = {
tier = tier_county tier = tier_county
@ -55,12 +47,6 @@ N3OW_holy_order.0001 = {
} }
# Select an appropriate barony. # Select an appropriate barony.
## If there's an empty space in the capital, we create a castle. ## If there's an empty space in the capital, we create a castle.
#if = {
# limit = {
# scope:designated_county = {
# any_county_province = { has_holding = no }
# }
# }
scope:designated_county = { scope:designated_county = {
random_county_province = { random_county_province = {
limit = { has_holding = no } limit = { has_holding = no }
@ -68,46 +54,6 @@ N3OW_holy_order.0001 = {
barony = { save_scope_as = leased_barony } barony = { save_scope_as = leased_barony }
} }
} }
#}
## Otherwise, grab an existing non-capital castle/city.
##TODO this doesn't work, that's why we're forcing empty provinces
#else = {
# scope:designated_county = {
# random_county_province = {
# limit = {
# is_county_capital = no
# OR = {
# has_holding_type = castle_holding
# #has_holding_type = city_holding
# }
# }
# barony = { save_scope_as = leased_barony }
# }
# }
#}
## Create a suitable leader
#hardcoded logic not needed anymore
#if = {
# limit = { root.faith = faith:ursuline }
# character:canada_ladouceur_denise_1 = {
# save_scope_as = leader
# every_held_title = { # Causes issues if she has this before she becomes HO leader
# limit = { this = title:k_ursuline_see }
# root = { destroy_title = prev }
# }
# }
#}
#if = {
# limit = { root.faith = faith:cristero }
# character:religious_cristo_rey_hof_1 = {
# save_scope_as = leader
# every_held_title = { # Causes issues if she has this before she becomes HO leader
# limit = { this = title:d_prelature_cristo_rey }
# root = { destroy_title = prev }
# }
# }
#}
#if we already have one on history, use it! #if we already have one on history, use it!
if = { if = {
limit = { limit = {
@ -192,18 +138,6 @@ N3OW_holy_order.0001 = {
root.faith = { root.faith = {
set_religious_head_title = scope:new_holy_order.title set_religious_head_title = scope:new_holy_order.title
} }
#not needed anymore
#if = {
# limit = { root.faith = faith:ursuline }
# scope:new_holy_order.title = {
# set_coa = k_ursuline_see
# set_title_name = k_ursuline_see # For some reason, this isnt working
# # copy_title_history = k_ursuline_see # This isnt working either
# }
# #scope:leased_barony = { set_title_name = b_ursuline_abbey }
#}
} }
} }
@ -348,52 +282,6 @@ N3OW_holy_order.0003 = {
faith = { faith = {
save_scope_as = my_faith save_scope_as = my_faith
} }
#root.faith = {
# random_holy_site = {
# limit = {
# county.holder = root
# }
# alternative_limit = {
# county.holder = {
# target_is_liege_or_above = root
# }
# }
# county = { save_scope_as = designated_county }
# }
#}
#
## Select an appropriate barony.
### If there's an empty space in the capital, we create a castle.
#if = {
# limit = {
# scope:designated_county = {
# any_county_province = { has_holding = no }
# }
# }
# scope:designated_county = {
# random_county_province = {
# limit = { has_holding = no }
# set_holding_type = castle_holding
# barony = { save_scope_as = leased_barony }
# }
# }
#}
### Otherwise, grab an existing non-capital castle/city.
#else = {
# scope:designated_county = {
# random_county_province = {
# limit = {
# is_county_capital = no
# OR = {
# has_holding_type = castle_holding
# has_holding_type = city_holding
# }
# }
# barony = { save_scope_as = leased_barony }
# }
# }
#}
# Select a random county. # Select a random county.
ordered_held_title = { ordered_held_title = {
@ -425,12 +313,6 @@ N3OW_holy_order.0003 = {
} }
# Select an appropriate barony. # Select an appropriate barony.
## If there's an empty space in the capital, we create a castle. ## If there's an empty space in the capital, we create a castle.
#if = {
# limit = {
# scope:designated_county = {
# any_county_province = { has_holding = no }
# }
# }
scope:designated_county = { scope:designated_county = {
random_county_province = { random_county_province = {
limit = { has_holding = no } limit = { has_holding = no }