Fixes to saints (again) and holy orders probably

This commit is contained in:
Greekman 2026-10-23 01:13:20 +01:00
parent 78d2874d13
commit 5ea21e5248
11 changed files with 371 additions and 377 deletions

View file

@ -23076,6 +23076,11 @@ k_royal_household ={
instance={
position={ 0.145000 0.660000 }
scale={ 0.200000 0.200000 }
}
}
}
d_et_crimea={
pattern="pattern_horizontal_split_01.dds"
color1=blue

View file

@ -8,7 +8,7 @@ PamCanonizeVenerateVerb = {
type = character
text = {
trigger = {
OR = { faith.religion = religion:christianity_religion faith.religion = religion:eastern_orthodox_religion faith.religion = religion:catholic_religion faith.religion = religion:protestant_religion faith.religion = religion:oriental_orthodox_religion }
OR = { faith.religion = religion:eastern_orthodox_religion faith.religion = religion:catholic_religion faith.religion = religion:protestant_religion faith.religion = religion:oriental_orthodox_religion }
}
localization_key = pam_canonize_verb_christian
}
@ -41,7 +41,7 @@ PamSaintOrAncestorNoun = {
type = character
text = {
trigger = {
OR = { faith.religion = religion:christianity_religion faith.religion = religion:eastern_orthodox_religion faith.religion = religion:catholic_religion faith.religion = religion:protestant_religion faith.religion = religion:oriental_orthodox_religion }
OR = { faith.religion = religion:eastern_orthodox_religion faith.religion = religion:catholic_religion faith.religion = religion:protestant_religion faith.religion = religion:oriental_orthodox_religion }
}
localization_key = pam_saint_noun_christian
}
@ -118,7 +118,7 @@ PamSaintOrAncestorNounGeneric = {
type = character
text = {
trigger = {
OR = { faith.religion = religion:christianity_religion faith.religion = religion:eastern_orthodox_religion faith.religion = religion:catholic_religion faith.religion = religion:protestant_religion faith.religion = religion:oriental_orthodox_religion }
OR = { faith.religion = religion:eastern_orthodox_religion faith.religion = religion:catholic_religion faith.religion = religion:protestant_religion faith.religion = religion:oriental_orthodox_religion }
}
localization_key = pam_saint_noun_christian
}
@ -181,7 +181,7 @@ PamVeneratedSaintOrAncestor = {
type = character
text = {
trigger = {
OR = { faith.religion = religion:christianity_religion faith.religion = religion:eastern_orthodox_religion faith.religion = religion:catholic_religion faith.religion = religion:protestant_religion faith.religion = religion:oriental_orthodox_religion }
OR = { faith.religion = religion:eastern_orthodox_religion faith.religion = religion:catholic_religion faith.religion = religion:protestant_religion faith.religion = religion:oriental_orthodox_religion }
}
localization_key = pam_venerated_saint_christian
}
@ -265,7 +265,7 @@ PamVeneratedSaintOrAncestorGeneric = {
type = character
text = {
trigger = {
OR = { faith.religion = religion:christianity_religion faith.religion = religion:eastern_orthodox_religion faith.religion = religion:catholic_religion faith.religion = religion:protestant_religion faith.religion = religion:oriental_orthodox_religion }
OR = { faith.religion = religion:eastern_orthodox_religion faith.religion = religion:catholic_religion faith.religion = religion:protestant_religion faith.religion = religion:oriental_orthodox_religion }
}
localization_key = pam_venerated_saint_christian
}
@ -328,7 +328,7 @@ PamSaintOrAncestorTitleNoun = {
type = character
text = {
trigger = {
OR = { faith.religion = religion:christianity_religion faith.religion = religion:eastern_orthodox_religion faith.religion = religion:catholic_religion faith.religion = religion:protestant_religion faith.religion = religion:oriental_orthodox_religion }
OR = { faith.religion = religion:eastern_orthodox_religion faith.religion = religion:catholic_religion faith.religion = religion:protestant_religion faith.religion = religion:oriental_orthodox_religion }
}
localization_key = pam_saint_title_noun_christian
}
@ -390,7 +390,7 @@ PamSaintOrAncestorTitleNounPlural = {
type = faith
text = {
trigger = {
OR = { religion_tag = christianity_religion religion_tag = eastern_orthodox_religion religion_tag = catholic_religion religion_tag = protestant_religion religion_tag = oriental_orthodox_religion }
OR = { religion_tag = eastern_orthodox_religion religion_tag = catholic_religion religion_tag = protestant_religion religion_tag = oriental_orthodox_religion }
}
localization_key = pam_saint_title_noun_plural_christian
}
@ -453,7 +453,7 @@ PamVeneratedSaintOrAncestorTitle = {
type = character
text = {
trigger = {
OR = { faith.religion = religion:christianity_religion faith.religion = religion:eastern_orthodox_religion faith.religion = religion:catholic_religion faith.religion = religion:protestant_religion faith.religion = religion:oriental_orthodox_religion }
OR = { faith.religion = religion:eastern_orthodox_religion faith.religion = religion:catholic_religion faith.religion = religion:protestant_religion faith.religion = religion:oriental_orthodox_religion }
}
localization_key = pam_venerated_saint_christian
}
@ -516,7 +516,7 @@ PamVenerateObjectTitle = {
type = character
text = {
trigger = {
OR = { faith.religion = religion:christianity_religion faith.religion = religion:eastern_orthodox_religion faith.religion = religion:catholic_religion faith.religion = religion:protestant_religion faith.religion = religion:oriental_orthodox_religion }
OR = { faith.religion = religion:eastern_orthodox_religion faith.religion = religion:catholic_religion faith.religion = religion:protestant_religion faith.religion = religion:oriental_orthodox_religion }
}
localization_key = pam_venerated_saint_christian_capitalized
}
@ -579,7 +579,7 @@ PamBlessedOnesOrAncestors = {
type = character
text = {
trigger = {
OR = { faith.religion = religion:christianity_religion faith.religion = religion:eastern_orthodox_religion faith.religion = religion:catholic_religion faith.religion = religion:protestant_religion faith.religion = religion:oriental_orthodox_religion }
OR = { faith.religion = religion:eastern_orthodox_religion faith.religion = religion:catholic_religion faith.religion = religion:protestant_religion faith.religion = religion:oriental_orthodox_religion }
}
localization_key = pam_blessed_ones_christian
}
@ -642,7 +642,7 @@ PamConsecrateEnshrine = {
type = character
text = {
trigger = {
OR = { faith.religion = religion:christianity_religion faith.religion = religion:eastern_orthodox_religion faith.religion = religion:catholic_religion faith.religion = religion:protestant_religion faith.religion = religion:oriental_orthodox_religion }
OR = { faith.religion = religion:eastern_orthodox_religion faith.religion = religion:catholic_religion faith.religion = religion:protestant_religion faith.religion = religion:oriental_orthodox_religion }
}
localization_key = pam_consecrate_christian
}

View file

@ -0,0 +1,61 @@
NEOWFaithSaintTitleNounPlural = {
type = faith
text = {
trigger = {
OR = { religion_tag = eastern_orthodox_religion religion_tag = catholic_religion religion_tag = protestant_religion religion_tag = oriental_orthodox_religion }
}
localization_key = pam_saint_title_noun_plural_christian
}
text = {
trigger = {
religion_tag = islam_religion
}
localization_key = pam_saint_title_noun_plural_islam
}
text = {
trigger = {
religion_tag = hellenism_religion
}
localization_key = pam_saint_title_noun_plural_hellenism
}
text = {
trigger = {
religion_tag = jainism_religion
}
localization_key = pam_saint_title_noun_plural_jainism
}
text = {
trigger = {
religion_tag = shintoism_religion
}
localization_key = pam_saint_title_noun_plural_shintoism
}
text = {
trigger = {
religion_tag = confucianism_religion
}
localization_key = pam_saint_title_noun_plural_confucianism
}
text = {
trigger = {
religion_tag = buddhism_religion
}
localization_key = pam_saint_title_noun_plural_buddhism
}
text = {
trigger = {
religion_tag = taoism_religion
}
localization_key = pam_saint_title_noun_plural_taoism
}
text = {
trigger = {
religion_tag = judaism_religion
}
localization_key = pam_saint_title_noun_plural_judaism
}
text = {
fallback = yes
localization_key = pam_saint_title_noun_plural_other
}
}

View file

@ -1,4 +1,4 @@
### Found Holy Order ###
### Found Military Order ###
create_holy_order_decision = {
picture = {
trigger = {
@ -12,6 +12,12 @@ create_holy_order_decision = {
}
reference = "gfx/interface/illustrations/holding_types/tgp_castle_se_asia.dds"
}
picture = {
trigger = {
OR = { religion = religion:eastern_orthodox_religion religion = religion:oriental_orthodox_religion religion = religion:catholic_religion religion = religion:protestant_religion }
}
reference = "gfx/interface/illustrations/event_story/pam_the_christian_church_crusade.dds"
}
picture = {
reference = "gfx/interface/illustrations/decisions/decision_major_religion.dds"
}
@ -21,59 +27,42 @@ create_holy_order_decision = {
is_shown = {
is_landed = yes
NOR = {
faith = {
has_doctrine = special_doctrine_immaterial_harmony
}
faith = {
any_faith_holy_order = {
holy_order_patron = root
save_temporary_scope_as = order
}
}
}
# Jomsvikings should use their special decision if appropriate.
trigger_if = {
limit = { has_fp1_dlc_trigger = yes }
faith = {
NOT = { fp1_valid_norse_faith_for_jomsvikings_trigger = yes }
}
}
# trigger_if = {
# limit = {
# any_character_struggle = {
# involvement = involved
# has_struggle_phase_parameter = holy_order_can_be_created_by_dukes
# }
# highest_held_title_tier >= tier_duchy
# }
# NOT = {
# any_sub_realm_barony = {
# is_under_holy_order_lease = yes
# }
# }
# }
OR = {
# AND = {
# any_character_struggle = {
# involvement = involved
# has_struggle_phase_parameter = holy_order_can_be_created_by_dukes
# }
# highest_held_title_tier >= tier_duchy
# }
highest_held_title_tier >= tier_kingdom
any_held_county = {
any_in_de_jure_hierarchy = {
barony_is_valid_for_holy_order_lease_trigger = { CHARACTER = root }
}
}
AND = {
highest_held_title_tier >= tier_duchy
any_character_struggle = {
involvement = involved
has_struggle_phase_parameter = holy_order_can_be_created_by_dukes
}
}
}
any_patroned_holy_order = {
count = 0
leader ?= {
government_has_flag = government_is_military_holy_order
}
}
character_can_create_holy_order_basic_trigger = yes
# Jomsvikings should use their special decision if appropriate.
trigger_if = {
limit = { has_fp1_dlc_trigger = yes }
faith = {
fp1_valid_norse_faith_for_jomsvikings_trigger = no
}
}
}
widget = {
controller = create_holy_order
barony_valid = {
title_valid = {
trigger_if = {
limit = { exists = this }
barony_is_valid_for_holy_order_lease_trigger = { CHARACTER = scope:ruler }
@ -93,16 +82,16 @@ create_holy_order_decision = {
}
is_valid = {
# trigger_if = {
# limit = {
# any_character_struggle = {
# involvement = involved
# has_struggle_phase_parameter = holy_order_can_be_created_by_dukes
# }
# }
# highest_held_title_tier >= tier_duchy
# }
trigger_if = {
limit = {
any_character_struggle = {
involvement = involved
has_struggle_phase_parameter = holy_order_can_be_created_by_dukes
}
}
highest_held_title_tier >= tier_duchy
}
trigger_else = {
custom_description = {
text = "is_king_or_emperor"
highest_held_title_tier >= tier_kingdom
@ -135,6 +124,25 @@ create_holy_order_decision = {
}
}
}
trigger_if = {
limit = {
has_pam_dlc_trigger = yes
NOT = { rite = { rite_has_parameter = lay_clergy } }
}
OR = {
custom_tooltip = {
text = government_is_theocracy
government_has_flag = government_is_theocracy
}
custom_tooltip = {
text = has_clerical_puppet_tt
OR = {
exists = root.puppet:theological_agent_puppet
exists = root.puppet:external_theological_agent_puppet
}
}
}
}
trigger_if = {
limit = {
@ -200,15 +208,32 @@ create_holy_order_decision = {
location = scope:barony.title_province
save_scope_as = leader
}
hidden_effect = {
scope:leader = { set_character_rite ?= root.rite }
}
create_holy_order_neutral_effect = {
LEADER = scope:leader
CAPITAL = scope:barony
NEW_HO_SCOPE = new_holy_order
FOUNDER = root
ORDER_TYPE = military
}
# PAM - Catalysts
if = {
limit = {
has_pam_dlc_trigger = yes
OR = { religion = religion:eastern_orthodox_religion religion = religion:oriental_orthodox_religion religion = religion:catholic_religion religion = religion:protestant_religion }
situation:the_christian_church ?= {
situation_top_has_catalyst = catalyst_the_christian_church_founded_military_order
}
}
situation:the_christian_church = {
trigger_situation_catalyst = catalyst_the_christian_church_founded_military_order
}
}
}
create_holy_order_effect = yes
create_holy_order_accompanying_effect = yes
}
ai_potential = {
@ -233,7 +258,7 @@ create_holy_order_decision = {
modifier = {
add = {
faith = {
# Don't create more than 5 holy orders for a faith
# Don't create more than 5 Military Orders for a faith
every_faith_holy_order = {
subtract = 40
}
@ -247,7 +272,7 @@ create_holy_order_decision = {
}
}
### Borrow Gold from Holy Order ###
### Borrow Gold from Military Order ###
borrow_from_holy_order_decision = { #by Linnéa Thimrén
picture = {
trigger = {
@ -255,6 +280,7 @@ borrow_from_holy_order_decision = { #by Linnéa Thimrén
}
reference = "gfx/interface/illustrations/decisions/hindu_religious.dds"
}
decision_group_type = religious
picture = {
reference = "gfx/interface/illustrations/decisions/decision_spend_money.dds"
}
@ -277,11 +303,15 @@ borrow_from_holy_order_decision = { #by Linnéa Thimrén
cooldown = { days = 5475 }
is_shown = {
is_playable_character = yes
highest_held_title_tier > tier_barony
faith = {
any_faith_holy_order = { count >= 1 } #Your faith must have a Holy Order
faith ?= {
any_faith_holy_order = { #Your faith must have a Military Order
leader = {
government_has_flag = government_is_military_holy_order
}
}
}
is_playable_character = yes
# cannot already have a loan - keep it simple
NOR = {
exists = var:loan_amount_owed
@ -296,7 +326,8 @@ borrow_from_holy_order_decision = { #by Linnéa Thimrén
faith = {
any_faith_holy_order = {
leader = {
gold >= holy_order_gold_value
government_has_flag = government_is_military_holy_order
gold >= root.holy_order_gold_value
NOT = {
has_any_bad_relationship_with_character_trigger = { CHARACTER = root }
}
@ -312,7 +343,8 @@ borrow_from_holy_order_decision = { #by Linnéa Thimrén
random_faith_holy_order = {
limit = {
leader = {
gold >= holy_order_gold_value
gold >= root.holy_order_gold_value
government_has_flag = government_is_military_holy_order
NOT = {
has_any_bad_relationship_with_character_trigger = { CHARACTER = root }
}
@ -333,6 +365,10 @@ borrow_from_holy_order_decision = { #by Linnéa Thimrén
ai_will_do = {
base = 50
modifier = {
factor = 0
gold >= holy_order_gold_value
}
ai_value_modifier = {
ai_zeal = -0.5
}
@ -342,7 +378,7 @@ borrow_from_holy_order_decision = { #by Linnéa Thimrén
}
}
### Revoke Holy Order Lease ###
### Revoke Military Order Lease ###
cancel_holy_order_lease_decision = {
picture = {
trigger = {
@ -350,6 +386,7 @@ cancel_holy_order_lease_decision = {
}
reference = "gfx/interface/illustrations/decisions/hindu_soldiers.dds"
}
decision_group_type = religious
picture = {
reference = "gfx/interface/illustrations/decisions/decision_major_religion.dds"
}
@ -380,20 +417,20 @@ cancel_holy_order_lease_decision = {
}
is_shown = {
is_landless_adventurer = no
is_playable_character = yes
any_sub_realm_barony = {
barony_is_valid_for_holy_order_lease_cancellation_trigger = { ACTOR = root }
}
is_landless_adventurer = no
}
widget = {
controller = revoke_holy_order_lease
barony_valid = {
title_valid = {
trigger_if = {
limit = { exists = this }
barony_is_valid_for_holy_order_lease_cancellation_trigger = { ACTOR = root }
barony_is_valid_for_holy_order_lease_cancellation_trigger = { ACTOR = scope:ruler }
}
trigger_else = {
custom_description = {
@ -404,16 +441,59 @@ cancel_holy_order_lease_decision = {
}
}
cost = {
piety = {
if = {
limit = {
exists = scope:barony.lessee.faith
}
if = {
limit = { faith = scope:barony.lessee.faith }
add = cancel_holy_order_piety_cost
}
else_if = {
limit = {
faith = {
faith_hostility_level = {
target = scope:barony.lessee.faith
value <= faith_astray_level
}
}
}
add = cancel_astray_holy_order_piety_cost
}
}
}
}
is_valid_showing_failures_only = {
is_available_adult = yes
is_available = yes
age >= 12
is_at_war = no
}
effect = {
revoke_holy_order_lease_effect = {
CHARACTER = root
TARGET = scope:barony.lessee
BARONY = scope:barony
if = {
limit = { exists = scope:barony.lessee }
save_scope_as = cost_paid
revoke_holy_order_lease_effect = {
CHARACTER = root
TARGET = scope:barony.lessee
BARONY = scope:barony
}
# PAM - Catalysts
if = {
limit = {
has_pam_dlc_trigger = yes
OR = { religion = religion:eastern_orthodox_religion religion = religion:oriental_orthodox_religion religion = religion:catholic_religion religion = religion:protestant_religion }
situation:the_christian_church ?= {
situation_top_has_catalyst = catalyst_the_christian_church_revoked_order_lease
}
}
situation:the_christian_church = {
trigger_situation_catalyst = catalyst_the_christian_church_revoked_order_lease
}
}
}
hidden_effect = {
@ -453,21 +533,36 @@ cancel_holy_order_lease_decision = {
ai_potential = {
is_playable_character = yes
is_available = yes
age >= 12
is_at_war = no
highest_held_title_tier >= tier_county
any_sub_realm_barony = {
county.holder = { is_ai = yes }
is_under_holy_order_lease = yes
barony_is_valid_for_holy_order_lease_cancellation_trigger = { ACTOR = root }
}
years_from_game_start >= 1
}
ai_will_do = {
base = 0
# revoke titles leased to holy orders of the wrong faith
# revoke titles leased to Military Orders of the wrong faith
modifier = {
add = 100
add = 75
exists = scope:barony.lessee
scope:barony.lessee.faith != root.faith
}
modifier = {
add = 25
exists = scope:barony.lessee
scope:barony.lessee.faith != root.faith
root.faith = {
faith_hostility_level = {
target = scope:barony.lessee.faith
value >= faith_hostile_level
}
}
}
# Revoke if cynical
modifier = {
add = 100
@ -484,6 +579,8 @@ cancel_holy_order_lease_decision = {
}
}
# Found a Monastic Order
# by Jason Cantalini
create_holy_order_monastic_decision = {
picture = {
trigger = {
@ -645,6 +742,8 @@ create_holy_order_monastic_decision = {
}
}
#Split Leases in your Realm Off into New Order
# by Lonesome Hermit Jason Cantalini
pam_monastic_order_new_movement_decision = {
picture = {
trigger = {

View file

@ -61,4 +61,10 @@ nick_the_frankfucker { is_bad = yes }
nick_the_lion_of_the_north = {}
nick_o_desejado = {}
nick_the_ossi = {}
nick_NEOW_fatih = {}
nick_NEOW_fatih = {}
# Orthodox synaxarion and Eastern hagiography
nick_NEOW_equal_to_the_apostles = {}
nick_NEOW_the_great_martyr = {}
nick_NEOW_the_wonderworker = {}
nick_NEOW_the_myrrh_streamer = {}
nick_NEOW_four_days_dead = {}

View file

@ -503,6 +503,7 @@ on_game_start = {
CAPITAL = scope:barony_cyp
NEW_HO_SCOPE = new_holy_order
FOUNDER = scope:founder_cyp
ORDER_TYPE = military
}
}
if = {
@ -542,6 +543,7 @@ on_game_start = {
CAPITAL = scope:barony_OOC
NEW_HO_SCOPE = new_holy_order
FOUNDER = scope:founder_OOC
ORDER_TYPE = military
}
}
### Every nomad and herder in the Steppe Region becomes tribal if DLC not enabled, pre-lobby history setup ###
@ -908,7 +910,7 @@ on_game_start = {
# value = yes
# }
# }
# religion:christianity_religion = {
# religion:eastern_orthodox_religion = {
# set_variable = {
# name = variable_ghw_unlocked
# value = yes

View file

@ -22,7 +22,7 @@ pam_commit_canonization_effect = {
if = {
limit = {
OR = {
faith.religion = religion:christianity_religion
faith.religion = religion:catholic_religion
faith.religion = religion:protestant_religion
faith.religion = religion:eastern_orthodox_religion
@ -323,7 +323,7 @@ create_appropriate_relic_artifact_from_character_effect = {
scope:creator = { has_corpse_trigger = yes }
rite = {
OR = {
religion = religion:christianity_religion
religion = religion:catholic_religion
religion = religion:protestant_religion
religion = religion:eastern_orthodox_religion
@ -342,7 +342,7 @@ create_appropriate_relic_artifact_from_character_effect = {
scope:creator = { has_corpse_trigger = yes }
rite = {
OR = {
religion = religion:christianity_religion
religion = religion:catholic_religion
religion = religion:protestant_religion
religion = religion:eastern_orthodox_religion
@ -372,7 +372,7 @@ create_appropriate_relic_artifact_from_character_effect = {
scope:creator = { has_corpse_trigger = yes }
rite = {
OR = {
religion = religion:christianity_religion
religion = religion:catholic_religion
religion = religion:protestant_religion
religion = religion:eastern_orthodox_religion
@ -408,7 +408,7 @@ create_appropriate_relic_artifact_from_character_effect = {
scope:creator = { has_corpse_trigger = yes }
rite = {
OR = {
religion = religion:christianity_religion
religion = religion:catholic_religion
religion = religion:protestant_religion
religion = religion:eastern_orthodox_religion
@ -426,7 +426,7 @@ create_appropriate_relic_artifact_from_character_effect = {
trigger = {
rite = {
OR = {
religion = religion:christianity_religion
religion = religion:catholic_religion
religion = religion:protestant_religion
religion = religion:eastern_orthodox_religion
@ -445,7 +445,7 @@ create_appropriate_relic_artifact_from_character_effect = {
rite = {
NOT = { rite_has_parameter = cremation_funeral }
OR = {
religion = religion:christianity_religion
religion = religion:catholic_religion
religion = religion:protestant_religion
religion = religion:eastern_orthodox_religion
@ -464,7 +464,7 @@ create_appropriate_relic_artifact_from_character_effect = {
rite = {
NOT = { rite_has_parameter = cremation_funeral }
OR = {
religion = religion:christianity_religion
religion = religion:catholic_religion
religion = religion:protestant_religion
religion = religion:eastern_orthodox_religion
@ -482,7 +482,7 @@ create_appropriate_relic_artifact_from_character_effect = {
scope:creator = { has_corpse_trigger = yes }
rite = {
OR = {
religion = religion:christianity_religion
religion = religion:catholic_religion
religion = religion:protestant_religion
religion = religion:eastern_orthodox_religion
@ -516,7 +516,7 @@ create_appropriate_relic_artifact_from_character_effect = {
scope:creator = { has_corpse_trigger = yes }
rite = {
OR = {
religion = religion:christianity_religion
religion = religion:catholic_religion
religion = religion:protestant_religion
religion = religion:eastern_orthodox_religion
@ -537,7 +537,7 @@ create_appropriate_relic_artifact_from_character_effect = {
rite = {
NOT = { rite_has_parameter = cremation_funeral }
OR = {
religion = religion:christianity_religion
religion = religion:catholic_religion
religion = religion:protestant_religion
religion = religion:eastern_orthodox_religion
@ -809,8 +809,10 @@ pam_extract_relic_from_saint_effect = {
# Surface + rename the drawn relic (no repeated type per saint).
if = {
limit = { exists = scope:newly_created_artifact }
# Expose the artifact in the calling event's immediate scope before
# entering the new-object-only hidden block.
scope:newly_created_artifact = { save_scope_as = relic_artifact }
hidden_effect_new_object = {
scope:newly_created_artifact = { save_scope_as = relic_artifact }
scope:relic_artifact = {
# Stamped onto the artifact because relic_creator_saint is only in scope during extraction.
set_variable = {