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

View file

@ -3,14 +3,9 @@ militantholyorder01 ={
name="Karl"
rite = teutonic_rite
culture=bavarian
trait = devoted
2506.1.1={
birth=yes
effect - {
set_variable = {
name = militantholyorder01_game_start_founder
days = 10
}
}
}
2560.1.1={
death=yes
@ -20,14 +15,9 @@ militantholyorder02 ={
name="Riccardo"
rite = roman_rite
culture=tuscan
trait = devoted
2509.1.1={
birth=yes
effect - {
set_variable = {
name = militantholyorder02_game_start_founder
days = 10
}
}
}
2560.1.1={
death=yes
@ -37,14 +27,9 @@ militantholyorder03 ={
name="Gabriéil"
rite = celtic_rite
culture=high_irish
trait = devoted
2507.1.1={
birth=yes
effect - {
set_variable = {
name = militantholyorder03_game_start_founder
days = 10
}
}
}
2560.1.1={
death=yes
@ -54,14 +39,9 @@ contemplativeholyorder01 ={
name="Rudolf"
rite = teutonic_rite
culture=bavarian
trait = devoted
2501.1.1={
birth=yes
effect - {
set_variable = {
name = contemplativeholyorder01_game_start_founder
days = 10
}
}
}
2560.1.1={
death=yes
@ -71,14 +51,9 @@ contemplativeholyorder02 ={
name="Luca"
rite = roman_rite
culture=tuscan
trait = devoted
2505.1.1={
birth=yes
effect - {
set_variable = {
name = contemplativeholyorder02_game_start_founder
days = 10
}
}
}
2560.1.1={
death=yes
@ -88,14 +63,9 @@ contemplativeholyorder03 ={
name="Eoin"
rite = celtic_rite
culture=high_irish
trait = devoted
2508.1.1={
birth=yes
effect - {
set_variable = {
name = contemplativeholyorder03_game_start_founder
days = 10
}
}
}
2560.1.1={
death=yes

View file

@ -1429,7 +1429,7 @@
holding = city_holding
}
30 = {
holding = none
holding = castle_holding
}
###c_oriel
18 = {

View file

@ -767,64 +767,3 @@ c_claim_rome = {
holder = nistria0002
}
}
d_teutonic_order = {
2555.1.1 = {
holder = militantholyorder01
}
}
d_contemplative_teutonic_order = {
2555.1.1 = {
holder = contemplativeholyorder01
}
}
d_knights_hospitaller = {
2555.1.1 = {
holder = militantholyorder02
}
}
d_contemplative_hospitaller_johannics = {
2555.1.1 = {
holder = contemplativeholyorder02
}
}
d_knights_of_st_lazarus = {
2555.1.1 = {
holder = militantholyorder03
}
}
d_contemplative_hospitaller_lazareans = {
2555.1.1 = {
holder = contemplativeholyorder03
}
}
b_bruck = {
2555.1.1 = {
holder = contemplativeholyorder01
}
}
b_floridsdorf = {
2555.1.1 = {
holder = militantholyorder01
}
}
b_balrothery = {
2555.1.1 = {
holder = militantholyorder03
}
}
b_da_chainoc = {
2555.1.1 = {
holder = contemplativeholyorder03
}
}
b_palo = {
2555.1.1 = {
holder = contemplativeholyorder02
}
}
b_gubbio = {
2555.1.1 = {
holder = militantholyorder02
}
}

View file

@ -30,6 +30,12 @@
d_contemplative_hospitaller_lazareans_article: "$d_cistercians_article$"
d_contemplative_hospitaller_lazareans: "Order Contemplative of St.Lazarus"
d_contemplative_hospitaller_lazareans_adj: "Lazarist"
contemplative_hospitaller_johannics: "Order Contemplative of St.John"
contemplative_hospitaller_lazareans: "Order Contemplative of St.Lazarus"
contemplative_teutonic_order:0 "Order Contemplative of St.Mary"
holy_order_knights_of_st_lazarus: "Order Militant of St.Lazarus"
holy_order_knights_hospitaller: "Order Militant of St.John"
holy_order_teutonic_order:0 "Order Militant of St.Mary"
#### Britannia
e_britannia:0 "Great Britain"
@ -17112,14 +17118,6 @@
d_kirkuk:0 "Kirkuk"
d_kirkuk_adj:0 "Kirkukian"
d_kirman:0 "Kirman"
d_knights_calatrava:0 "Knights of Calatrava"
d_knights_calatrava_adj:0 "Calatrava"
d_knights_hospitaler:0 "Knights Hospitaller"
d_knights_hospitaler_adj:0 "Hospitaller"
d_knights_santiago:0 "Knights of Santiago"
d_knights_santiago_adj:0 "Santiago"
d_knights_templar:0 "Knights Templar"
d_knights_templar_adj:0 "Templar"
d_taborites:0 "Taborites"
d_taborites_adj:0 "Taborite"
d_taborites:0 "Orebites"
@ -17521,8 +17519,6 @@
d_tengri_pagan_reformed_article:0 "the "
d_tengri_pagan_reformed:0 "Tengri Church"
d_tengri_pagan_reformed_adj:0 "Tengri"
d_teutonic_order:0 "Teutonic Order"
d_teutonic_order_adj:0 "Teutonic"
d_thessalonika:0 "Thessalonika"
d_thessalonika_adj:0 "Thessalonikan"
d_thessaly:0 "Thessali"