From 0013e9987a9fab370bf4981a04d17fb050f3560e Mon Sep 17 00:00:00 2001 From: Greekman Date: Sat, 31 Oct 2026 17:52:49 +0000 Subject: [PATCH] orthodox heresies --- .../coat_of_arms/NEOW_landed_titles.txt | 22 +- common/decisions/10_religious_decisions.txt | 9 +- .../dlc_decisions/pam/pam_decisions.txt | 6 +- common/landed_titles/religious_titles.txt | 22 + .../faith_types/NEOW_faiths_orthodox.txt | 807 ++++++++++-------- .../religion/religion_types/NEOW_orthodox.txt | 1 + .../rite_types/NEOW_rites_theoadamist.txt | 37 + .../scripted_triggers/pam_heresy_triggers.txt | 69 ++ .../heresy/pam_heresy_historical_events.txt | 526 +++++++++++- events/dlc/pam/heresy/pam_heresy_pulse.txt | 21 +- history/characters/NEOW_e_greece.txt | 1 + .../zz_NEOW_heresy_events_l_english.yml | 15 + .../zz_NEOW_religion_orthodox_l_english.yml | 75 ++ .../replace/zz_NEOW_titles_l_english.yml | 3 + 14 files changed, 1246 insertions(+), 368 deletions(-) create mode 100644 common/religion/rite_types/NEOW_rites_theoadamist.txt create mode 100644 localization/english/replace/religion/zz_NEOW_heresy_events_l_english.yml diff --git a/common/coat_of_arms/coat_of_arms/NEOW_landed_titles.txt b/common/coat_of_arms/coat_of_arms/NEOW_landed_titles.txt index 96b332009..6fc1b5022 100644 --- a/common/coat_of_arms/coat_of_arms/NEOW_landed_titles.txt +++ b/common/coat_of_arms/coat_of_arms/NEOW_landed_titles.txt @@ -24051,7 +24051,27 @@ d_et_montenegro={ position={ 0.500000 0.390000 } depth=2.010000 } - + } +} +k_theoadamist_hof = { + pattern="pattern__solid_designer.dds" + color1=red + color2=black + color3=red + colored_emblem={ + color1=white + texture="ce_mongol_bird.dds" } + colored_emblem={ + color1=yellow + color2=white + texture="ce_eastern_sun.dds" + instance={ + position={ 0.500000 0.190000 } + scale={ 0.580000 0.580000 } + depth=1.010000 + } + + } } diff --git a/common/decisions/10_religious_decisions.txt b/common/decisions/10_religious_decisions.txt index 78491a9fe..38b1d2a02 100644 --- a/common/decisions/10_religious_decisions.txt +++ b/common/decisions/10_religious_decisions.txt @@ -1428,6 +1428,13 @@ ai_create_head_of_faith_decision = { is_shown = { is_ai = yes + # When By God Alone is installed, the regular PAM decision handles AI HoF creation. + has_pam_dlc_trigger = no + is_landed = yes + faith ?= { + NOT = { exists = religious_head } + NOT = { has_doctrine_parameter = block_from_create_hof_parameter } + } can_create_head_of_faith_title_trigger = { FAITH = root.faith } OR = { top_liege = this @@ -1450,7 +1457,7 @@ ai_create_head_of_faith_decision = { effect = { faith = { save_scope_as = faith } - create_head_of_faith_title_effect = yes + force_create_head_of_faith_title_effect = yes } ai_check_interval_by_tier = { diff --git a/common/decisions/dlc_decisions/pam/pam_decisions.txt b/common/decisions/dlc_decisions/pam/pam_decisions.txt index c69a3e8fb..7d2e8a4dd 100644 --- a/common/decisions/dlc_decisions/pam/pam_decisions.txt +++ b/common/decisions/dlc_decisions/pam/pam_decisions.txt @@ -1148,10 +1148,8 @@ create_hof_decision = { } is_shown = { - OR = { - is_landed = yes - government_has_flag = government_is_theocracy - } + # The decision needs a landed ruler to control a holy site and found the title. + is_landed = yes faith ?= { OR = { has_doctrine_parameter = spiritual_head_of_faith diff --git a/common/landed_titles/religious_titles.txt b/common/landed_titles/religious_titles.txt index 66980ea3b..c29e9fcac 100644 --- a/common/landed_titles/religious_titles.txt +++ b/common/landed_titles/religious_titles.txt @@ -81,6 +81,28 @@ k_papal_state = { Xaverius } } +k_theoadamist_hof = { + color = { 222 167 72 } + definite_form = yes + ruler_uses_title_name = no + landless = yes + disable_regnal_numbers = never + + ai_primary_priority = { add = 1000 } + + no_automatic_claims = yes + always_follows_primary_heir = yes + destroy_if_invalid_heir = yes + de_jure_drift_disabled = yes + can_use_nomadic_naming = no + + holding_regnal_female_names = { + Lusia + } + holding_regnal_male_names = { + Abel + } +} e_novelist_high_king = { color = { 75 30 95 } diff --git a/common/religion/faith_types/NEOW_faiths_orthodox.txt b/common/religion/faith_types/NEOW_faiths_orthodox.txt index ca16f841b..f38a32649 100644 --- a/common/religion/faith_types/NEOW_faiths_orthodox.txt +++ b/common/religion/faith_types/NEOW_faiths_orthodox.txt @@ -1,341 +1,466 @@ -orthodox = { - # Scripted main Rite by start date: byzantine_rite from 1054.7.16. Core tenets and Rite-specific doctrines are defined on that Rite; faith-intrinsic doctrines remain inline. - main_rite = byzantine_rite - faith_details = { - religion = eastern_orthodox_religion - color = { 153 45 119 } - graphical_faith = "orthodox_gfx" - religious_head = k_orthodox - } - - eminent_holy_sites = { - athos - iasi - constantinople - } - - holy_sites = { - jerusalem - rome - antioch - alexandria - tbilisi - kiev - } - doctrines = { - special_doctrine_mainline_orthodox - special_doctrine_banner_default - } - - localization = { - # Patriarchs instead of Popes - ReligiousHeadName = orthodox_religious_head_title - ReligiousHeadNameFemale = orthodox_religious_head_title_female - ReligiousHeadTitleName = orthodox_religious_head_title_name - } -} -russian_orthodox = { - # Scripted main Rite by start date: byzantine_rite from 1054.7.16. Core tenets and Rite-specific doctrines are defined on that Rite; faith-intrinsic doctrines remain inline. - main_rite = orthodox_slavic_rite - faith_details = { - religion = eastern_orthodox_religion - color = { 191 38 102 } - graphical_faith = "orthodox_gfx" - icon = pravoslavie - religious_head = k_russian_orthodox - } - - eminent_holy_sites = { - constantinople - jerusalem - moscow - } - - holy_sites = { - rome - antioch - alexandria - novgorod - kiev - } - - localization = { - # Patriarchs instead of Popes - ReligiousHeadName = orthodox_religious_head_title - ReligiousHeadNameFemale = orthodox_religious_head_title_female - ReligiousHeadTitleName = orthodox_religious_head_title_name - } -} - -old_believer = { - # The Old Belief is a distinct Orthodox faith descended from the pre-Nikonian Russian tradition. - # Its main Rite is the priestly Old Believer Rite; Bespopovtsy represents the priestless branch. - main_rite = old_believer_rite - origin = russian_orthodox - - faith_details = { - religion = eastern_orthodox_religion - color = { 67 22 76 } - graphical_faith = "orthodox_gfx" - icon = old_believer - } - - holy_sites = { - moscow - konugardr - athos - iasi - don - } -} - - -marblist = { - main_rite = marblist_rite - origin = orthodox - faith_details = { - religion = eastern_orthodox_religion - color = { 240 216 255 } - icon = marblist - graphical_faith = "orthodox_gfx" - religious_head = e_marblist - } - eminent_holy_sites = { constantinople athos athens } - holy_sites = { barlad rome } - doctrines = { - special_doctrine_true_orthodox - special_doctrine_banner_default - } - localization = { - ReligiousHeadName = marblist_religious_head_title - ReligiousHeadTitleName = marblist_religious_head_title_name - GoodGodNames = { - marblist_high_god_name - marblist_high_god_name_alternate - marblist_creator_god_name - marblist_health_god_name - marblist_fertility_god_name - marblist_wealth_god_name - marblist_household_god_name - marblist_fate_god_name - marblist_knowledge_god_name - marblist_war_god_name - marblist_water_god_name - } - EvilGodNames = { - marblist_night_god_name - marblist_trickster_god_name - marblist_death_deity_name - marblist_devil_name - } - HighGodName = marblist_high_god_name - HighGodNamePossessive = marblist_high_god_name_possessive - HighGodNameSheHe = CHARACTER_SHEHE_HE - HighGodHerHis = CHARACTER_HERHIS_HIS - HighGodHerHim = CHARACTER_HERHIM_HIM - HighGodNameAlternate = marblist_high_god_name_alternate - HighGodNameAlternatePossessive = marblist_high_god_name_alternate_possessive - - CreatorName = marblist_creator_god_name - CreatorNamePossessive = marblist_creator_god_name_possessive - CreatorSheHe = CHARACTER_SHEHE_HE - CreatorHerHis = CHARACTER_HERHIS_HIS - CreatorHerHim = CHARACTER_HERHIM_HIMSELF - - HealthGodName = marblist_health_god_name - HealthGodNamePossessive = marblist_health_god_name_possessive - HealthGodSheHe = CHARACTER_SHEHE_SHE - HealthGodHerHis = CHARACTER_HERHIS_HER - HealthGodHerHim = CHARACTER_HERHIM_HERSELF - - FertilityGodName = marblist_fertility_god_name - FertilityGodNamePossessive = marblist_fertility_god_name_possessive - FertilityGodSheHe = CHARACTER_SHEHE_SHE - FertilityGodHerHis = CHARACTER_HERHIS_HER - FertilityGodHerHim = CHARACTER_HERHIM_HER - - HouseholdGodName = marblist_household_god_name - HouseholdGodNamePossessive = marblist_household_god_name_possessive - HouseholdGodSheHe = CHARACTER_SHEHE_SHE - HouseholdGodHerHis = CHARACTER_HERHIS_HER - HouseholdGodHerHim = CHARACTER_HERHIM_HERSELF - - KnowledgeGodName = marblist_knowledge_god_name - KnowledgeGodNamePossessive = marblist_knowledge_god_name_possessive - KnowledgeGodSheHe = CHARACTER_SHEHE_HE - KnowledgeGodHerHis = CHARACTER_HERHIS_HIS - KnowledgeGodHerHim = CHARACTER_HERHIM_HIM - - WarGodName = marblist_war_god_name - WarGodNamePossessive = marblist_war_god_name_possessive - WarGodSheHe = CHARACTER_SHEHE_HE - WarGodHerHis = CHARACTER_HERHIS_HIS - WarGodHerHim = CHARACTER_HERHIM_HIM - - FateGodName = marblist_fate_god_name - FateGodNamePossessive = marblist_fate_god_name_possessive - FateGodSheHe = CHARACTER_SHEHE_HE - FateGodHerHis = CHARACTER_HERHIS_HIS - FateGodHerHim = CHARACTER_HERHIM_HIM - - WealthGodName = marblist_wealth_god_name - WealthGodNamePossessive = marblist_wealth_god_name_possessive - WealthGodSheHe = CHARACTER_SHEHE_HE - WealthGodHerHis = CHARACTER_HERHIS_HIS - WealthGodHerHim = CHARACTER_HERHIM_HIM - - WaterGodName = marblist_water_god_name - WaterGodNamePossessive = marblist_water_god_name_possessive - WaterGodSheHe = CHARACTER_SHEHE_SHE - WaterGodHerHis = CHARACTER_HERHIS_HER - WaterGodHerHim = CHARACTER_HERHIM_HER - - TricksterGodName = marblist_trickster_god_name - TricksterGodNamePossessive = marblist_trickster_god_name_possessive - TricksterGodSheHe = CHARACTER_SHEHE_THEY - TricksterGodHerHis = CHARACTER_HERHIS_THEIR - TricksterGodHerHim = CHARACTER_HERHIM_THEM - - NightGodName = marblist_night_god_name - NightGodNamePossessive = marblist_night_god_name_possessive - NightGodSheHe = CHARACTER_SHEHE_THEY - NightGodHerHis = CHARACTER_HERHIS_THEIR - NightGodHerHim = CHARACTER_HERHIM_THEM - - DeathDeityName = marblist_death_deity_name - DeathDeityNamePossessive = marblist_death_deity_name_possessive - DeathDeitySheHe = CHARACTER_SHEHE_HE - DeathDeityHerHis = CHARACTER_HERHIS_HIS - DeathDeityHerHim = CHARACTER_HERHIM_HIM - - DevilName = marblist_devil_name - DevilNamePossessive = marblist_devil_name_possessive - DevilSheHe = CHARACTER_SHEHE_HE - DevilHerHis = CHARACTER_HERHIS_HIS - DevilHerHim = CHARACTER_HERHIM_HIMSELF - } -} - -elysian = { - main_rite = elysian_rite - origin = orthodox - faith_details = { - religion = eastern_orthodox_religion - color = { 191 83 47 } - icon = elysian - graphical_faith = "orthodox_gfx" - } - eminent_holy_sites = { constantinople athos iasi } - holy_sites = { barlad konugardr } - doctrines = { - special_doctrine_true_orthodox - special_doctrine_banner_default - } - localization = { - ReligiousHeadName = elysian_religious_head_title - ReligiousHeadTitleName = elysian_religious_head_title_name - GoodGodNames = { - elysian_high_god_name - elysian_high_god_name_alternate - elysian_creator_god_name - elysian_health_god_name - elysian_fertility_god_name - elysian_knowledge_god_name - elysian_war_god_name - elysian_fate_god_name - elysian_wealth_god_name - elysian_water_god_name - } - EvilGodNames = { - elysian_night_god_name - elysian_trickster_god_name - elysian_death_deity_name - elysian_devil_name - elysian_witch_god_name - } - HighGodName = elysian_high_god_name - HighGodNamePossessive = elysian_high_god_name_possessive - HighGodNameSheHe = CHARACTER_SHEHE_THEY - HighGodHerHis = CHARACTER_HERHIS_THEIR - HighGodHerHim = CHARACTER_HERHIM_THEM - HighGodNameAlternate = elysian_high_god_name_alternate - HighGodNameAlternatePossessive = elysian_high_god_name_alternate_possessive - - CreatorName = elysian_creator_god_name - CreatorNamePossessive = elysian_creator_god_name_possessive - CreatorSheHe = CHARACTER_SHEHE_THEY - CreatorHerHis = CHARACTER_HERHIS_THEIR - CreatorHerHim = CHARACTER_HERHIM_THEM - - HealthGodName = elysian_health_god_name - HealthGodNamePossessive = elysian_health_god_name_possessive - HealthGodSheHe = CHARACTER_SHEHE_THEY - HealthGodHerHis = CHARACTER_HERHIS_THEIR - HealthGodHerHim = CHARACTER_HERHIM_THEM - - FertilityGodName = elysian_fertility_god_name - FertilityGodNamePossessive = elysian_fertility_god_name_possessive - FertilityGodSheHe = CHARACTER_SHEHE_THEY - FertilityGodHerHis = CHARACTER_HERHIS_THEIR - FertilityGodHerHim = CHARACTER_HERHIM_THEM - - HouseholdGodName = elysian_household_god_name - HouseholdGodNamePossessive = elysian_household_god_name_possessive - HouseholdGodSheHe = CHARACTER_SHEHE_THEY - HouseholdGodHerHis = CHARACTER_HERHIS_THEIR - HouseholdGodHerHim = CHARACTER_HERHIM_THEM - - KnowledgeGodName = elysian_knowledge_god_name - KnowledgeGodNamePossessive = elysian_knowledge_god_name_possessive - KnowledgeGodSheHe = CHARACTER_SHEHE_THEY - KnowledgeGodHerHis = CHARACTER_HERHIS_THEIR - KnowledgeGodHerHim = CHARACTER_HERHIM_THEM - - WarGodName = elysian_war_god_name - WarGodNamePossessive = elysian_war_god_name_possessive - WarGodSheHe = CHARACTER_SHEHE_THEY - WarGodHerHis = CHARACTER_HERHIS_THEIR - WarGodHerHim = CHARACTER_HERHIM_THEM - - FateGodName = elysian_fate_god_name - FateGodNamePossessive = elysian_fate_god_name_possessive - FateGodSheHe = CHARACTER_SHEHE_THEY - FateGodHerHis = CHARACTER_HERHIS_THEIR - FateGodHerHim = CHARACTER_HERHIM_THEM - - WealthGodName = elysian_wealth_god_name - WealthGodNamePossessive = elysian_wealth_god_name_possessive - WealthGodSheHe = CHARACTER_SHEHE_THEY - WealthGodHerHis = CHARACTER_HERHIS_THEIR - WealthGodHerHim = CHARACTER_HERHIM_THEM - - WaterGodName = elysian_water_god_name - WaterGodNamePossessive = elysian_water_god_name_possessive - WaterGodSheHe = CHARACTER_SHEHE_THEY - WaterGodHerHis = CHARACTER_HERHIS_THEIR - WaterGodHerHim = CHARACTER_HERHIM_THEM - - TricksterGodName = elysian_trickster_god_name - TricksterGodNamePossessive = elysian_trickster_god_name_possessive - TricksterGodSheHe = CHARACTER_SHEHE_THEY - TricksterGodHerHis = CHARACTER_HERHIS_THEIR - TricksterGodHerHim = CHARACTER_HERHIM_THEM - - NightGodName = elysian_night_god_name - NightGodNamePossessive = elysian_night_god_name_possessive - NightGodSheHe = CHARACTER_SHEHE_THEY - NightGodHerHis = CHARACTER_HERHIS_THEIR - NightGodHerHim = CHARACTER_HERHIM_THEM - - DeathDeityName = elysian_death_deity_name - DeathDeityNamePossessive = elysian_death_deity_name_possessive - DeathDeitySheHe = CHARACTER_SHEHE_THEY - DeathDeityHerHis = CHARACTER_HERHIS_THEIR - DeathDeityHerHim = CHARACTER_HERHIM_THEM - - DevilName = elysian_devil_name - DevilNamePossessive = elysian_devil_name_possessive - DevilSheHe = CHARACTER_SHEHE_THEY - DevilHerHis = CHARACTER_HERHIS_THEIR - } -} +orthodox = { + # Scripted main Rite by start date: byzantine_rite from 1054.7.16. Core tenets and Rite-specific doctrines are defined on that Rite; faith-intrinsic doctrines remain inline. + main_rite = byzantine_rite + faith_details = { + religion = eastern_orthodox_religion + color = { 153 45 119 } + graphical_faith = "orthodox_gfx" + religious_head = k_orthodox + } + + eminent_holy_sites = { + athos + iasi + constantinople + } + + holy_sites = { + jerusalem + rome + antioch + alexandria + tbilisi + kiev + } + doctrines = { + special_doctrine_mainline_orthodox + special_doctrine_banner_default + } + + localization = { + # Patriarchs instead of Popes + ReligiousHeadName = orthodox_religious_head_title + ReligiousHeadNameFemale = orthodox_religious_head_title_female + ReligiousHeadTitleName = orthodox_religious_head_title_name + } +} +russian_orthodox = { + # Scripted main Rite by start date: byzantine_rite from 1054.7.16. Core tenets and Rite-specific doctrines are defined on that Rite; faith-intrinsic doctrines remain inline. + main_rite = orthodox_slavic_rite + faith_details = { + religion = eastern_orthodox_religion + color = { 191 38 102 } + graphical_faith = "orthodox_gfx" + icon = pravoslavie + religious_head = k_russian_orthodox + } + + eminent_holy_sites = { + constantinople + jerusalem + moscow + } + + holy_sites = { + rome + antioch + alexandria + novgorod + kiev + } + + localization = { + # Patriarchs instead of Popes + ReligiousHeadName = orthodox_religious_head_title + ReligiousHeadNameFemale = orthodox_religious_head_title_female + ReligiousHeadTitleName = orthodox_religious_head_title_name + } +} + +old_believer = { + # The Old Belief is a distinct Orthodox faith descended from the pre-Nikonian Russian tradition. + # Its main Rite is the priestly Old Believer Rite; Bespopovtsy represents the priestless branch. + main_rite = old_believer_rite + origin = russian_orthodox + + faith_details = { + religion = eastern_orthodox_religion + color = { 67 22 76 } + graphical_faith = "orthodox_gfx" + icon = old_believer + } + + holy_sites = { + moscow + konugardr + athos + iasi + don + } +} + + +marblist = { + main_rite = marblist_rite + origin = orthodox + faith_details = { + religion = eastern_orthodox_religion + color = { 240 216 255 } + icon = marblist + graphical_faith = "orthodox_gfx" + religious_head = e_marblist + } + eminent_holy_sites = { constantinople athos athens } + holy_sites = { barlad rome } + doctrines = { + special_doctrine_true_orthodox + special_doctrine_banner_default + } + localization = { + ReligiousHeadName = marblist_religious_head_title + ReligiousHeadTitleName = marblist_religious_head_title_name + GoodGodNames = { + marblist_high_god_name + marblist_high_god_name_alternate + marblist_creator_god_name + marblist_health_god_name + marblist_fertility_god_name + marblist_wealth_god_name + marblist_household_god_name + marblist_fate_god_name + marblist_knowledge_god_name + marblist_war_god_name + marblist_water_god_name + } + EvilGodNames = { + marblist_night_god_name + marblist_trickster_god_name + marblist_death_deity_name + marblist_devil_name + } + HighGodName = marblist_high_god_name + HighGodNamePossessive = marblist_high_god_name_possessive + HighGodNameSheHe = CHARACTER_SHEHE_HE + HighGodHerHis = CHARACTER_HERHIS_HIS + HighGodHerHim = CHARACTER_HERHIM_HIM + HighGodNameAlternate = marblist_high_god_name_alternate + HighGodNameAlternatePossessive = marblist_high_god_name_alternate_possessive + + CreatorName = marblist_creator_god_name + CreatorNamePossessive = marblist_creator_god_name_possessive + CreatorSheHe = CHARACTER_SHEHE_HE + CreatorHerHis = CHARACTER_HERHIS_HIS + CreatorHerHim = CHARACTER_HERHIM_HIMSELF + + HealthGodName = marblist_health_god_name + HealthGodNamePossessive = marblist_health_god_name_possessive + HealthGodSheHe = CHARACTER_SHEHE_SHE + HealthGodHerHis = CHARACTER_HERHIS_HER + HealthGodHerHim = CHARACTER_HERHIM_HERSELF + + FertilityGodName = marblist_fertility_god_name + FertilityGodNamePossessive = marblist_fertility_god_name_possessive + FertilityGodSheHe = CHARACTER_SHEHE_SHE + FertilityGodHerHis = CHARACTER_HERHIS_HER + FertilityGodHerHim = CHARACTER_HERHIM_HER + + HouseholdGodName = marblist_household_god_name + HouseholdGodNamePossessive = marblist_household_god_name_possessive + HouseholdGodSheHe = CHARACTER_SHEHE_SHE + HouseholdGodHerHis = CHARACTER_HERHIS_HER + HouseholdGodHerHim = CHARACTER_HERHIM_HERSELF + + KnowledgeGodName = marblist_knowledge_god_name + KnowledgeGodNamePossessive = marblist_knowledge_god_name_possessive + KnowledgeGodSheHe = CHARACTER_SHEHE_HE + KnowledgeGodHerHis = CHARACTER_HERHIS_HIS + KnowledgeGodHerHim = CHARACTER_HERHIM_HIM + + WarGodName = marblist_war_god_name + WarGodNamePossessive = marblist_war_god_name_possessive + WarGodSheHe = CHARACTER_SHEHE_HE + WarGodHerHis = CHARACTER_HERHIS_HIS + WarGodHerHim = CHARACTER_HERHIM_HIM + + FateGodName = marblist_fate_god_name + FateGodNamePossessive = marblist_fate_god_name_possessive + FateGodSheHe = CHARACTER_SHEHE_HE + FateGodHerHis = CHARACTER_HERHIS_HIS + FateGodHerHim = CHARACTER_HERHIM_HIM + + WealthGodName = marblist_wealth_god_name + WealthGodNamePossessive = marblist_wealth_god_name_possessive + WealthGodSheHe = CHARACTER_SHEHE_HE + WealthGodHerHis = CHARACTER_HERHIS_HIS + WealthGodHerHim = CHARACTER_HERHIM_HIM + + WaterGodName = marblist_water_god_name + WaterGodNamePossessive = marblist_water_god_name_possessive + WaterGodSheHe = CHARACTER_SHEHE_SHE + WaterGodHerHis = CHARACTER_HERHIS_HER + WaterGodHerHim = CHARACTER_HERHIM_HER + + TricksterGodName = marblist_trickster_god_name + TricksterGodNamePossessive = marblist_trickster_god_name_possessive + TricksterGodSheHe = CHARACTER_SHEHE_THEY + TricksterGodHerHis = CHARACTER_HERHIS_THEIR + TricksterGodHerHim = CHARACTER_HERHIM_THEM + + NightGodName = marblist_night_god_name + NightGodNamePossessive = marblist_night_god_name_possessive + NightGodSheHe = CHARACTER_SHEHE_THEY + NightGodHerHis = CHARACTER_HERHIS_THEIR + NightGodHerHim = CHARACTER_HERHIM_THEM + + DeathDeityName = marblist_death_deity_name + DeathDeityNamePossessive = marblist_death_deity_name_possessive + DeathDeitySheHe = CHARACTER_SHEHE_HE + DeathDeityHerHis = CHARACTER_HERHIS_HIS + DeathDeityHerHim = CHARACTER_HERHIM_HIM + + DevilName = marblist_devil_name + DevilNamePossessive = marblist_devil_name_possessive + DevilSheHe = CHARACTER_SHEHE_HE + DevilHerHis = CHARACTER_HERHIS_HIS + DevilHerHim = CHARACTER_HERHIM_HIMSELF + } +} + +elysian = { + main_rite = elysian_rite + origin = orthodox + faith_details = { + religion = eastern_orthodox_religion + color = { 191 83 47 } + icon = elysian + graphical_faith = "orthodox_gfx" + } + eminent_holy_sites = { constantinople athos iasi } + holy_sites = { barlad konugardr } + doctrines = { + special_doctrine_true_orthodox + special_doctrine_banner_default + } + localization = { + ReligiousHeadName = elysian_religious_head_title + ReligiousHeadTitleName = elysian_religious_head_title_name + GoodGodNames = { + elysian_high_god_name + elysian_high_god_name_alternate + elysian_creator_god_name + elysian_health_god_name + elysian_fertility_god_name + elysian_knowledge_god_name + elysian_war_god_name + elysian_fate_god_name + elysian_wealth_god_name + elysian_water_god_name + } + EvilGodNames = { + elysian_night_god_name + elysian_trickster_god_name + elysian_death_deity_name + elysian_devil_name + elysian_witch_god_name + } + HighGodName = elysian_high_god_name + HighGodNamePossessive = elysian_high_god_name_possessive + HighGodNameSheHe = CHARACTER_SHEHE_THEY + HighGodHerHis = CHARACTER_HERHIS_THEIR + HighGodHerHim = CHARACTER_HERHIM_THEM + HighGodNameAlternate = elysian_high_god_name_alternate + HighGodNameAlternatePossessive = elysian_high_god_name_alternate_possessive + + CreatorName = elysian_creator_god_name + CreatorNamePossessive = elysian_creator_god_name_possessive + CreatorSheHe = CHARACTER_SHEHE_THEY + CreatorHerHis = CHARACTER_HERHIS_THEIR + CreatorHerHim = CHARACTER_HERHIM_THEM + + HealthGodName = elysian_health_god_name + HealthGodNamePossessive = elysian_health_god_name_possessive + HealthGodSheHe = CHARACTER_SHEHE_THEY + HealthGodHerHis = CHARACTER_HERHIS_THEIR + HealthGodHerHim = CHARACTER_HERHIM_THEM + + FertilityGodName = elysian_fertility_god_name + FertilityGodNamePossessive = elysian_fertility_god_name_possessive + FertilityGodSheHe = CHARACTER_SHEHE_THEY + FertilityGodHerHis = CHARACTER_HERHIS_THEIR + FertilityGodHerHim = CHARACTER_HERHIM_THEM + + HouseholdGodName = elysian_household_god_name + HouseholdGodNamePossessive = elysian_household_god_name_possessive + HouseholdGodSheHe = CHARACTER_SHEHE_THEY + HouseholdGodHerHis = CHARACTER_HERHIS_THEIR + HouseholdGodHerHim = CHARACTER_HERHIM_THEM + + KnowledgeGodName = elysian_knowledge_god_name + KnowledgeGodNamePossessive = elysian_knowledge_god_name_possessive + KnowledgeGodSheHe = CHARACTER_SHEHE_THEY + KnowledgeGodHerHis = CHARACTER_HERHIS_THEIR + KnowledgeGodHerHim = CHARACTER_HERHIM_THEM + + WarGodName = elysian_war_god_name + WarGodNamePossessive = elysian_war_god_name_possessive + WarGodSheHe = CHARACTER_SHEHE_THEY + WarGodHerHis = CHARACTER_HERHIS_THEIR + WarGodHerHim = CHARACTER_HERHIM_THEM + + FateGodName = elysian_fate_god_name + FateGodNamePossessive = elysian_fate_god_name_possessive + FateGodSheHe = CHARACTER_SHEHE_THEY + FateGodHerHis = CHARACTER_HERHIS_THEIR + FateGodHerHim = CHARACTER_HERHIM_THEM + + WealthGodName = elysian_wealth_god_name + WealthGodNamePossessive = elysian_wealth_god_name_possessive + WealthGodSheHe = CHARACTER_SHEHE_THEY + WealthGodHerHis = CHARACTER_HERHIS_THEIR + WealthGodHerHim = CHARACTER_HERHIM_THEM + + WaterGodName = elysian_water_god_name + WaterGodNamePossessive = elysian_water_god_name_possessive + WaterGodSheHe = CHARACTER_SHEHE_THEY + WaterGodHerHis = CHARACTER_HERHIS_THEIR + WaterGodHerHim = CHARACTER_HERHIM_THEM + + TricksterGodName = elysian_trickster_god_name + TricksterGodNamePossessive = elysian_trickster_god_name_possessive + TricksterGodSheHe = CHARACTER_SHEHE_THEY + TricksterGodHerHis = CHARACTER_HERHIS_THEIR + TricksterGodHerHim = CHARACTER_HERHIM_THEM + + NightGodName = elysian_night_god_name + NightGodNamePossessive = elysian_night_god_name_possessive + NightGodSheHe = CHARACTER_SHEHE_THEY + NightGodHerHis = CHARACTER_HERHIS_THEIR + NightGodHerHim = CHARACTER_HERHIM_THEM + + DeathDeityName = elysian_death_deity_name + DeathDeityNamePossessive = elysian_death_deity_name_possessive + DeathDeitySheHe = CHARACTER_SHEHE_THEY + DeathDeityHerHis = CHARACTER_HERHIS_THEIR + DeathDeityHerHim = CHARACTER_HERHIM_THEM + + DevilName = elysian_devil_name + DevilNamePossessive = elysian_devil_name_possessive + DevilSheHe = CHARACTER_SHEHE_THEY + DevilHerHis = CHARACTER_HERHIS_THEIR + } +} + +theoadamist_faith = { + main_rite = theoadamist_rite + origin = orthodox + + faith_details = { + religion = eastern_orthodox_religion + color = { 222 167 72 } + icon = christianity_ichthys_01 + graphical_faith = "orthodox_gfx" + religious_head = k_theoadamist_hof + } + + # Theoadamists regard nothing before the Event as sacred. + # Their future pilgrimage sites must be post-Event and are intentionally + # left undefined rather than reusing Jerusalem, Rome, etc. + eminent_holy_sites = { } + holy_sites = { } + + doctrines = { + doctrine_gender_equal + doctrine_divorce_allowed + doctrine_pluralism_fundamentalist + doctrine_temporal_head + doctrine_theocracy_lay_clergy + doctrine_clerical_marriage_allowed + doctrine_clerical_gender_either + doctrine_clerical_succession_temporal_fixed_appointment special_doctrine_true_orthodox + doctrine_consanguinity_unrestricted + doctrine_clerical_function_alms_and_pacification + doctrine_no_anointment + doctrine_monasticism_absent + special_doctrine_banner_default + } + + localization = { + PantheonTerm = theoadamist_pantheon + PantheonTerm2 = theoadamist_pantheon + PantheonTerm3 = theoadamist_pantheon + + HighGodName = theoadamist_high_god_name + HighGodNamePossessive = theoadamist_high_god_name_possessive + HighGodNameAlternate = theoadamist_high_god_name_alternate + HighGodNameAlternatePossessive = theoadamist_high_god_name_alternate_possessive + CreatorName = theoadamist_creator_god_name + CreatorNamePossessive = theoadamist_creator_god_name_possessive + + HealthGodName = theoadamist_health_god_name + HealthGodNamePossessive = theoadamist_health_god_name_possessive + FertilityGodName = theoadamist_fertility_god_name + FertilityGodNamePossessive = theoadamist_fertility_god_name_possessive + WealthGodName = theoadamist_wealth_god_name + WealthGodNamePossessive = theoadamist_wealth_god_name_possessive + HouseholdGodName = theoadamist_household_god_name + HouseholdGodNamePossessive = theoadamist_household_god_name_possessive + FateGodName = theoadamist_fate_god_name + FateGodNamePossessive = theoadamist_fate_god_name_possessive + KnowledgeGodName = theoadamist_knowledge_god_name + KnowledgeGodNamePossessive = theoadamist_knowledge_god_name_possessive + WarGodName = theoadamist_war_god_name + WarGodNamePossessive = theoadamist_war_god_name_possessive + WaterGodName = theoadamist_water_god_name + WaterGodNamePossessive = theoadamist_water_god_name_possessive + NightGodName = theoadamist_night_god_name + NightGodNamePossessive = theoadamist_night_god_name_possessive + TricksterGodName = theoadamist_trickster_god_name + TricksterGodNamePossessive = theoadamist_trickster_god_name_possessive + DevilName = theoadamist_devil_name + DevilNamePossessive = theoadamist_devil_name_possessive + WitchGodName = theoadamist_witch_god_name + WitchGodNamePossessive = theoadamist_witch_god_name_possessive + DeathDeityName = theoadamist_death_name + DeathDeityNamePossessive = theoadamist_death_name_possessive + + GoodGodNames = { + theoadamist_high_god_name + theoadamist_high_god_name_alternate + theoadamist_creator_god_name + theoadamist_fertility_god_name + theoadamist_household_god_name + } + EvilGodNames = { + theoadamist_devil_name + theoadamist_trickster_god_name + } + + HouseOfWorship = theoadamist_house_of_worship + HouseOfWorshipPlural = theoadamist_house_of_worship_plural + ReligiousSymbol = theoadamist_religious_symbol + ReligiousText = theoadamist_religious_text + ReligiousHeadName = theoadamist_religious_head_title + ReligiousHeadNameFemale = theoadamist_religious_head_title_female + ReligiousHeadTitleName = theoadamist_religious_head_title_name + + DevoteeMale = theoadamist_devotee_male + DevoteeMalePlural = theoadamist_devotee_male_plural + DevoteeFemale = theoadamist_devotee_female + DevoteeFemalePlural = theoadamist_devotee_female_plural + DevoteeNeuter = theoadamist_devotee + DevoteeNeuterPlural = theoadamist_devotee_plural + PriestMale = theoadamist_priest_male + PriestMalePlural = theoadamist_priest_male_plural + PriestFemale = theoadamist_priest_female + PriestFemalePlural = theoadamist_priest_female_plural + PriestNeuter = theoadamist_priest + PriestNeuterPlural = theoadamist_priest_plural + AltPriestTermPlural = theoadamist_priest_alternate_plural + BishopMale = theoadamist_bishop + BishopMalePlural = theoadamist_bishop_plural + BishopFemale = theoadamist_bishop + BishopFemalePlural = theoadamist_bishop_plural + BishopNeuter = theoadamist_bishop + BishopNeuterPlural = theoadamist_bishop_plural + + DivineRealm = theoadamist_divinerealm + DivineRealm2 = theoadamist_divinerealm_2 + DivineRealm3 = theoadamist_divinerealm_3 + PositiveAfterLife = theoadamist_positive_afterlife + PositiveAfterLife2 = theoadamist_positive_afterlife_2 + PositiveAfterLife3 = theoadamist_positive_afterlife_3 + NegativeAfterLife = theoadamist_negative_afterlife + NegativeAfterLife2 = theoadamist_negative_afterlife_2 + NegativeAfterLife3 = theoadamist_negative_afterlife_3 + } +} diff --git a/common/religion/religion_types/NEOW_orthodox.txt b/common/religion/religion_types/NEOW_orthodox.txt index 2457fb3b3..f38ac96b6 100644 --- a/common/religion/religion_types/NEOW_orthodox.txt +++ b/common/religion/religion_types/NEOW_orthodox.txt @@ -54,6 +54,7 @@ #Coronation tradition doctrine = doctrine_imperial_anointment doctrine = doctrine_scriptural + special_doctrine_is_eastern_christian_faith traits = { virtues = { diff --git a/common/religion/rite_types/NEOW_rites_theoadamist.txt b/common/religion/rite_types/NEOW_rites_theoadamist.txt new file mode 100644 index 000000000..df49c5fbe --- /dev/null +++ b/common/religion/rite_types/NEOW_rites_theoadamist.txt @@ -0,0 +1,37 @@ + +theoadamist_rite = { + name = theoadamist_rite + desc = theoadamist_rite_desc + faith = theoadamist_faith + convert = no + + color = { 222 167 72 } + icon = christianity_ichthys_01 + + tenets = { + tenet_ritual_celebrations + tenet_custodianship + } + tenet_selection_pair = { + requires_dlc_flag = by_god_alone + tenet = tenet_be_fruitful_and_multiply + fallback_tenet = tenet_sacred_childbirth + } + + doctrines = { + doctrine_gender_equal + doctrine_divorce_allowed + doctrine_pluralism_fundamentalist + doctrine_temporal_head + doctrine_theocracy_lay_clergy + doctrine_clerical_marriage_allowed + doctrine_clerical_gender_either + doctrine_clerical_succession_temporal_fixed_appointment + doctrine_consanguinity_unrestricted + doctrine_clerical_function_alms_and_pacification + doctrine_no_anointment + doctrine_monasticism_absent + special_doctrine_true_orthodox + special_doctrine_banner_default + } +} diff --git a/common/scripted_triggers/pam_heresy_triggers.txt b/common/scripted_triggers/pam_heresy_triggers.txt index 40b522608..44bf27964 100644 --- a/common/scripted_triggers/pam_heresy_triggers.txt +++ b/common/scripted_triggers/pam_heresy_triggers.txt @@ -21,6 +21,75 @@ pam_heresy_c2_main_rite_dominant_trigger = { main_rite.rite_counties >= pam_heresy_c2_main_rite_share_required_value } +# NEOW: post-Event Orthodox heresies use the existing monthly low-fervor +# Component 3 pulse. They share the same candidate rules, but each has its +# own 50-year global cooldown. Old pre-Event heresies stay disabled. +pam_heresy_c3_eligible_trigger = { + OR = { + pam_heresy_theoadamist_eligible_trigger = yes + pam_heresy_marblist_eligible_trigger = yes + pam_heresy_elysian_eligible_trigger = yes + } +} + +# All three may emerge from Eastern Orthodox faiths. Marblism may originate +# under either AI or player rulers; the other two use eligible AI founders. +pam_heresy_theoadamist_eligible_trigger = { + religion = religion:eastern_orthodox_religion + this != faith:theoadamist_faith + num_county_followers > 0 + NOT = { exists = global_var:pam_heresy_theoadamist_cooldown } + any_faith_ruler = { pam_heresy_neow_epicenter_trigger = yes } +} + +pam_heresy_marblist_eligible_trigger = { + religion = religion:eastern_orthodox_religion + this != faith:marblist + num_county_followers > 0 + NOT = { exists = global_var:pam_heresy_marblist_cooldown } + # No geographic requirement: any landed adult ruler of the source faith, + # including the player, can host the preacher Konstantinos. + any_faith_ruler = { pam_heresy_marblist_epicenter_trigger = yes } +} + +pam_heresy_elysian_eligible_trigger = { + religion = religion:eastern_orthodox_religion + this != faith:elysian + num_county_followers > 0 + NOT = { exists = global_var:pam_heresy_elysian_cooldown } + any_faith_ruler = { pam_heresy_neow_epicenter_trigger = yes } +} + +# Character scope: eligible AI adult landed count (or higher) whose position +# does not require being preserved as a clerical-region or HoF incumbent. +pam_heresy_neow_epicenter_trigger = { + is_ai = yes + is_landed = yes + highest_held_title_tier >= tier_county + exists = capital_county + is_adult = yes + NOT = { has_trait = heresiarch } + NOT = { has_character_flag = recently_converted_by_heresy } + NOT = { recently_converted_faith_trigger = yes } + NOT = { any_held_title = { has_clerical_region = yes } } + NOT = { any_held_title = { is_head_of_faith = yes } } +} + + +# Character scope: Marblist founder may be anywhere in the source faith, +# including a player-controlled realm (the player is offered a choice, not +# forcibly converted). +pam_heresy_marblist_epicenter_trigger = { + is_landed = yes + is_adult = yes + exists = capital_county +} + +# Compatibility alias for other event or scripted files using the old name. +pam_heresy_theoadamist_epicenter_trigger = { + pam_heresy_neow_epicenter_trigger = yes +} + #pam_heresy_c3_eligible_trigger = { # religion = religion:christianity_religion # pam_heresy_main_rite_substantial_trigger = yes diff --git a/events/dlc/pam/heresy/pam_heresy_historical_events.txt b/events/dlc/pam/heresy/pam_heresy_historical_events.txt index 178774eed..705530280 100644 --- a/events/dlc/pam/heresy/pam_heresy_historical_events.txt +++ b/events/dlc/pam/heresy/pam_heresy_historical_events.txt @@ -1 +1,525 @@ -# we can repopulate this if we want to make our own historical heresy outbreaks \ No newline at end of file +namespace = heresy_historical + +heresy_historical.0001 = { + hidden = yes + scope = faith + + immediate = { + save_scope_as = origin_faith + + if = { + limit = { + pam_heresy_theoadamist_eligible_trigger = yes + pam_heresy_marblist_eligible_trigger = yes + pam_heresy_elysian_eligible_trigger = yes + } + random_list = { + 100 = { faith:theoadamist_faith = { save_scope_as = heresy_faith } } + 100 = { faith:marblist = { save_scope_as = heresy_faith } } + 100 = { faith:elysian = { save_scope_as = heresy_faith } } + } + } + else_if = { + limit = { + pam_heresy_theoadamist_eligible_trigger = yes + pam_heresy_marblist_eligible_trigger = yes + } + random_list = { + 100 = { faith:theoadamist_faith = { save_scope_as = heresy_faith } } + 100 = { faith:marblist = { save_scope_as = heresy_faith } } + } + } + else_if = { + limit = { + pam_heresy_theoadamist_eligible_trigger = yes + pam_heresy_elysian_eligible_trigger = yes + } + random_list = { + 100 = { faith:theoadamist_faith = { save_scope_as = heresy_faith } } + 100 = { faith:elysian = { save_scope_as = heresy_faith } } + } + } + else_if = { + limit = { + pam_heresy_marblist_eligible_trigger = yes + pam_heresy_elysian_eligible_trigger = yes + } + random_list = { + 100 = { faith:marblist = { save_scope_as = heresy_faith } } + 100 = { faith:elysian = { save_scope_as = heresy_faith } } + } + } + else_if = { + limit = { + pam_heresy_theoadamist_eligible_trigger = yes + } + faith:theoadamist_faith = { save_scope_as = heresy_faith } + } + else_if = { + limit = { + pam_heresy_marblist_eligible_trigger = yes + } + faith:marblist = { save_scope_as = heresy_faith } + } + else_if = { + limit = { + pam_heresy_elysian_eligible_trigger = yes + } + faith:elysian = { save_scope_as = heresy_faith } + } + + if = { + limit = { exists = scope:heresy_faith } + if = { + limit = { scope:heresy_faith = { this = faith:marblist } } + random_faith_ruler = { + limit = { pam_heresy_marblist_epicenter_trigger = yes } + weight = { + base = 100 + modifier = { factor = 1.5 has_trait = zealous } + modifier = { factor = 1.5 has_trait = theologian } + } + save_scope_as = epicenter_ruler + save_scope_as = founder + capital_county = { save_scope_as = heresy_origin_county } + } + } + else = { + random_faith_ruler = { + limit = { pam_heresy_neow_epicenter_trigger = yes } + weight = { + base = 100 + modifier = { factor = 1.5 has_trait = zealous } + modifier = { factor = 1.5 has_trait = theologian } + modifier = { factor = 0.75 highest_held_title_tier >= tier_empire } + } + save_scope_as = epicenter_ruler + save_scope_as = founder + capital_county = { save_scope_as = heresy_origin_county } + } + } + + if = { + limit = { + exists = scope:epicenter_ruler + exists = scope:heresy_origin_county + } + + if = { + limit = { scope:heresy_faith = { this = faith:marblist } } + scope:epicenter_ruler = { + create_character = { + template = priest_character_template + name = "Konst_a_act_ntios" + gender = male + age = 38 + dynasty = none + employer = scope:epicenter_ruler + culture = culture:aromanian + faith = scope:heresy_faith + rite = scope:heresy_faith.main_rite + save_scope_as = founder + } + } + } + + scope:heresy_faith.main_rite = { set_can_convert_to_rite = yes } + if = { + limit = { scope:epicenter_ruler = { is_ai = yes } } + scope:epicenter_ruler = { + pam_heresy_convert_ruler_to_heresy_faith_effect = yes + if = { + limit = { NOT = { has_trait = heresiarch } } + add_trait = heresiarch + } + } + } + + if = { + limit = { + scope:heresy_faith = { this = faith:theoadamist_faith } + NOT = { exists = title:k_theoadamist_hof.holder } + } + create_title_and_vassal_change = { + type = created + save_scope_as = theoadamist_title_change + add_claim_on_loss = no + } + title:k_theoadamist_hof = { + change_title_holder = { + holder = scope:epicenter_ruler + change = scope:theoadamist_title_change + } + } + resolve_title_and_vassal_change = scope:theoadamist_title_change + } + + scope:heresy_origin_county = { + set_county_faith = scope:heresy_faith + every_neighboring_county = { + limit = { faith = scope:origin_faith } + set_county_faith = scope:heresy_faith + } + } + + scope:heresy_faith = { save_scope_as = c3_spread_owner } + scope:c3_spread_owner = { + set_variable = { + name = c3_spread_remaining_converts + value = pam_heresy_c3_spread_budget_base_value + } + } + trigger_event = { id = heresy_historical.0011 days = { 5 10 } } + + every_player = { + limit = { + faith = scope:origin_faith + } + if = { + limit = { scope:heresy_faith = { this = faith:theoadamist_faith } } + trigger_event = heresy_historical.0050 + } + else_if = { + limit = { scope:heresy_faith = { this = faith:marblist } } + trigger_event = heresy_historical.0051 + } + else_if = { + limit = { scope:heresy_faith = { this = faith:elysian } } + trigger_event = heresy_historical.0052 + } + } + + if = { + limit = { scope:heresy_faith = { this = faith:theoadamist_faith } } + set_global_variable = { + name = pam_heresy_theoadamist_cooldown + value = yes + years = 50 + } + } + else_if = { + limit = { scope:heresy_faith = { this = faith:marblist } } + set_global_variable = { + name = pam_heresy_marblist_cooldown + value = yes + years = 50 + } + } + else_if = { + limit = { scope:heresy_faith = { this = faith:elysian } } + set_global_variable = { + name = pam_heresy_elysian_cooldown + value = yes + years = 50 + } + } + pam_heresy_fervor_reset_effect = { COMPONENT = 3 } + } + } + } +} + +heresy_historical.0050 = { + type = character_event + window = big_event_window + title = neow_theoadamist_heresy.0050.t + desc = neow_theoadamist_heresy.0050.desc + major = yes + theme = christian + major_trigger = { faith = scope:origin_faith } + left_portrait = { + character = scope:founder + animation = preaching + camera = camera_event_right_forward + } + option = { + name = neow_theoadamist_heresy.0050.a + add_internal_flag = dangerous + trigger = { + NOR = { + faith.religious_head ?= this + rite.head_of_rite ?= this + } + } + set_character_faith_with_conversion = scope:heresy_faith + add_character_flag = { flag = recently_converted_by_heresy years = 10 } + change_spiritual_fulfillment = 20 + ai_chance = { base = 0 } + } + option = { + name = neow_theoadamist_heresy.0050.b + add_piety = medium_piety_gain + ai_chance = { base = 100 } + } +} + +heresy_historical.0051 = { + type = character_event + window = big_event_window + title = neow_marblist_heresy.0051.t + desc = neow_marblist_heresy.0051.desc + major = yes + theme = christian + major_trigger = { faith = scope:origin_faith } + left_portrait = { + character = scope:founder + animation = preaching + camera = camera_event_right_forward + } + option = { + name = neow_marblist_heresy.0051.a + add_internal_flag = dangerous + trigger = { + NOR = { + faith.religious_head ?= this + rite.head_of_rite ?= this + } + } + set_character_faith_with_conversion = scope:heresy_faith + add_character_flag = { flag = recently_converted_by_heresy years = 10 } + change_spiritual_fulfillment = 20 + ai_chance = { base = 0 } + } + option = { + name = neow_marblist_heresy.0051.b + add_piety = medium_piety_gain + ai_chance = { base = 100 } + } +} + +heresy_historical.0052 = { + type = character_event + window = big_event_window + title = neow_elysian_heresy.0052.t + desc = neow_elysian_heresy.0052.desc + major = yes + theme = christian + major_trigger = { faith = scope:origin_faith } + left_portrait = { + character = scope:founder + animation = preaching + camera = camera_event_right_forward + } + option = { + name = neow_elysian_heresy.0052.a + add_internal_flag = dangerous + trigger = { + NOR = { + faith.religious_head ?= this + rite.head_of_rite ?= this + } + } + set_character_faith_with_conversion = scope:heresy_faith + add_character_flag = { flag = recently_converted_by_heresy years = 10 } + change_spiritual_fulfillment = 20 + ai_chance = { base = 0 } + } + option = { + name = neow_elysian_heresy.0052.b + add_piety = medium_piety_gain + ai_chance = { base = 100 } + } +} + +heresy_historical.0011 = { + hidden = yes + scope = faith + + trigger = { + exists = scope:origin_faith + exists = scope:heresy_faith + exists = scope:epicenter_ruler + exists = scope:heresy_origin_county + exists = scope:founder + exists = scope:c3_spread_owner + scope:c3_spread_owner = { + var:c3_spread_remaining_converts > 0 + } + } + + immediate = { + clear_saved_scope = convert_ruler + + scope:origin_faith = { + random_faith_ruler = { + limit = { + is_physically_able_ai = yes + OR = { + AND = { + is_landed = yes + highest_held_title_tier >= tier_county + } + any_held_title = { has_clerical_region = yes } + } + NAND = { + scope:heresy_faith = { has_doctrine = doctrine_theocracy_lay_clergy } + any_held_title = { has_clerical_region = yes } + } + NOR = { + this = scope:founder + this = scope:epicenter_ruler + this = faith.religious_head + any_held_title = { is_head_of_faith = yes } + has_character_flag = recently_converted_by_heresy + recently_converted_faith_trigger = yes + } + exists = capital_county + OR = { + AND = { + faith = { has_doctrine_parameter = has_clerical_regions } + exists = capital_county.clerical_region_title + scope:heresy_origin_county.clerical_region_title ?= capital_county.clerical_region_title + } + capital_county = { + squared_distance = { + target = scope:heresy_origin_county + value <= squared_distance_small + } + } + } + } + + weight = { + base = 100 + + modifier = { + add = -40 + capital_county = { + squared_distance = { + target = scope:heresy_origin_county + value > squared_distance_small + } + } + } + + modifier = { + factor = 1.5 + culture = { has_same_culture_heritage = scope:epicenter_ruler.culture } + } + + modifier = { + factor = 0.4 + highest_held_title_tier >= tier_kingdom + } + + modifier = { + factor = 5 + any_held_title = { has_clerical_region = yes } + } + + modifier = { + factor = 3 + faith = { has_doctrine_parameter = has_clerical_regions } + exists = capital_county.clerical_region_title + scope:heresy_origin_county.clerical_region_title ?= capital_county.clerical_region_title + } + + modifier = { + factor = 1.5 + OR = { + has_trait = zealous + has_trait = lifestyle_mystic + has_trait = lifestyle_scholar + has_trait = theologian + } + } + + modifier = { + factor = 0.001 + OR = { + government_has_flag = government_is_nomadic + government_has_flag = government_is_herder + } + } + } + + save_scope_as = convert_ruler + } + } + + if = { + limit = { exists = scope:convert_ruler } + + if = { + limit = { + scope:heresy_faith = { pam_heresy_faith_is_pre_declaration_trigger = yes } + exists = scope:new_rite + } + scope:convert_ruler = { + pam_heresy_convert_ruler_to_new_rite_effect = yes + } + } + else = { + scope:convert_ruler = { + pam_heresy_convert_ruler_to_heresy_faith_effect = yes + } + } + + scope:c3_spread_owner = { + if = { + limit = { + scope:convert_ruler = { + highest_held_title_tier >= tier_kingdom + } + } + change_variable = { + name = c3_spread_remaining_converts + subtract = 4 + } + } + else_if = { + limit = { + scope:convert_ruler = { + highest_held_title_tier = tier_duchy + } + } + change_variable = { + name = c3_spread_remaining_converts + subtract = 2 + } + } + else = { + change_variable = { + name = c3_spread_remaining_converts + subtract = 1 + } + } + + if = { + limit = { var:c3_spread_remaining_converts <= 0 } + remove_variable = c3_spread_remaining_converts + } + } + if = { + limit = { + scope:c3_spread_owner = { has_variable = c3_spread_remaining_converts } + } + trigger_event = { + id = heresy_historical.0011 + days = { 5 12 } + } + } + + if = { + limit = { + trigger_if = { + limit = { + scope:heresy_faith = { pam_heresy_faith_is_pre_declaration_trigger = yes } + exists = scope:new_rite + } + scope:convert_ruler ?= { rite = scope:new_rite } + } + trigger_else = { + scope:convert_ruler ?= { faith = scope:heresy_faith } + } + } + pam_heresy_send_spread_message_effect = { TITLE = heresy_historical.spread.title } + } + } + else = { + scope:c3_spread_owner = { + remove_variable = c3_spread_remaining_converts + } + } + } +} diff --git a/events/dlc/pam/heresy/pam_heresy_pulse.txt b/events/dlc/pam/heresy/pam_heresy_pulse.txt index ac9151561..eabd998be 100644 --- a/events/dlc/pam/heresy/pam_heresy_pulse.txt +++ b/events/dlc/pam/heresy/pam_heresy_pulse.txt @@ -1,17 +1,5 @@ namespace = heresy_pulse -#################################################################### -# Heresy outbreak system - Router # -#################################################################### -# Faith pulse: faith_heresy_events_pulse runs once a month per faith and -# fires heresy_pulse.0001 when fervor is critically low. -# The router picks Component 1 (light divergence), 2 (dangerous new rite), or 3 (historical heresy, Christianity-only) -# using pluralism + Christian Situation phase weights, and sets the cooldown variable that gates re-runs. - -##################################### -# 0001 - Component selection router # -##################################### - heresy_pulse.0001 = { hidden = yes scope = faith @@ -20,7 +8,6 @@ heresy_pulse.0001 = { save_scope_as = origin_faith random_list = { - # Component 1 - light rite divergence (most common) 50 = { trigger = { any_faith_rite = { @@ -29,7 +16,6 @@ heresy_pulse.0001 = { head_of_rite ?= { is_ai = yes } } } - # Pluralism severity scaling modifier = { factor = 0.2 main_rite = { rite_has_parameter = pluralism_fundamentalist_vulnerable_to_heresy } @@ -44,13 +30,10 @@ heresy_pulse.0001 = { } } - # Component 2 - new dangerously divergent rite (rare) 20 = { - # Hard 60% main-rite share gate. trigger = { pam_heresy_c2_main_rite_dominant_trigger = yes } - # Pluralism severity scaling modifier = { factor = 1 main_rite = { rite_has_parameter = pluralism_fundamentalist_vulnerable_to_heresy } @@ -69,12 +52,10 @@ heresy_pulse.0001 = { } } - # Component 3 - historical heresy outbreak (Christianity-only) - 10 = { + 60 = { trigger = { pam_heresy_c3_eligible_trigger = yes } - # Pluralism severity scaling (C3 is the most pluralism-sensitive) modifier = { factor = 3 main_rite = { rite_has_parameter = pluralism_fundamentalist_vulnerable_to_heresy } diff --git a/history/characters/NEOW_e_greece.txt b/history/characters/NEOW_e_greece.txt index 3ae636290..052ca8283 100644 --- a/history/characters/NEOW_e_greece.txt +++ b/history/characters/NEOW_e_greece.txt @@ -1753,6 +1753,7 @@ cyprus0020 = { trait = organizer trait = holy_warrior trait = order_member + trait = cleric health = 6.5 prowess = 7 diplomacy = 1 diff --git a/localization/english/replace/religion/zz_NEOW_heresy_events_l_english.yml b/localization/english/replace/religion/zz_NEOW_heresy_events_l_english.yml new file mode 100644 index 000000000..1fd95fc3a --- /dev/null +++ b/localization/english/replace/religion/zz_NEOW_heresy_events_l_english.yml @@ -0,0 +1,15 @@ +l_english: + neow_theoadamist_heresy.0050.t:0 "The Flesh of God" + neow_theoadamist_heresy.0050.desc:0 "Word spreads of a new movement proclaiming that the [Concept('neow_the_event','Event')|E] was not a calamity, but the first Incarnation of God. Its adherents teach that Adam and Christ were the same man, who lived, fathered children, and died without suffering the Passion, for humanity had never fallen from grace. A ruler now claims descent from the God-Man and has been hailed as the Godheir of the Theoadamists. Rejecting all sacred history before the Event, the movement is gathering adherents throughout our lands." + neow_theoadamist_heresy.0050.a:0 "The Incarnation began a new age. I shall join them!" + neow_theoadamist_heresy.0050.b:0 "These teachings are blasphemy." + + neow_marblist_heresy.0051.t:0 "The Marble Emperor" + neow_marblist_heresy.0051.desc:0 "From the Greek lands comes word of a preacher named Konstantínos, who proclaims that the Marble Emperor sleeps still beneath Constantinople. By the will of Saint Michael, he declares, the Marmaroménos Vasiliás shall rise once more to restore the Roman Empire and defend the faithful. His preaching has won the support of a local ruler, and a new community of Marblists now gathers around the promise of the Emperor's return. Their teachings are spreading among the people." + neow_marblist_heresy.0051.a:0 "The Marble Emperor shall rise. I shall join them!" + neow_marblist_heresy.0051.b:0 "I will not follow these prophecies." + + neow_elysian_heresy.0052.t:0 "The Prisoners of Hades" + neow_elysian_heresy.0052.desc:0 "Word spreads of a movement teaching that the souls of the dead are held captive in Hades, where the Devil turns their restless shades against the living. Its preachers warn that only solemn funeral rites and prayers can appease the departed until the Heavenly Host descends to deliver them in the last days. A ruler has gathered followers around these teachings, promising that the faithful shall one day share in the paradise of the Elysian Fields. The movement is gaining adherents throughout our lands." + neow_elysian_heresy.0052.a:0 "We must bring peace to the departed. I shall join them!" + neow_elysian_heresy.0052.b:0 "I reject these teachings of Hades." diff --git a/localization/english/replace/religion/zz_NEOW_religion_orthodox_l_english.yml b/localization/english/replace/religion/zz_NEOW_religion_orthodox_l_english.yml index e43a35607..bad7001fb 100644 --- a/localization/english/replace/religion/zz_NEOW_religion_orthodox_l_english.yml +++ b/localization/english/replace/religion/zz_NEOW_religion_orthodox_l_english.yml @@ -371,3 +371,78 @@ neow_orthodox_catholic_church_adherent:0 "Orthodox Catholic" neow_orthodox_catholic_church_adherent_plural:0 "Orthodox Catholics" neow_orthodox_catholic_church_desc:0 "The Orthodox Catholic Church arose from the healing of the long schism between the Patriarchates of Constantinople and Moscow. In the centuries after [Glossary( 'the Cataclysm', 'CATACLYSM_GLOSS')], both communions had preserved the apostolic faith, yet they remained divided over the rightful first among equals of the Orthodox world. With the schism at last mended, the Church that secured reunion now presides over a restored Orthodox communion, proclaiming itself the Orthodox Catholic Church in witness to the unity and universality of the ancient faith. Its many rites retain their inherited liturgies and customs, while their faithful once more share ecclesiastical fellowship, though the memory of centuries of estrangement has not wholly faded." + + theoadamist_faith:0 "Theoadamism" + theoadamist_faith_adj:0 "Theoadamist" + theoadamist_faith_adherent:0 "Theoadamist" + theoadamist_faith_adherent_plural:0 "Theoadamists" + theoadamist_faith_desc:0 "The Theoadamists regard the [Concept('neow_the_event','Event')|E] not as divine punishment, but as the first Incarnation of God and the true beginning of sacred history. They teach that Adam and Jesus Christ were one and the same man, who entered the world so that humanity might attain perfect communion with its Creator. As mankind had never fallen from grace, there was no original sin to redeem, and thus no need for Christ to suffer the Passion. Instead, the God-Man lived a full earthly life, fathering children before dying a natural death. Claiming descent from this divine bloodline, the hereditary Godheir rules the faithful as the living heir of Christ himself. Rejecting all scriptures and traditions said to predate the Event, Theoadamists celebrate birth, marriage, and the joys of earthly life as expressions of God's union with mankind." + theoadamist_rite:0 "Theoadamic Rite" + theoadamist_rite_adj:0 "Theoadamic" + theoadamist_rite_adherent:0 "Theoadamist" + theoadamist_rite_adherent_plural:0 "Theoadamists" + theoadamist_rite_desc:0 "The Theoadamic Rite celebrates the [Concept('neow_the_event','Event')|E] as the hour when God first took human flesh. Its traditions honour the earthly life of Adam-Christ through marriage blessings, the welcoming of children, and communal feasts, each recalling the union of humanity with its Creator. Guided by their elders, the faithful uphold the testimony of the First Incarnation and recognise the Godheir as Christ's flesh-and-blood successor, while rejecting the authority of all scriptures and rites attributed to the world before the Event." + theoadamist_religious_head_title:0 "Godheir" + theoadamist_religious_head_title_female:0 "Godheir" + theoadamist_religious_head_title_name:0 "Divine Lineage" + theoadamist_pantheon:0 "the Sacred Lineage" + theoadamist_high_god_name:0 "Adam-Christ" + theoadamist_high_god_name_possessive:0 "Adam-Christ's" + theoadamist_high_god_name_alternate:0 "the Incarnate Word" + theoadamist_high_god_name_alternate_possessive:0 "the Incarnate Word's" + theoadamist_creator_god_name:0 "God" + theoadamist_creator_god_name_possessive:0 "God's" + theoadamist_health_god_name:0 "the Incarnate" + theoadamist_health_god_name_possessive:0 "the Incarnate's" + theoadamist_fertility_god_name:0 "Adam-Christ" + theoadamist_fertility_god_name_possessive:0 "Adam-Christ's" + theoadamist_wealth_god_name:0 "the Incarnate" + theoadamist_wealth_god_name_possessive:0 "the Incarnate's" + theoadamist_household_god_name:0 "Adam-Christ" + theoadamist_household_god_name_possessive:0 "Adam-Christ's" + theoadamist_fate_god_name:0 "the Incarnate Word" + theoadamist_fate_god_name_possessive:0 "the Incarnate Word's" + theoadamist_knowledge_god_name:0 "the Incarnate Word" + theoadamist_knowledge_god_name_possessive:0 "the Incarnate Word's" + theoadamist_war_god_name:0 "Adam-Christ" + theoadamist_war_god_name_possessive:0 "Adam-Christ's" + theoadamist_water_god_name:0 "Adam-Christ" + theoadamist_water_god_name_possessive:0 "Adam-Christ's" + theoadamist_night_god_name:0 "the Incarnate Word" + theoadamist_night_god_name_possessive:0 "the Incarnate Word's" + theoadamist_trickster_god_name:0 "the Liar" + theoadamist_trickster_god_name_possessive:0 "the Liar's" + theoadamist_devil_name:0 "the Liar" + theoadamist_devil_name_possessive:0 "the Liar's" + theoadamist_witch_god_name:0 "the Liar" + theoadamist_witch_god_name_possessive:0 "the Liar's" + theoadamist_death_name:0 "Death" + theoadamist_death_name_possessive:0 "Death's" + theoadamist_house_of_worship:0 "house of the Incarnation" + theoadamist_house_of_worship_plural:0 "houses of the Incarnation" + theoadamist_religious_symbol:0 "radiant fish" + theoadamist_religious_text:0 "Testament of the Incarnation" + theoadamist_devotee_male:0 "brother" + theoadamist_devotee_male_plural:0 "brothers" + theoadamist_devotee_female:0 "sister" + theoadamist_devotee_female_plural:0 "sisters" + theoadamist_devotee:0 "celebrant" + theoadamist_devotee_plural:0 "celebrants" + theoadamist_priest_male:0 "witness" + theoadamist_priest_male_plural:0 "witnesses" + theoadamist_priest_female:0 "witness" + theoadamist_priest_female_plural:0 "witnesses" + theoadamist_priest:0 "witness" + theoadamist_priest_plural:0 "witnesses" + theoadamist_priest_alternate_plural:0 "testifiers" + theoadamist_bishop:0 "elder" + theoadamist_bishop_plural:0 "elders" + theoadamist_divinerealm:0 "the Union of Flesh and Spirit" + theoadamist_divinerealm_2:0 "the Presence of the Incarnate" + theoadamist_divinerealm_3:0 "the Everlasting Communion" + theoadamist_positive_afterlife:0 "the Great Communion" + theoadamist_positive_afterlife_2:0 "the Great Feast" + theoadamist_positive_afterlife_3:0 "the Everlasting Union" + theoadamist_negative_afterlife:0 "the Outer Silence" + theoadamist_negative_afterlife_2:0 "Estrangement" + theoadamist_negative_afterlife_3:0 "the Forgetting" diff --git a/localization/english/replace/zz_NEOW_titles_l_english.yml b/localization/english/replace/zz_NEOW_titles_l_english.yml index 2e58d26b4..e5881e027 100644 --- a/localization/english/replace/zz_NEOW_titles_l_english.yml +++ b/localization/english/replace/zz_NEOW_titles_l_english.yml @@ -17985,6 +17985,9 @@ k_orthodox_article:0 "the " k_orthodox:0 "Ecumenical Patriarchate" k_orthodox_adj:0 "Patriarchal" + k_theoadamist_hof_article:0 "the " + k_theoadamist_hof:0 "Kingdom of Adam" + k_theoadamist_hof_adj:0 "Theoadamist" k_russian_orthodox_article:0 "the " k_russian_orthodox:0 "Patriarchate of Moscow" k_russian_orthodox_adj:0 "Patriarchal"