holy order fix
This commit is contained in:
parent
00ddb18d41
commit
301fbcf1bd
10 changed files with 588 additions and 314 deletions
|
|
@ -1557,8 +1557,8 @@ military_order_yearly_trait_gain_effect = {
|
|||
limit = {
|
||||
primary_title = {
|
||||
OR = {
|
||||
this = title:d_knights_of_st_lazarus
|
||||
this = title:d_knights_hospitaller
|
||||
this = title:d_neow_military_saint_lazarus
|
||||
this = title:d_neow_military_hospitallers
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -1885,256 +1885,182 @@ set_up_historical_monastic_orders_effect = {
|
|||
|
||||
}
|
||||
set_up_historical_military_orders_effect = {
|
||||
#CHRISTIAN MILITARY ORDERS
|
||||
#Create Teutons
|
||||
if = {
|
||||
limit = {
|
||||
always = yes
|
||||
limit = { game_start_date >= 2555.1.1 }
|
||||
# Teutonic Order
|
||||
character:militantholyorder01 = { save_scope_as = neow_teutonic_leader }
|
||||
title:b_floridsdorf = { save_scope_as = neow_teutonic_capital }
|
||||
title:c_vienna.holder ?= {
|
||||
save_scope_as = neow_teutonic_founder
|
||||
set_variable = { name = military_order_game_start_founder days = 10 }
|
||||
set_variable = { name = military_order_game_start_founder_1 days = 10 }
|
||||
}
|
||||
character:militantholyorder01 = {
|
||||
save_scope_as = leader_1
|
||||
}
|
||||
title:b_floridsdorf = {
|
||||
save_scope_as = barony_1
|
||||
barony.holder = {
|
||||
save_scope_as = game_start_founder_1
|
||||
set_variable = {
|
||||
name = military_order_game_start_founder_1
|
||||
days = 10
|
||||
if = {
|
||||
limit = {
|
||||
exists = scope:neow_teutonic_founder
|
||||
exists = scope:neow_teutonic_leader
|
||||
exists = scope:neow_teutonic_capital
|
||||
title:d_neow_military_teutonic_order = { NOT = { exists = holder } }
|
||||
}
|
||||
# The barony must be controlled by the founder before it can be leased.
|
||||
if = {
|
||||
limit = { scope:neow_teutonic_capital.holder != scope:neow_teutonic_founder }
|
||||
create_title_and_vassal_change = {
|
||||
type = leased_out
|
||||
save_scope_as = neow_teutonic_capital_change
|
||||
add_claim_on_loss = no
|
||||
}
|
||||
}
|
||||
}
|
||||
create_holy_order = {
|
||||
leader = scope:leader_1
|
||||
founder = scope:game_start_founder_1
|
||||
random_holy_order_type = military
|
||||
capital = scope:barony_1
|
||||
save_scope_as = new_holy_order
|
||||
}
|
||||
scope:leader_1 = {
|
||||
every_courtier = {
|
||||
add_trait = order_member
|
||||
}
|
||||
faith = {
|
||||
random_faith_holy_order = {
|
||||
limit = {
|
||||
leader = scope:leader_1
|
||||
scope:neow_teutonic_capital = {
|
||||
change_title_holder_include_vassals = {
|
||||
holder = scope:neow_teutonic_founder
|
||||
change = scope:neow_teutonic_capital_change
|
||||
}
|
||||
save_scope_as = militantteutons
|
||||
}
|
||||
resolve_title_and_vassal_change = scope:neow_teutonic_capital_change
|
||||
}
|
||||
}
|
||||
title:b_floridsdorf = {
|
||||
create_title_and_vassal_change = {
|
||||
type = revoked
|
||||
save_scope_as = change
|
||||
add_claim_on_loss = no
|
||||
}
|
||||
change_title_holder = {
|
||||
holder = title:c_coimbra.holder
|
||||
change = scope:change
|
||||
}
|
||||
resolve_title_and_vassal_change = scope:change
|
||||
lease_out_to_holy_order = scope:militantteutons }
|
||||
title:b_kamnik = {
|
||||
create_title_and_vassal_change = {
|
||||
type = revoked
|
||||
save_scope_as = change
|
||||
add_claim_on_loss = no
|
||||
}
|
||||
change_title_holder = {
|
||||
holder = title:c_coimbra.holder
|
||||
change = scope:change
|
||||
}
|
||||
resolve_title_and_vassal_change = scope:change
|
||||
lease_out_to_holy_order = scope:militantteutons }
|
||||
title:b_wels = {
|
||||
create_title_and_vassal_change = {
|
||||
type = revoked
|
||||
save_scope_as = change
|
||||
add_claim_on_loss = no
|
||||
}
|
||||
change_title_holder = {
|
||||
holder = title:c_coimbra.holder
|
||||
change = scope:change
|
||||
}
|
||||
resolve_title_and_vassal_change = scope:change
|
||||
lease_out_to_holy_order = scope:militantteutons }
|
||||
title:b_freistadt = { lease_out_to_holy_order = scope:militantteutons }
|
||||
}
|
||||
#hospitallers
|
||||
if = {
|
||||
limit = {
|
||||
always = yes
|
||||
}
|
||||
character:militantholyorder02 = {
|
||||
save_scope_as = leader_2
|
||||
}
|
||||
title:b_gubbio = {
|
||||
save_scope_as = barony_2
|
||||
barony.holder = {
|
||||
save_scope_as = game_start_founder_2
|
||||
set_variable = {
|
||||
name = military_order_game_start_founder_2
|
||||
days = 10
|
||||
}
|
||||
create_holy_order_neutral_effect = {
|
||||
LEADER = scope:neow_teutonic_leader
|
||||
FOUNDER = scope:neow_teutonic_founder
|
||||
CAPITAL = scope:neow_teutonic_capital
|
||||
NEW_HO_SCOPE = neow_teutonic_new_order
|
||||
ORDER_TYPE = military
|
||||
}
|
||||
}
|
||||
create_holy_order = {
|
||||
leader = scope:leader_2
|
||||
founder = scope:game_start_founder_2
|
||||
random_holy_order_type = military
|
||||
capital = scope:barony_2
|
||||
save_scope_as = new_holy_order
|
||||
}
|
||||
scope:leader_2 = {
|
||||
every_courtier = {
|
||||
add_trait = order_member
|
||||
}
|
||||
faith = {
|
||||
random_faith_holy_order = {
|
||||
limit = {
|
||||
leader = scope:leader_2
|
||||
if = {
|
||||
limit = { exists = scope:neow_teutonic_new_order }
|
||||
scope:neow_teutonic_leader = {
|
||||
every_courtier = {
|
||||
limit = { NOT = { has_trait = order_member } }
|
||||
add_trait = order_member
|
||||
}
|
||||
save_scope_as = militanthospitallers
|
||||
}
|
||||
title:b_kamnik = {
|
||||
lease_out_to_holy_order = scope:neow_teutonic_new_order
|
||||
}
|
||||
title:b_wels = {
|
||||
lease_out_to_holy_order = scope:neow_teutonic_new_order
|
||||
}
|
||||
title:b_freistadt = {
|
||||
lease_out_to_holy_order = scope:neow_teutonic_new_order
|
||||
}
|
||||
}
|
||||
}
|
||||
title:b_gubbio = {
|
||||
create_title_and_vassal_change = {
|
||||
type = revoked
|
||||
save_scope_as = change
|
||||
add_claim_on_loss = no
|
||||
}
|
||||
change_title_holder = {
|
||||
holder = title:c_coimbra.holder
|
||||
change = scope:change
|
||||
}
|
||||
resolve_title_and_vassal_change = scope:change
|
||||
lease_out_to_holy_order = scope:militanthospitallers }
|
||||
title:b_guastalla = {
|
||||
create_title_and_vassal_change = {
|
||||
type = revoked
|
||||
save_scope_as = change
|
||||
add_claim_on_loss = no
|
||||
}
|
||||
change_title_holder = {
|
||||
holder = title:c_coimbra.holder
|
||||
change = scope:change
|
||||
}
|
||||
resolve_title_and_vassal_change = scope:change
|
||||
lease_out_to_holy_order = scope:militanthospitallers }
|
||||
title:b_brescello = {
|
||||
create_title_and_vassal_change = {
|
||||
type = revoked
|
||||
save_scope_as = change
|
||||
add_claim_on_loss = no
|
||||
}
|
||||
change_title_holder = {
|
||||
holder = title:c_coimbra.holder
|
||||
change = scope:change
|
||||
}
|
||||
resolve_title_and_vassal_change = scope:change
|
||||
lease_out_to_holy_order = scope:militanthospitallers }
|
||||
title:b_melfi = {
|
||||
create_title_and_vassal_change = {
|
||||
type = revoked
|
||||
save_scope_as = change
|
||||
add_claim_on_loss = no
|
||||
}
|
||||
change_title_holder = {
|
||||
holder = title:c_coimbra.holder
|
||||
change = scope:change
|
||||
}
|
||||
resolve_title_and_vassal_change = scope:change
|
||||
lease_out_to_holy_order = scope:militanthospitallers }
|
||||
}
|
||||
#Lazarites
|
||||
if = {
|
||||
limit = {
|
||||
always = yes
|
||||
# Knights Hospitaller
|
||||
character:militantholyorder02 = { save_scope_as = neow_hospitaller_leader }
|
||||
title:b_gubbio = { save_scope_as = neow_hospitaller_capital }
|
||||
title:c_spoleto.holder ?= {
|
||||
save_scope_as = neow_hospitaller_founder
|
||||
set_variable = { name = military_order_game_start_founder days = 10 }
|
||||
set_variable = { name = military_order_game_start_founder_2 days = 10 }
|
||||
}
|
||||
character:militantholyorder03 = {
|
||||
save_scope_as = leader_3
|
||||
}
|
||||
title:b_balrothery = {
|
||||
save_scope_as = barony_3
|
||||
barony.holder = {
|
||||
save_scope_as = game_start_founder_3
|
||||
set_variable = {
|
||||
name = military_order_game_start_founder_3
|
||||
days = 10
|
||||
}
|
||||
if = {
|
||||
limit = {
|
||||
exists = scope:neow_hospitaller_founder
|
||||
exists = scope:neow_hospitaller_leader
|
||||
exists = scope:neow_hospitaller_capital
|
||||
title:d_neow_military_hospitallers = { NOT = { exists = holder } }
|
||||
}
|
||||
}
|
||||
create_holy_order = {
|
||||
leader = scope:leader_3
|
||||
founder = scope:game_start_founder_3
|
||||
random_holy_order_type = military
|
||||
capital = scope:barony_3
|
||||
save_scope_as = new_holy_order
|
||||
}
|
||||
scope:leader_3 = {
|
||||
every_courtier = {
|
||||
add_trait = order_member
|
||||
}
|
||||
faith = {
|
||||
random_faith_holy_order = {
|
||||
limit = {
|
||||
leader = scope:leader_3
|
||||
# The barony must be controlled by the founder before it can be leased.
|
||||
if = {
|
||||
limit = { scope:neow_hospitaller_capital.holder != scope:neow_hospitaller_founder }
|
||||
create_title_and_vassal_change = {
|
||||
type = leased_out
|
||||
save_scope_as = neow_hospitaller_capital_change
|
||||
add_claim_on_loss = no
|
||||
}
|
||||
scope:neow_hospitaller_capital = {
|
||||
change_title_holder_include_vassals = {
|
||||
holder = scope:neow_hospitaller_founder
|
||||
change = scope:neow_hospitaller_capital_change
|
||||
}
|
||||
save_scope_as = militantlazarites
|
||||
}
|
||||
resolve_title_and_vassal_change = scope:neow_hospitaller_capital_change
|
||||
}
|
||||
create_holy_order_neutral_effect = {
|
||||
LEADER = scope:neow_hospitaller_leader
|
||||
FOUNDER = scope:neow_hospitaller_founder
|
||||
CAPITAL = scope:neow_hospitaller_capital
|
||||
NEW_HO_SCOPE = neow_hospitaller_new_order
|
||||
ORDER_TYPE = military
|
||||
}
|
||||
if = {
|
||||
limit = { exists = scope:neow_hospitaller_new_order }
|
||||
scope:neow_hospitaller_leader = {
|
||||
every_courtier = {
|
||||
limit = { NOT = { has_trait = order_member } }
|
||||
add_trait = order_member
|
||||
}
|
||||
}
|
||||
title:b_guastalla = {
|
||||
lease_out_to_holy_order = scope:neow_hospitaller_new_order
|
||||
}
|
||||
title:b_brescello = {
|
||||
lease_out_to_holy_order = scope:neow_hospitaller_new_order
|
||||
}
|
||||
title:b_melfi = {
|
||||
lease_out_to_holy_order = scope:neow_hospitaller_new_order
|
||||
}
|
||||
}
|
||||
}
|
||||
title:b_kildare = {
|
||||
# Knights of Saint Lazarus
|
||||
character:militantholyorder03 = { save_scope_as = neow_lazarus_leader }
|
||||
title:b_balrothery = { save_scope_as = neow_lazarus_capital }
|
||||
title:c_dublin.holder ?= {
|
||||
save_scope_as = neow_lazarus_founder
|
||||
set_variable = { name = military_order_game_start_founder days = 10 }
|
||||
set_variable = { name = military_order_game_start_founder_3 days = 10 }
|
||||
}
|
||||
if = {
|
||||
limit = {
|
||||
exists = scope:neow_lazarus_founder
|
||||
exists = scope:neow_lazarus_leader
|
||||
exists = scope:neow_lazarus_capital
|
||||
title:d_neow_military_saint_lazarus = { NOT = { exists = holder } }
|
||||
}
|
||||
# The barony must be controlled by the founder before it can be leased.
|
||||
if = {
|
||||
limit = { scope:neow_lazarus_capital.holder != scope:neow_lazarus_founder }
|
||||
create_title_and_vassal_change = {
|
||||
type = revoked
|
||||
save_scope_as = change
|
||||
type = leased_out
|
||||
save_scope_as = neow_lazarus_capital_change
|
||||
add_claim_on_loss = no
|
||||
}
|
||||
change_title_holder = {
|
||||
holder = title:c_coimbra.holder
|
||||
change = scope:change
|
||||
scope:neow_lazarus_capital = {
|
||||
change_title_holder_include_vassals = {
|
||||
holder = scope:neow_lazarus_founder
|
||||
change = scope:neow_lazarus_capital_change
|
||||
}
|
||||
}
|
||||
resolve_title_and_vassal_change = scope:change
|
||||
lease_out_to_holy_order = scope:militantlazarites }
|
||||
title:b_kinsale = {
|
||||
create_title_and_vassal_change = {
|
||||
type = revoked
|
||||
save_scope_as = change
|
||||
add_claim_on_loss = no
|
||||
resolve_title_and_vassal_change = scope:neow_lazarus_capital_change
|
||||
}
|
||||
create_holy_order_neutral_effect = {
|
||||
LEADER = scope:neow_lazarus_leader
|
||||
FOUNDER = scope:neow_lazarus_founder
|
||||
CAPITAL = scope:neow_lazarus_capital
|
||||
NEW_HO_SCOPE = neow_lazarus_new_order
|
||||
ORDER_TYPE = military
|
||||
}
|
||||
if = {
|
||||
limit = { exists = scope:neow_lazarus_new_order }
|
||||
scope:neow_lazarus_leader = {
|
||||
every_courtier = {
|
||||
limit = { NOT = { has_trait = order_member } }
|
||||
add_trait = order_member
|
||||
}
|
||||
}
|
||||
change_title_holder = {
|
||||
holder = title:c_coimbra.holder
|
||||
change = scope:change
|
||||
title:b_kildare = {
|
||||
lease_out_to_holy_order = scope:neow_lazarus_new_order
|
||||
}
|
||||
resolve_title_and_vassal_change = scope:change
|
||||
lease_out_to_holy_order = scope:militantlazarites }
|
||||
title:b_roscrea = {
|
||||
create_title_and_vassal_change = {
|
||||
type = revoked
|
||||
save_scope_as = change
|
||||
add_claim_on_loss = no
|
||||
title:b_kinsale = {
|
||||
lease_out_to_holy_order = scope:neow_lazarus_new_order
|
||||
}
|
||||
change_title_holder = {
|
||||
holder = title:c_coimbra.holder
|
||||
change = scope:change
|
||||
title:b_roscrea = {
|
||||
lease_out_to_holy_order = scope:neow_lazarus_new_order
|
||||
}
|
||||
resolve_title_and_vassal_change = scope:change
|
||||
lease_out_to_holy_order = scope:militantlazarites }
|
||||
title:b_trim = {
|
||||
create_title_and_vassal_change = {
|
||||
type = revoked
|
||||
save_scope_as = change
|
||||
add_claim_on_loss = no
|
||||
title:b_trim = {
|
||||
lease_out_to_holy_order = scope:neow_lazarus_new_order
|
||||
}
|
||||
change_title_holder = {
|
||||
holder = title:c_coimbra.holder
|
||||
change = scope:change
|
||||
}
|
||||
resolve_title_and_vassal_change = scope:change
|
||||
lease_out_to_holy_order = scope:militantlazarites }
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue