From e3ca417605bf652b4716159b9319f5dd3002e4f8 Mon Sep 17 00:00:00 2001 From: Fishedotjpg Date: Thu, 12 Nov 2026 00:14:05 +0000 Subject: [PATCH] holy orders 80% set up --- .../coat_of_arms/01_holy_order_coas.txt | 56 +++ .../holy_orders/00_christian_holy_orders.txt | 332 ++++++++++++++++++ common/holy_orders/_holy_orders.info | 108 ++++++ common/landed_titles/NEOW_holy_orders.txt | 64 ++++ history/characters/NEOW_holy_orders.txt | 103 ++++++ history/provinces/e_britannia.txt | 14 +- history/titles/NEOW_other_titles.txt | 61 ++++ .../replace/zz_NEOW_titles_l_english.yml | 16 + 8 files changed, 747 insertions(+), 7 deletions(-) create mode 100644 common/holy_orders/00_christian_holy_orders.txt create mode 100644 common/holy_orders/_holy_orders.info create mode 100644 common/landed_titles/NEOW_holy_orders.txt create mode 100644 history/characters/NEOW_holy_orders.txt diff --git a/common/coat_of_arms/coat_of_arms/01_holy_order_coas.txt b/common/coat_of_arms/coat_of_arms/01_holy_order_coas.txt index 5ae842616..2a65e781b 100644 --- a/common/coat_of_arms/coat_of_arms/01_holy_order_coas.txt +++ b/common/coat_of_arms/coat_of_arms/01_holy_order_coas.txt @@ -132,6 +132,62 @@ # instance = { position = { 0.5 0.24 } scale = { 0.55 0.55 } rotation = 66 } # } #} +ho_knights_hospitaller = { + pattern = "pattern_solid.dds" + color1 = "red" + colored_emblem = { + texture = "ce_cross_05_maltese.dds" + color1 = "white" + color2 = "white" + } +} + +ho_teutonic_order = { + pattern = "pattern_solid.dds" + color1 = "white" + colored_emblem = { + texture = "ce_ordinary_cross_5.dds" + color1 = "black" + color2 = "black" + } +} +ho_knights_of_st_lazarus = { + pattern = "pattern_solid.dds" + color1 = white + colored_emblem = { + color1 = green + color2 = green + texture = "ce_ordinary_cross_5.dds" + } +} +ho_contemplative_hospitaller_johannics = { + pattern = "pattern_solid.dds" + color1 = "red" + colored_emblem = { + texture = "ce_cross_05_maltese.dds" + color1 = "white" + color2 = "white" + } +} + +ho_contemplative_teutonic_order = { + pattern = "pattern_solid.dds" + color1 = "white" + colored_emblem = { + texture = "ce_ordinary_cross_5.dds" + color1 = "black" + color2 = "black" + } +} +ho_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 diff --git a/common/holy_orders/00_christian_holy_orders.txt b/common/holy_orders/00_christian_holy_orders.txt new file mode 100644 index 000000000..0d336d65e --- /dev/null +++ b/common/holy_orders/00_christian_holy_orders.txt @@ -0,0 +1,332 @@ +################### +# MILITARY ORDERS # +################### + +# Defined - Catholic & Pre-Catholic # + +#Knights Hospitaller +ho_christian_knights_hospitaller = { + + type = military + government = holy_order_government + title = d_knights_hospitaller + name = "holy_order_knights_hospitaller" + coat_of_arms = "ho_knights_hospitaller" + + trigger = { + trigger_if = { + limit = { + scope:founder = { has_variable = militantholyorder02_game_start_founder } + current_year >= 2555 + } + scope:province.county ?= title:c_roma + } + } + + weight = { + value = 10 + #Should be founded in Italy + if = { + limit = { + scope:province.county ?= title:c_roma + } + add = 10 + } + #Trying to put benedictines here on game start + if = { + limit = { + years_from_game_start < 1 + current_year >= 2555 + + scope:province.county ?= title:c_roma + } + add = 10000 + } + } + + men_at_arms = { order_knights } + + effect = { + scope:leader = { + add_trait = lifestyle_physician + add_trait_xp = { + trait = lifestyle_physician + value = { 25 50 } + } + } + } +} + +#Teutonic Knights +ho_christian_teutonic_order = { + + type = military + government = holy_order_government + title = d_teutonic_order + name = "holy_order_teutonic_order" + coat_of_arms = "ho_teutonic_order" + + trigger = { + trigger_if = { + limit = { + scope:founder = { has_variable = militantholyorder01_game_start_founder } + current_year >= 2555 + } + scope:province.county ?= title:c_vienna + } + } + + weight = { + value = 10 + #Should be founded in vienna + if = { + limit = { + scope:province.county ?= title:c_vienna + } + add = 10 + } + #Trying to put benedictines here on game start + if = { + limit = { + years_from_game_start < 1 + current_year >= 2555 + + scope:province.county ?= title:c_vienna + } + add = 10000 + } + } + + men_at_arms = { order_serjeants crossbowmen } + + effect = { + scope:leader = { + if = { + limit = { + NOT = { + has_realm_law = cultural_holy_order_succession_law + } + } + add_realm_law = cultural_holy_order_succession_law + } + } + } +} + +#Knights of St Lazarus +#Who cared for lepers (as well as fighting in battles) +ho_knights_of_st_lazarus = { + + type = military + government = holy_order_government + title = d_knights_of_st_lazarus + name = "holy_order_knights_of_st_lazarus" + coat_of_arms = "ho_knights_of_st_lazarus" + + trigger = { + trigger_if = { + limit = { + scope:founder = { has_variable = militantholyorder03_game_start_founder } + current_year >= 2555 + } + scope:province.county ?= title:c_vienna + } + } + + weight = { + value = 10 + #Should be founded in Italy + if = { + limit = { + scope:province.county ?= title:c_dublin + } + add = 5 + } + #Trying to put benedictines here on game start + if = { + limit = { + years_from_game_start < 1 + current_year >= 2555 + + scope:province.county ?= title:c_dublin + } + add = 10000 + } + } + + men_at_arms = { order_knights order_serjeants } + + effect = { + scope:leader = { + add_trait = lifestyle_physician + add_trait_xp = { + trait = lifestyle_physician + value = { 25 50 } + } + random = { + chance = 10 + add_trait = leper + } + } + } +} + +################### +# MONASTIC ORDERS # +################### + +# Fixed + +#Benedictines - extant by earliest game start +ho_contemplative_hospitaller_johannics = { + + type = monastic + government = monastic_holy_order_government + title = d_contemplative_hospitaller_johannics + name = "contemplative_hospitaller_johannics" + coat_of_arms = "ho_contemplative_hospitaller_johannics" + + trigger = { + trigger_if = { + limit = { + scope:founder = { has_variable = monastic_game_start_founder } + current_year >= 2555 + } + scope:province.county ?= title:c_roma + } + } + + weight = { + value = 10 + #Should be founded in Italy + if = { + limit = { + scope:province.county ?= title:c_roma + } + add = 10 + } + #Trying to put benedictines here on game start + if = { + limit = { + years_from_game_start < 1 + current_year >= 2555 + + scope:province.county ?= title:c_roma + } + add = 10000 + } + } + + + effect = { + scope:leader = { + add_trait = lifestyle_physician + add_trait_xp = { + trait = lifestyle_physician + value = { 25 50 } + } + } + } +} + +ho_contemplative_teutonic_order = { + + type = monastic + government = monastic_holy_order_government + title = d_contemplative_teutonic_order + name = "contemplative_teutonic_order" + coat_of_arms = "ho_contemplative_teutonic_order" + + trigger = { + trigger_if = { + limit = { + scope:founder = { has_variable = monastic_game_start_founder } + current_year >= 2555 + } + scope:province.county ?= title:c_roma + } + } + + weight = { + value = 10 + #Should be founded in Italy + if = { + limit = { + scope:province.county ?= title:c_roma + } + add = 10 + } + #Trying to put benedictines here on game start + if = { + limit = { + years_from_game_start < 1 + current_year >= 2555 + + scope:province.county ?= title:c_roma + } + add = 10000 + } + } + + + effect = { + scope:leader = { + add_trait = lifestyle_physician + add_trait_xp = { + trait = lifestyle_physician + value = { 25 50 } + } + } + } +} + +ho_contemplative_hospitaller_lazareans = { + + type = monastic + government = monastic_holy_order_government + title = d_contemplative_hospitaller_lazareans + name = "contemplative_hospitaller_lazareans" + coat_of_arms = "ho_contemplative_hospitaller_lazareans" + + trigger = { + trigger_if = { + limit = { + scope:founder = { has_variable = monastic_game_start_founder } + current_year >= 2555 + } + scope:province.county ?= title:c_dublin + } + } + + weight = { + value = 10 + #Should be founded in Italy + if = { + limit = { + scope:province.county ?= title:c_dublin + } + add = 10 + } + #Trying to put benedictines here on game start + if = { + limit = { + years_from_game_start < 1 + current_year >= 2555 + + scope:province.county ?= title:c_dublin + } + add = 10000 + } + } + + + effect = { + scope:leader = { + add_trait = lifestyle_physician + add_trait_xp = { + trait = lifestyle_physician + value = { 25 50 } + } + } + } +} \ No newline at end of file diff --git a/common/holy_orders/_holy_orders.info b/common/holy_orders/_holy_orders.info new file mode 100644 index 000000000..a6c437857 --- /dev/null +++ b/common/holy_orders/_holy_orders.info @@ -0,0 +1,108 @@ +### +# Holy order type +# +# A weighted collection of data that will be used to dynamically create a Holy Order +# +key = { + + # brief: type + # specifies which type of holy order this type describes. Required; if missing an error is logged and it falls back to 'military'. + # only types matching the type requested by create_holy_order will be considered + # + # values: + # monastic + # military + # + type = military + + # brief: government type + # Specifies government type this holy order should use. It is locked to this government type + # + government = holy_order_government + + # brief: trigger (trigger on empty scope) + # Is this type valid given the creation context? + # Make sure to leave some types with empty triggers as fallback. + # supported scopes: + # * leader (character who will lead the Holy Order) + # * founder (character who is founding the Holy Order) + # * province (the province that will be leased out) + # + trigger = {} + + # brief: weight (scripted value on empty scope) + # This Holy Order type will be chosen among available ones with this weight. + # Zero or negative weights will not be considered. + # supported scopes: + # * leader (character who will lead the Holy Order) + # * founder (character who is founding the Holy Order) + # * province (the province that will be leased out) + # + weight = {} + + # brief: title (title key, optional) + # if defined, the Holy Order will be assigned this title. The name of the Holy Order will be derived from the title. + # this Holy Order Type will be ignored if the title is already held by someone when the Holy Order is created. + # + title = d_knights_templar + + # brief: name + # loc key for the holy order name. Defaults to the key of the holy order if left empty and without scripted title. + # will be localized with + # * FOUNDER (character who is founding the Holy Order) + # * LEADER (character who is going to lead the Holy Order) + # * PROVINCE (the leased out barony province) + # * TITLE (the leased out barony title) + # * FAITH (the faith of the founder) + # + name = "holy_order_knights_templar" + + # brief: coat_of_arms (scripted coat of arms, optional) + # + coat_of_arms = "ho_knights_templar" + + # brief: men_at_arms (men_at_arms key, optional) + # specify which men at arms will be preferred when hiring troops. Only valid for military Holy Orders. + # See the section below for details on men-at-arms pick priorities. + # + men_at_arms = { tawashi onager } + + # brief: tenet (tenet key, optional) + # specify which tenet will be set up when creating a holy order of this type. + # If it may change depending on external factors set it up with set_order_tenet in the effect + # + tenet = tenet_communion + + # brief: effect (effect, optional) + # optionally run effects on the Holy Order. + # Take care to avoid succession as this could be triggered when the game state is broken. + # supported scopes: + # * root: the title assigned to the holy order + # * leader (character who will lead the Holy Order) + # * founder (character who is founding the Holy Order) + # * province (the barony province that will be leased out) + # * title (the title assigned to the holy order) + # * new_holy_order (the just-created holy order) + # * rite (the rite of the holy order) + # + effect = {} +} + +######################################################## +# Men at Arms hiring priority +######################################################## +# +# Holy Orders will hire Men at Arms with the following order of priority: +# 1. Holy Order Type 'men_at_arms' (if specified, last-is-best) +# 2. Religion-based 'holy_order_maa' (if specified, last-is-best) +# 3. Men-at-Arms unlocked by Culture (random) +# 4. 'fallback' Men-at-Arms (random) +# +# 'last-is-best' priorities assume that the array is sorted so that the last MaAs are implied to be +# better picks than the previous ones. The game will hire the latest MaA type that is unlocked by +# the owner's culture. +# +# Priority 3 (Men-at-Arms unlocked by Culture) needs the 'allowed_in_hired_troops = yes' flag set +# in order for the MaA to be picked. +# +# Holy Orders can hire MaAs flagged with the 'special_recruit_only = yes' flag diff --git a/common/landed_titles/NEOW_holy_orders.txt b/common/landed_titles/NEOW_holy_orders.txt new file mode 100644 index 000000000..218129fbc --- /dev/null +++ b/common/landed_titles/NEOW_holy_orders.txt @@ -0,0 +1,64 @@ +@correct_culture_primary_score = 100 +@better_than_the_alternatives_score = 50 +@always_primary_score = 1000 +@never_primary_score = -1000 + +d_teutonic_order = { + color = { 50 50 50 } + + capital = c_vienna + + definite_form = yes + landless = yes + no_automatic_claims = yes +} + +d_knights_hospitaller = { + + color = { 180 180 180 } + + capital = c_roma + + definite_form = yes + landless = yes + no_automatic_claims = yes +} + +d_knights_of_st_lazarus = { + color = { 40 125 21 } + + capital = c_dublin + + definite_form = yes + landless = yes + no_automatic_claims = yes +} +d_contemplative_teutonic_order = { + color = { 50 50 50 } + + capital = c_vienna + + definite_form = yes + landless = yes + no_automatic_claims = yes +} + +d_contemplative_hospitaller_johannics = { + color = { 180 180 180 } + + capital = c_roma + + definite_form = yes + landless = yes + no_automatic_claims = yes +} + +d_contemplative_hospitaller_lazareans = { + color = { 40 125 21 } + + capital = c_dublin + + definite_form = yes + landless = yes + no_automatic_claims = yes +} \ No newline at end of file diff --git a/history/characters/NEOW_holy_orders.txt b/history/characters/NEOW_holy_orders.txt new file mode 100644 index 000000000..a8055d343 --- /dev/null +++ b/history/characters/NEOW_holy_orders.txt @@ -0,0 +1,103 @@ + +militantholyorder01 ={ + name="Karl" + rite = teutonic_rite + culture=bavarian + 2506.1.1={ + birth=yes + effect - { + set_variable = { + name = militantholyorder01_game_start_founder + days = 10 + } + } + } + 2560.1.1={ + death=yes + } +} +militantholyorder02 ={ + name="Riccardo" + rite = roman_rite + culture=tuscan + 2509.1.1={ + birth=yes + effect - { + set_variable = { + name = militantholyorder02_game_start_founder + days = 10 + } + } + } + 2560.1.1={ + death=yes + } +} +militantholyorder03 ={ + name="Gabriéil" + rite = celtic_rite + culture=high_irish + 2507.1.1={ + birth=yes + effect - { + set_variable = { + name = militantholyorder03_game_start_founder + days = 10 + } + } + } + 2560.1.1={ + death=yes + } +} +contemplativeholyorder01 ={ + name="Rudolf" + rite = teutonic_rite + culture=bavarian + 2501.1.1={ + birth=yes + effect - { + set_variable = { + name = contemplativeholyorder01_game_start_founder + days = 10 + } + } + } + 2560.1.1={ + death=yes + } +} +contemplativeholyorder02 ={ + name="Luca" + rite = roman_rite + culture=tuscan + 2505.1.1={ + birth=yes + effect - { + set_variable = { + name = contemplativeholyorder02_game_start_founder + days = 10 + } + } + } + 2560.1.1={ + death=yes + } +} +contemplativeholyorder03 ={ + name="Eoin" + rite = celtic_rite + culture=high_irish + 2508.1.1={ + birth=yes + effect - { + set_variable = { + name = contemplativeholyorder03_game_start_founder + days = 10 + } + } + } + 2560.1.1={ + death=yes + } +} \ No newline at end of file diff --git a/history/provinces/e_britannia.txt b/history/provinces/e_britannia.txt index dfdd8a56d..abb799d19 100644 --- a/history/provinces/e_britannia.txt +++ b/history/provinces/e_britannia.txt @@ -1420,7 +1420,7 @@ holding = city_holding } 34 = { - holding = temple_citadel_holding + holding = church_holding } ###c_kildare 36 = { @@ -1461,7 +1461,7 @@ special_building = port_of_belfast_01 } 13 = { - holding = temple_citadel_holding + holding = church_holding } 9673 = { holding = city_holding @@ -1474,7 +1474,7 @@ holding = city_holding } 8741 = { - holding = temple_citadel_holding + holding = church_holding } 9674 = { holding = none @@ -1540,7 +1540,7 @@ holding = city_holding } 10 = { - holding = temple_citadel_holding + holding = church_holding } 11 = { holding = castle_holding @@ -1593,7 +1593,7 @@ holding = castle_holding } 22 = { - holding = temple_citadel_holding + holding = church_holding } ##d_leinster ###c_leinster @@ -1653,7 +1653,7 @@ holding = castle_holding } 8750 = { - holding = temple_citadel_holding + holding = church_holding } ###c_ennis 46 = { @@ -1705,7 +1705,7 @@ holding = castle_holding } 51 = { - holding = temple_citadel_holding + holding = church_holding } #k_doggerland diff --git a/history/titles/NEOW_other_titles.txt b/history/titles/NEOW_other_titles.txt index 39c29548d..d819ffb40 100644 --- a/history/titles/NEOW_other_titles.txt +++ b/history/titles/NEOW_other_titles.txt @@ -767,3 +767,64 @@ 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 + } +} \ No newline at end of file diff --git a/localization/english/replace/zz_NEOW_titles_l_english.yml b/localization/english/replace/zz_NEOW_titles_l_english.yml index 28deb62b1..d0091e398 100644 --- a/localization/english/replace/zz_NEOW_titles_l_english.yml +++ b/localization/english/replace/zz_NEOW_titles_l_english.yml @@ -14,6 +14,22 @@ e_gallia_cosmetic:0 "Gallia" e_gallia_cosmetic_adj:0 "Gallian" + d_teutonic_order:0 "Order Militant of St.Mary" + d_teutonic_order_adj:0 "Teutonic" + d_knights_hospitaller_article: "$d_cistercians_article$" + d_knights_hospitaller: "Order Militant of St.John" + d_knights_hospitaller_adj: "Johannic" + d_knights_of_st_lazarus_article: "$d_cistercians_article$" + d_knights_of_st_lazarus: "Order Militant of St.Lazarus" + d_knights_of_st_lazarus_adj: "Lazarist" + d_contemplative_teutonic_order:0 "Order Contemplative of St.Mary" + d_contemplative_teutonic_order_adj:0 "Teutonic" + d_contemplative_hospitaller_johannics_article: "$d_cistercians_article$" + d_contemplative_hospitaller_johannics: "Order Contemplative of St.John" + d_contemplative_hospitaller_johannics_adj: "Johannic" + d_contemplative_hospitaller_lazareans_article: "$d_cistercians_article$" + d_contemplative_hospitaller_lazareans: "Order Contemplative of St.Lazarus" + d_contemplative_hospitaller_lazareans_adj: "Lazarist" #### Britannia e_britannia:0 "Great Britain"