what is wrong with the code why wont it implement the orders militant BRUH

This commit is contained in:
Fishedotjpg 2026-11-12 16:13:14 +00:00
parent e3ca417605
commit 7ea48caa8d
13 changed files with 4701 additions and 195 deletions

View file

@ -188,6 +188,62 @@ ho_contemplative_hospitaller_lazareans = {
texture = "ce_ordinary_cross_5.dds"
}
}
d_knights_hospitaller = {
pattern = "pattern_solid.dds"
color1 = "red"
colored_emblem = {
texture = "ce_cross_05_maltese.dds"
color1 = "white"
color2 = "white"
}
}
d_teutonic_order = {
pattern = "pattern_solid.dds"
color1 = "white"
colored_emblem = {
texture = "ce_ordinary_cross_5.dds"
color1 = "black"
color2 = "black"
}
}
d_knights_of_st_lazarus = {
pattern = "pattern_solid.dds"
color1 = white
colored_emblem = {
color1 = green
color2 = green
texture = "ce_ordinary_cross_5.dds"
}
}
d_contemplative_hospitaller_johannics = {
pattern = "pattern_solid.dds"
color1 = "red"
colored_emblem = {
texture = "ce_cross_05_maltese.dds"
color1 = "white"
color2 = "white"
}
}
d_contemplative_teutonic_order = {
pattern = "pattern_solid.dds"
color1 = "white"
colored_emblem = {
texture = "ce_ordinary_cross_5.dds"
color1 = "black"
color2 = "black"
}
}
d_contemplative_hospitaller_lazareans = {
pattern = "pattern_solid.dds"
color1 = white
colored_emblem = {
color1 = green
color2 = green
texture = "ce_ordinary_cross_5.dds"
}
}
ho_order_of_christ={
pattern="pattern_solid.dds"
color1=white

View file

@ -732,10 +732,10 @@ holy_order_government = {
# Use flags instead of has_government for moddability if possible (i.e., wherever not visible to the player).
flags = {
government_uses_crown_authority
cannot_be_vassal_or_liege
gov_uses_non_crown_coa
#cannot_be_vassal_or_liege
government_is_holy_order
government_is_military_holy_order
gov_uses_non_crown_coa
}
mechanic_type = holy_order
@ -776,7 +776,7 @@ monastic_holy_order_government = {
# Use flags instead of has_government for moddability if possible (i.e., wherever not visible to the player).
flags = {
government_uses_crown_authority
cannot_be_vassal_or_liege
#cannot_be_vassal_or_liege
government_is_holy_order
government_is_monastic_holy_order
gov_uses_non_crown_coa

View file

@ -16,10 +16,17 @@ ho_christian_knights_hospitaller = {
trigger = {
trigger_if = {
limit = {
scope:founder = { has_variable = militantholyorder02_game_start_founder }
current_year >= 2555
scope:founder = { has_variable = military_order_game_start_founder_2 }
}
always = no
}
trigger_else = {
scope:founder = {
faith = faith:roman_catholic_faith
culture = {
has_cultural_pillar = heritage_italian
}
}
scope:province.county ?= title:c_roma
}
}
@ -28,7 +35,7 @@ ho_christian_knights_hospitaller = {
#Should be founded in Italy
if = {
limit = {
scope:province.county ?= title:c_roma
scope:province.county ?= title:c_spoleto
}
add = 10
}
@ -38,13 +45,13 @@ ho_christian_knights_hospitaller = {
years_from_game_start < 1
current_year >= 2555
scope:province.county ?= title:c_roma
scope:province.county ?= title:c_spoleto
}
add = 10000
}
}
men_at_arms = { order_knights }
men_at_arms = { order_knights order_serjeants }
effect = {
scope:leader = {
@ -54,6 +61,7 @@ ho_christian_knights_hospitaller = {
value = { 25 50 }
}
}
scope:new_holy_order = { set_order_tenet = tenet:tenet_celestial_hierarchy }
}
}
@ -69,10 +77,17 @@ ho_christian_teutonic_order = {
trigger = {
trigger_if = {
limit = {
scope:founder = { has_variable = militantholyorder01_game_start_founder }
current_year >= 2555
scope:founder = { has_variable = military_order_game_start_founder_1 }
}
always = no
}
trigger_else = {
scope:founder = {
faith = faith:roman_catholic_faith
culture = {
has_cultural_pillar = heritage_central_germanic
}
}
scope:province.county ?= title:c_vienna
}
}
@ -110,6 +125,7 @@ ho_christian_teutonic_order = {
add_realm_law = cultural_holy_order_succession_law
}
}
scope:new_holy_order = { set_order_tenet = tenet:tenet_peace_of_god }
}
}
@ -126,19 +142,25 @@ ho_knights_of_st_lazarus = {
trigger = {
trigger_if = {
limit = {
scope:founder = { has_variable = militantholyorder03_game_start_founder }
current_year >= 2555
scope:founder = { has_variable = military_order_game_start_founder_3 }
}
always = no
}
trigger_else = {
scope:founder = {
faith = faith:roman_catholic_faith
culture = {
has_cultural_pillar = heritage_goidelic
}
}
scope:province.county ?= title:c_vienna
}
}
weight = {
value = 10
#Should be founded in Italy
if = {
limit = {
scope:province.county ?= title:c_dublin
scope:province.county ?= title:c_kildare
}
add = 5
}
@ -148,7 +170,7 @@ ho_knights_of_st_lazarus = {
years_from_game_start < 1
current_year >= 2555
scope:province.county ?= title:c_dublin
scope:province.county ?= title:c_kildare
}
add = 10000
}
@ -163,11 +185,8 @@ ho_knights_of_st_lazarus = {
trait = lifestyle_physician
value = { 25 50 }
}
random = {
chance = 10
add_trait = leper
}
}
scope:new_holy_order = { set_order_tenet = tenet:tenet_dulia }
}
}
@ -189,10 +208,11 @@ ho_contemplative_hospitaller_johannics = {
trigger = {
trigger_if = {
limit = {
scope:founder = { has_variable = monastic_game_start_founder }
current_year >= 2555
scope:founder = { has_variable = monastic_game_start_founder_2 }
}
scope:province.county ?= title:c_roma
scope:province.county ?= title:c_capua
}
trigger_else = {
}
}
@ -201,7 +221,7 @@ ho_contemplative_hospitaller_johannics = {
#Should be founded in Italy
if = {
limit = {
scope:province.county ?= title:c_roma
scope:province.county ?= title:c_capua
}
add = 10
}
@ -211,7 +231,7 @@ ho_contemplative_hospitaller_johannics = {
years_from_game_start < 1
current_year >= 2555
scope:province.county ?= title:c_roma
scope:province.county ?= title:c_capua
}
add = 10000
}
@ -226,6 +246,7 @@ ho_contemplative_hospitaller_johannics = {
value = { 25 50 }
}
}
scope:new_holy_order = { set_order_tenet = tenet:tenet_celestial_hierarchy }
}
}
@ -240,10 +261,11 @@ ho_contemplative_teutonic_order = {
trigger = {
trigger_if = {
limit = {
scope:founder = { has_variable = monastic_game_start_founder }
current_year >= 2555
scope:founder = { has_variable = monastic_game_start_founder_1 }
}
scope:province.county ?= title:c_roma
scope:province.county ?= title:c_wiener_neustadt
}
trigger_else = {
}
}
@ -252,7 +274,7 @@ ho_contemplative_teutonic_order = {
#Should be founded in Italy
if = {
limit = {
scope:province.county ?= title:c_roma
scope:province.county ?= title:c_wiener_neustadt
}
add = 10
}
@ -262,7 +284,7 @@ ho_contemplative_teutonic_order = {
years_from_game_start < 1
current_year >= 2555
scope:province.county ?= title:c_roma
scope:province.county ?= title:c_wiener_neustadt
}
add = 10000
}
@ -277,6 +299,7 @@ ho_contemplative_teutonic_order = {
value = { 25 50 }
}
}
scope:new_holy_order = { set_order_tenet = tenet:tenet_peace_of_god }
}
}
@ -291,10 +314,11 @@ ho_contemplative_hospitaller_lazareans = {
trigger = {
trigger_if = {
limit = {
scope:founder = { has_variable = monastic_game_start_founder }
current_year >= 2555
scope:founder = { has_variable = monastic_game_start_founder_3 }
}
scope:province.county ?= title:c_dublin
scope:province.county ?= title:c_offaly
}
trigger_else = {
}
}
@ -303,7 +327,7 @@ ho_contemplative_hospitaller_lazareans = {
#Should be founded in Italy
if = {
limit = {
scope:province.county ?= title:c_dublin
scope:province.county ?= title:c_offaly
}
add = 10
}
@ -313,7 +337,7 @@ ho_contemplative_hospitaller_lazareans = {
years_from_game_start < 1
current_year >= 2555
scope:province.county ?= title:c_dublin
scope:province.county ?= title:c_offaly
}
add = 10000
}
@ -328,5 +352,6 @@ ho_contemplative_hospitaller_lazareans = {
value = { 25 50 }
}
}
scope:new_holy_order = { set_order_tenet = tenet:tenet_dulia }
}
}

View file

@ -17,7 +17,7 @@ d_knights_hospitaller = {
color = { 180 180 180 }
capital = c_roma
capital = c_spoleto
definite_form = yes
landless = yes
@ -27,7 +27,7 @@ d_knights_hospitaller = {
d_knights_of_st_lazarus = {
color = { 40 125 21 }
capital = c_dublin
capital = c_kildare
definite_form = yes
landless = yes
@ -36,7 +36,7 @@ d_knights_of_st_lazarus = {
d_contemplative_teutonic_order = {
color = { 50 50 50 }
capital = c_vienna
capital = c_wiener_neustadt
definite_form = yes
landless = yes
@ -46,7 +46,7 @@ d_contemplative_teutonic_order = {
d_contemplative_hospitaller_johannics = {
color = { 180 180 180 }
capital = c_roma
capital = c_capua
definite_form = yes
landless = yes
@ -56,7 +56,7 @@ d_contemplative_hospitaller_johannics = {
d_contemplative_hospitaller_lazareans = {
color = { 40 125 21 }
capital = c_dublin
capital = c_offaly
definite_form = yes
landless = yes

View file

@ -714,6 +714,9 @@ on_game_start = {
# set_subject_contract_modification_blocked = no
# }
#}
set_up_historical_monastic_orders_effect = yes
set_up_historical_military_orders_effect = yes
### CORONATION LOCATION SETUP ###
if = {

View file

@ -52,14 +52,11 @@
special_doctrine_banner_default
}
holy_order_names = { #placeholder
{ name = "holy_order_knights_templar" coat_of_arms = "ho_knights_templar" }
{ name = "holy_order_knights_hospitaller" coat_of_arms = "ho_knights_hospitaller" }
{ name = "holy_order_teutonic_order" coat_of_arms = "ho_teutonic_order" }
{ name = "holy_order_order_of_calatrava" coat_of_arms = "ho_order_of_calatrava" }
{ name = "holy_order_order_of_alcantara" coat_of_arms = "ho_order_of_alcantara" }
{ name = "holy_order_knights_of_santiago" coat_of_arms = "ho_knights_of_santiago" }
}
holy_order_names = {
{ name = "holy_order_knights_hospitaller" coat_of_arms = "ho_knights_hospitaller" }
{ name = "holy_order_teutonic_order" coat_of_arms = "ho_teutonic_order" }
{ name = "holy_order_knights_of_st_lazarus" coat_of_arms = "ho_knights_of_st_lazarus" }
}
}
compostelan_catholic_faith = {
@ -150,12 +147,6 @@ mariavite_catholic_faith = {
}
holy_order_names = { #placeholder
{ name = "holy_order_knights_templar" coat_of_arms = "ho_knights_templar" }
{ name = "holy_order_knights_hospitaller" coat_of_arms = "ho_knights_hospitaller" }
{ name = "holy_order_teutonic_order" coat_of_arms = "ho_teutonic_order" }
{ name = "holy_order_order_of_calatrava" coat_of_arms = "ho_order_of_calatrava" }
{ name = "holy_order_order_of_alcantara" coat_of_arms = "ho_order_of_alcantara" }
{ name = "holy_order_knights_of_santiago" coat_of_arms = "ho_knights_of_santiago" }
}
}
@ -200,12 +191,6 @@ penitente_faith = {
}
holy_order_names = { #placeholder
{ name = "holy_order_knights_templar" coat_of_arms = "ho_knights_templar" }
{ name = "holy_order_knights_hospitaller" coat_of_arms = "ho_knights_hospitaller" }
{ name = "holy_order_teutonic_order" coat_of_arms = "ho_teutonic_order" }
{ name = "holy_order_order_of_calatrava" coat_of_arms = "ho_order_of_calatrava" }
{ name = "holy_order_order_of_alcantara" coat_of_arms = "ho_order_of_alcantara" }
{ name = "holy_order_knights_of_santiago" coat_of_arms = "ho_knights_of_santiago" }
}
}
@ -249,12 +234,6 @@ cadaverist_faith = {
}
holy_order_names = { #placeholder
{ name = "holy_order_knights_templar" coat_of_arms = "ho_knights_templar" }
{ name = "holy_order_knights_hospitaller" coat_of_arms = "ho_knights_hospitaller" }
{ name = "holy_order_teutonic_order" coat_of_arms = "ho_teutonic_order" }
{ name = "holy_order_order_of_calatrava" coat_of_arms = "ho_order_of_calatrava" }
{ name = "holy_order_order_of_alcantara" coat_of_arms = "ho_order_of_alcantara" }
{ name = "holy_order_knights_of_santiago" coat_of_arms = "ho_knights_of_santiago" }
}
}
@ -317,12 +296,6 @@ catholic_tribunal_faith = {
}
holy_order_names = { #placeholder
{ name = "holy_order_knights_templar" coat_of_arms = "ho_knights_templar" }
{ name = "holy_order_knights_hospitaller" coat_of_arms = "ho_knights_hospitaller" }
{ name = "holy_order_teutonic_order" coat_of_arms = "ho_teutonic_order" }
{ name = "holy_order_order_of_calatrava" coat_of_arms = "ho_order_of_calatrava" }
{ name = "holy_order_order_of_alcantara" coat_of_arms = "ho_order_of_alcantara" }
{ name = "holy_order_knights_of_santiago" coat_of_arms = "ho_knights_of_santiago" }
}
}
@ -360,12 +333,6 @@ neo_fraticelli_faith = {
}
holy_order_names = { #placeholder
{ name = "holy_order_knights_templar" coat_of_arms = "ho_knights_templar" }
{ name = "holy_order_knights_hospitaller" coat_of_arms = "ho_knights_hospitaller" }
{ name = "holy_order_teutonic_order" coat_of_arms = "ho_teutonic_order" }
{ name = "holy_order_order_of_calatrava" coat_of_arms = "ho_order_of_calatrava" }
{ name = "holy_order_order_of_alcantara" coat_of_arms = "ho_order_of_alcantara" }
{ name = "holy_order_knights_of_santiago" coat_of_arms = "ho_knights_of_santiago" }
}
}
@ -403,11 +370,5 @@ illuminated_faith = {
}
holy_order_names = { #placeholder
{ name = "holy_order_knights_templar" coat_of_arms = "ho_knights_templar" }
{ name = "holy_order_knights_hospitaller" coat_of_arms = "ho_knights_hospitaller" }
{ name = "holy_order_teutonic_order" coat_of_arms = "ho_teutonic_order" }
{ name = "holy_order_order_of_calatrava" coat_of_arms = "ho_order_of_calatrava" }
{ name = "holy_order_order_of_alcantara" coat_of_arms = "ho_order_of_alcantara" }
{ name = "holy_order_knights_of_santiago" coat_of_arms = "ho_knights_of_santiago" }
}
}

View file

@ -81,7 +81,6 @@
{ name = "holy_order_christian" coat_of_arms = "ho_christian" }
}
holy_order_maa = { teutonic_knights } #placeholder
localization = {
PantheonTerm = octobrist_pantheon

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff