From fcb95ce5da36fefce911b8b5b054dfdf22df56ec Mon Sep 17 00:00:00 2001
From: Mylen Ploa <mylen.ploa@abyssmail.com>
Date: Fri, 15 Sep 2023 19:05:27 -0700
Subject: [PATCH 01/10] Add decision to customize tenets Add phylanx MaA (no
 art) Update some MaA to not be worse than regional Add ability to turn in
 bloodline events early via the book

---
 .../innovations/00_regula_innovations.txt     | 26 +++++-
 .../decisions/regula_traditions_decision.txt  | 48 +++++++++-
 .../regula_accolade_maa_types.txt             | 10 +--
 .../men_at_arms_types/regula_maa_types.txt    | 52 ++++++++++-
 .../regula_religious_proclamation_effects.txt | 13 +++
 .../regula_bloodline_triggers.txt             | 90 +++++++++++++++++++
 ...regula_religious_proclamation_triggers.txt | 17 ++++
 .../decisions/regula_decisions_l_english.yml  |  8 ++
 .../regula_tradition_events_l_english.yml     | 24 +++++
 .../english/regula_culture_l_english.yml      |  6 +-
 .../english/regula_regiment_l_english.yml     |  9 +-
 11 files changed, 284 insertions(+), 19 deletions(-)
 create mode 100644 Regula_Magistri/common/scripted_effects/regula_religious_proclamation_effects.txt
 create mode 100644 Regula_Magistri/common/scripted_triggers/regula_bloodline_triggers.txt
 create mode 100644 Regula_Magistri/common/scripted_triggers/regula_religious_proclamation_triggers.txt

diff --git a/Regula_Magistri/common/culture/innovations/00_regula_innovations.txt b/Regula_Magistri/common/culture/innovations/00_regula_innovations.txt
index b80014bc..5174a79f 100644
--- a/Regula_Magistri/common/culture/innovations/00_regula_innovations.txt
+++ b/Regula_Magistri/common/culture/innovations/00_regula_innovations.txt
@@ -10,7 +10,7 @@ innovation_regula_virgo_training = {
 	icon = @virgo
 
 	potential = {
-		has_cultural_tradition = tradition_magistri_submission
+		has_cultural_tradition = tradition_famuli_warriors
 	}
 
 	can_progress = {
@@ -30,7 +30,7 @@ innovation_regula_toxotai = {
 	icon = @toxotai
 
 	potential = {
-		has_cultural_tradition = tradition_magistri_submission
+		has_cultural_tradition = tradition_famuli_warriors
 	}
 
 	can_progress = {
@@ -51,7 +51,7 @@ innovation_regula_valkyries = {
 	icon = @valkyries
 
 	potential = {
-		has_cultural_tradition = tradition_magistri_submission
+		has_cultural_tradition = tradition_famuli_warriors
 	}
 
 	can_progress = {
@@ -64,3 +64,23 @@ innovation_regula_valkyries = {
 	flag = early_mediaval_era_regional
 	flag = global_maa
 }
+
+innovation_regula_phylanx = {
+	group = culture_group_military
+	culture_era = culture_era_high_medieval
+	icon = @valkyries
+
+	potential = {
+		has_cultural_tradition = tradition_famuli_warriors
+	}
+
+	can_progress = {
+		has_cultural_pillar = martial_custom_regula
+	}
+
+	custom = reg_unlock_phylanx_innovation_tooltip
+
+	flag = global_regular
+	flag = high_mediaval_era_regular
+	flag = global_maa
+}
\ No newline at end of file
diff --git a/Regula_Magistri/common/decisions/regula_traditions_decision.txt b/Regula_Magistri/common/decisions/regula_traditions_decision.txt
index efc25bed..2d59e4fe 100644
--- a/Regula_Magistri/common/decisions/regula_traditions_decision.txt
+++ b/Regula_Magistri/common/decisions/regula_traditions_decision.txt
@@ -57,7 +57,7 @@
 	confirm_text = regula_adopt_martial_custom_decision.a
 
 	ai_potential = {
-		always = yes
+		always = no
 	}
 
 	ai_will_do = {
@@ -104,7 +104,51 @@ regula_adopt_submission_decision = {
 	confirm_text = regula_adopt_martial_custom_decision.a
 
 	ai_potential = {
-		always = yes
+		always = no
+	}
+
+	ai_will_do = {
+		base = 0
+	}
+}
+
+
+regula_religious_proclamation_decision = {
+	ai_check_interval = 0
+	major = yes
+
+	title = regula_religious_proclamation_decision.t
+	desc = regula_religious_proclamation_decision.desc
+	picture = "gfx/interface/illustrations/decisions/regula_initialize_decision.dds"
+	selection_tooltip = regula_religious_proclamation_decision_tooltip
+
+	cooldown = { years = 100 }
+
+	is_shown = {
+		this = global_var:magister_character
+	}
+
+	is_valid = {
+		piety_level >= 3
+	}
+
+	is_valid_showing_failures_only = {
+		is_available_adult = yes
+	}
+
+	cost = {
+		piety = 10000
+	}
+
+	effect = {
+		custom_tooltip = "regula_religious_proclamation_tooltip_effect"
+		trigger_event = regula_tradition.1010
+	}
+
+	confirm_text = regula_religious_proclamation_decision.a
+
+	ai_potential = {
+		always = no
 	}
 
 	ai_will_do = {
diff --git a/Regula_Magistri/common/men_at_arms_types/regula_accolade_maa_types.txt b/Regula_Magistri/common/men_at_arms_types/regula_accolade_maa_types.txt
index a732ba71..6f9aa42a 100644
--- a/Regula_Magistri/common/men_at_arms_types/regula_accolade_maa_types.txt
+++ b/Regula_Magistri/common/men_at_arms_types/regula_accolade_maa_types.txt
@@ -97,10 +97,10 @@ accolade_maa_hastati = {
 		regula_maa_allowed_trigger = yes
 	}
 
-	damage = 32
-	toughness = 30
+	damage = 47
+	toughness = 27
 	pursuit = 0
-	screen = 0
+	screen = 5
 
 	terrain_bonus = {
 		mountains = { toughness = 24 }
@@ -187,7 +187,7 @@ accolade_maa_sacerdos = {
 
 	damage = 47
 	toughness = 35
-	pursuit = 0
+	pursuit = 5
 	screen = 0
 
 	counters = {
@@ -268,7 +268,7 @@ accolade_maa_virgo = {  # Upgraded version reserved for the magister only!
 
 	damage = 58
 	toughness = 46
-	pursuit = 0
+	pursuit = 5
 	screen = 24
 
 	counters = {
diff --git a/Regula_Magistri/common/men_at_arms_types/regula_maa_types.txt b/Regula_Magistri/common/men_at_arms_types/regula_maa_types.txt
index 7fcda19d..43ed015d 100644
--- a/Regula_Magistri/common/men_at_arms_types/regula_maa_types.txt
+++ b/Regula_Magistri/common/men_at_arms_types/regula_maa_types.txt
@@ -223,7 +223,10 @@ sacerdos = { # Heavy Infantry (Used by Regula Holy Order)
 	}
 
 	stack = 100
-	ai_quality = { value = 300 }	# AI should weigh this highly as only Regula rulers should be able to use them
+	ai_quality = { 
+		value = 300
+		value = counter_synergy_ai_weight_heavy_infantry
+ 	}	# AI should weigh this highly as only Regula rulers should be able to use them
 }
 
 virgo = { # Royal House Guard
@@ -231,7 +234,9 @@ virgo = { # Royal House Guard
 	icon = virgo
 
 	can_recruit = {
-		culture = { has_innovation = innovation_regula_virgo_training }
+		culture = {
+			has_innovation = innovation_regula_virgo_training
+		}
 		OR = {
 			AND = {  # Magister gets for free by default unless should get the upgraded version
 				NOT = {
@@ -282,11 +287,12 @@ virgo = { # Royal House Guard
 }
 
 valkyrie = { # Northern Light Infantry
-	type = skirmishers
+	type = heavy_infantry
 	icon = valkyrie
 
 	can_recruit = {
-		culture = { has_innovation = innovation_regula_valkyries}
+		regula_maa_allowed_trigger = yes
+		culture = { has_innovation = innovation_regula_valkyries }
 	}
 
 	damage = 18
@@ -321,6 +327,44 @@ valkyrie = { # Northern Light Infantry
 	ai_quality = { value = 300 }	# AI should weigh this highly as only Regula rulers should be able to use them
 }
 
+phylanx = { # Pikemen
+	type = pikemen
+	icon = hastati
+
+	can_recruit = {
+		regula_maa_allowed_trigger = yes
+		culture = { has_innovation = innovation_regula_phylanx }
+	}
+
+	damage = 42
+	toughness = 22
+	pursuit = 0
+	screen = 0
+
+	terrain_bonus = {
+		mountains = { toughness = 12 }
+		desert_mountains = { toughness = 12 }
+		hills = { toughness = 8 }
+	}
+
+	counters = {
+		light_cavalry = 1
+		heavy_cavalry = 1
+		camel_cavalry = 1
+		elephant_cavalry = 1
+	}
+
+	buy_cost = { gold = hastati_recruitment_cost }
+	low_maintenance_cost = { gold = hastati_low_maint_cost }
+	high_maintenance_cost = { gold = hastati_high_maint_cost }
+
+	stack = 100
+	ai_quality = {
+		value = 300
+		value = counter_synergy_ai_weight_pikemen
+	}	# AI should weigh this highly as only Regula rulers should be able to use them
+}
+
 toxotai = { # Archer Cavalry
 	type = archer_cavalry
 	icon = toxotai
diff --git a/Regula_Magistri/common/scripted_effects/regula_religious_proclamation_effects.txt b/Regula_Magistri/common/scripted_effects/regula_religious_proclamation_effects.txt
new file mode 100644
index 00000000..489e1094
--- /dev/null
+++ b/Regula_Magistri/common/scripted_effects/regula_religious_proclamation_effects.txt
@@ -0,0 +1,13 @@
+regula_religious_proclamation_tenet_count_decrease = {
+	change_global_variable = {
+		name = regula_religious_tenet_count
+		subtract=1
+	}
+}
+
+regula_religious_proclamation_tenet_count_decrease = {
+	change_global_variable = {
+		name = regula_religious_tenet_count
+		add=1
+	}
+}
\ No newline at end of file
diff --git a/Regula_Magistri/common/scripted_triggers/regula_bloodline_triggers.txt b/Regula_Magistri/common/scripted_triggers/regula_bloodline_triggers.txt
new file mode 100644
index 00000000..3d75e63d
--- /dev/null
+++ b/Regula_Magistri/common/scripted_triggers/regula_bloodline_triggers.txt
@@ -0,0 +1,90 @@
+regula_potestas_queen_bloodline_met = {
+	OR = {
+		AND = {
+			has_game_rule = regula_bloodline_tally_goals_single_life
+			global_var:regula_potestas_queen_tally >= regula_potestas_queen_tally_goal
+		}
+		AND = {
+			has_game_rule = regula_bloodline_tally_goals_cumulative
+			global_var:regula_potestas_queen_tally >= regula_potestas_queen_tally_goal_cumulative
+		}
+	}
+}
+
+regula_servitude_war_bloodline_met = {
+	OR = {
+		AND = {
+			has_game_rule = regula_bloodline_tally_goals_single_life
+			global_var:regula_servitude_war_tally >= regula_servitude_war_tally_goal
+		}
+		AND = {
+			has_game_rule = regula_bloodline_tally_goals_cumulative
+			global_var:regula_servitude_war_tally >= regula_servitude_war_tally_goal_cumulative
+		}
+	}
+}
+
+regula_domination_war_bloodline_met = {
+	OR = {
+		AND = {
+			has_game_rule = regula_bloodline_tally_goals_single_life
+			global_var:regula_domination_war_tally >= regula_domination_war_tally_goal
+		}
+		AND = {
+			has_game_rule = regula_bloodline_tally_goals_cumulative
+			global_var:regula_domination_war_tally >= regula_domination_war_tally_goal_cumulative
+		}
+	}
+}
+
+regula_contubernalis_bloodline_met = {
+	OR = {
+		AND = {
+			has_game_rule = regula_bloodline_tally_goals_single_life
+			global_var:regula_contubernalis_tally >= regula_contubernalis_tally_goal
+		}
+		AND = {
+			has_game_rule = regula_bloodline_tally_goals_cumulative
+			global_var:regula_contubernalis_tally >= regula_contubernalis_tally_goal_cumulative
+		}
+	}
+}
+
+regula_domitans_bloodline_met = {
+	OR = {
+		AND = {
+			has_game_rule = regula_bloodline_tally_goals_single_life
+			global_var:regula_domitans_tally >= regula_domitans_tally_goal
+		}
+		AND = {
+			has_game_rule = regula_bloodline_tally_goals_cumulative
+			global_var:regula_domitans_tally >= regula_domitans_tally_goal_cumulative
+		}
+	}
+}
+
+regula_fascinare_bloodline_met = {
+	OR = {
+		AND = {
+			has_game_rule = regula_bloodline_tally_goals_single_life
+			global_var:regula_fascinare_tally >= regula_fascinare_tally_goal
+		}
+		AND = {
+			has_game_rule = regula_bloodline_tally_goals_cumulative
+			global_var:regula_fascinare_tally >= regula_fascinare_tally_goal_cumulative
+		}
+	}
+}
+
+regula_obedience_bloodline_met = {
+	OR = {
+		AND = {
+			has_game_rule = regula_bloodline_tally_goals_single_life
+			global_var:regula_obedience_tally >= regula_obedience_tally_goal
+		}
+		AND = {
+			has_game_rule = regula_bloodline_tally_goals_cumulative
+			global_var:regula_obedience_tally >= regula_obedience_tally_goal_cumulative
+		}
+	}
+}
\ No newline at end of file
diff --git a/Regula_Magistri/common/scripted_triggers/regula_religious_proclamation_triggers.txt b/Regula_Magistri/common/scripted_triggers/regula_religious_proclamation_triggers.txt
new file mode 100644
index 00000000..9437b071
--- /dev/null
+++ b/Regula_Magistri/common/scripted_triggers/regula_religious_proclamation_triggers.txt
@@ -0,0 +1,17 @@
+regula_religious_proclamation_can_add_tenet = {
+	or = {
+		global_var:magister_character.faith = {
+			has_doctrine = $TENET$
+		}
+		global_var:regula_religious_tenet_count < 3
+	}
+}
+
+regula_religious_proclamation_show_unavailable = {
+	NOT = {
+		global_var:magister_character.faith = {
+			has_doctrine = $TENET$
+		}
+	}
+	global_var:regula_religious_tenet_count > 3
+}
\ No newline at end of file
diff --git a/Regula_Magistri/localization/english/decisions/regula_decisions_l_english.yml b/Regula_Magistri/localization/english/decisions/regula_decisions_l_english.yml
index e643ecfd..c255c26c 100644
--- a/Regula_Magistri/localization/english/decisions/regula_decisions_l_english.yml
+++ b/Regula_Magistri/localization/english/decisions/regula_decisions_l_english.yml
@@ -132,3 +132,11 @@
   activity_regula_orgy_desc:1 "Those in your power have been called together for your sexual gratification. The energy generated as they fuck will rejuvenate you and cleanse all involved."
   I_HAVE_FEWER_THAN_6_CONCUBINES:0 "A proper orgy requires a crowd. You need at least six paelex or domina."
   regula_throw_orgy_decision_cooldown:0 "I will be unable to throw another orgy for #N 5 years#!"
+
+  # Religious Proclamation
+  regula_religious_proclamation_decision.t:0 "Religious Proclamation"
+  regula_religious_proclamation_decision.desc:0 "Declare or retract a tenet all famuli should follow"
+  regula_religious_proclamation_decision_tooltip:0 "Declare or retract a tenet all famuli should follow"
+  regula_religious_proclamation_decision.a:0 "Summon the faithful"
+  regula_religious_proclamation_tooltip_effect: 0 "This will allow you to customize the Regula Faith"
+  regula_religious_proclamation_decision_cooldown:0 "A core tenet cannot be changed again for #N 100 years#!"
\ No newline at end of file
diff --git a/Regula_Magistri/localization/english/event_localization/regula_tradition_events_l_english.yml b/Regula_Magistri/localization/english/event_localization/regula_tradition_events_l_english.yml
index 027601f6..8c5d366c 100644
--- a/Regula_Magistri/localization/english/event_localization/regula_tradition_events_l_english.yml
+++ b/Regula_Magistri/localization/english/event_localization/regula_tradition_events_l_english.yml
@@ -7,3 +7,27 @@
   regula_tradition.1002.t:0 "Magistri Submission"
 	regula_tradition.1002.desc:0 "Under the Regula Magistri's guidance, this land has become obsessed with servitude and submission towards their masters.\n\nThe population has become accustomed to obeying the every whim of their masters, and this includes the lust now prevelant in the land. The people act more passively, and your vassals are less likely to wage war or oppose your demands.\n\nThis naive trust placed in their betters has not come with just benefits unfortunately. Their willpower and decision making, whether it be at home or in battle, has suffered due to their reliance on their overlords."
   regula_tradition.1002.a:0 "Great"
+  # Religious Proclamation
+  regula_tradition.1010.t:0 "Religious Proclamation"
+	regula_tradition.1010.desc:0 "With the authority of the Magister, the faithful are instructed on the truth of this world."
+  regula_tradition.1010.a:0 "Identity"
+  regula_tradition.1010.b:0 "War"
+  regula_tradition.1010.c:0 "Nature"
+  regula_tradition.1010.d:0 "Faith"
+  regula_tradition.1010.next:0 "More -->"
+  regula_tradition.1010.back:0 "<-- More"
+  regula_tradition.1010.return:0 "Back (Another Category)"
+  regula_tradition.1010.megaliths:0 "Megalithic Constructions"
+  regula_tradition.1010.sanctity_of_nature:0 "Sanctity of Nature"
+  regula_tradition.1010.redoubts:0 "Cthonic Redoubts"
+  regula_tradition.1010.pacifism:0 "Pacifism"
+  regula_tradition.1010.pursuit_of_power:0 "Pursuit of Power"
+  regula_tradition.1010.struggle_submission:0 "Struggle and Submission"
+  regula_tradition.1010.warmonger:0 "Warmonger"
+  regula_tradition.1010.communal_identity:0 "Communal Identity"
+  regula_tradition.1010.sacred_lies:0 "Sacred Lies"
+  regula_tradition.1010.childbirth:0 "Sacred Childbirth"
+  regula_tradition.1010.naked:0 "Natural Primitivism"
+  regula_tradition.1010.birthright:0 "Auspicious Birthright"
+  regula_tradition.1010.reincarnation:0 "Reincarnation"
+  regula_tradition.1010.carnal:0 "Carnal Exaltation"
\ No newline at end of file
diff --git a/Regula_Magistri/localization/english/regula_culture_l_english.yml b/Regula_Magistri/localization/english/regula_culture_l_english.yml
index 39f67ffc..2dda454e 100644
--- a/Regula_Magistri/localization/english/regula_culture_l_english.yml
+++ b/Regula_Magistri/localization/english/regula_culture_l_english.yml
@@ -34,10 +34,12 @@
 # Regula Innovations #
  # TRIBAL ERA #
  innovation_regula_virgo_training:0 "Virgo Training"
- innovation_regula_virgo_training_desc:0 "By the Magisters will, temples across the land have begun to train young girls from birth to serve as warriors and bed-warmers to the Magister. They will exist only to act on the Magisters will and to enforce it on others.\n\nFew of these girls will ever see a man before they meet the Magister, and their virginity is tightly guarded until the day they enter the Magister service."
+ innovation_regula_virgo_training_desc:0 "By the Magisters will, temples across the land have begun to train young girls from birth to serve as warriors and bed-warmers to the Magister. They will exist only to act on the Magisters will and to enforce it on others.\n\nFew of these girls will ever see a man before they meet the Magister, and their virginity is tightly guarded until the day they enter the Magister service.\n\nEnables:\n  $EFFECT_LIST_BULLET$[GetMaA('virgo').GetName]"
 
  # Early Medieval
  innovation_regula_valkyries:0 "Regula Valkyries"
- innovation_regula_valkyries_desc:0 "The Nordic kingdoms are one of the few realms that allow their women to fight alongside their men. Having conquered their lands, the Magister reshapes the minds of its inhabitants, easily adding the enslaved shieldmaidens into his service. Their existing martial skills, coupled with their new found loyalty make them a considerable addition to the Magisters forces."
+ innovation_regula_valkyries_desc:0 "The Nordic kingdoms are one of the few realms that allow their women to fight alongside their men. Having conquered their lands, the Magister reshapes the minds of its inhabitants, easily adding the enslaved shieldmaidens into his service. Their existing martial skills, coupled with their new found loyalty make them a considerable addition to the Magisters forces.\n\nEnables:\n  $EFFECT_LIST_BULLET$[GetMaA('valkyrie').GetName]"
  innovation_regula_toxotai:0 "Regula Toxotai"
  innovation_regula_toxotai_desc:0 "The Magister has enslaved many of the nomads who roam across Asia, bringing them into his service. The wives and daughters of the nomadic horse-archers turn against their own family, charmed by the Magister to serve in his name instead. Their skill at riding on horse-back while raining down arrows on their foes is an excellant skill, the bane of many conventional army formations."
+ innovation_regula_phylanx:0 "Regula Phylanx"
+ innovation_regula_phylanx_desc:0 "Through years of combot, veteran virgo have come to appreciate the advantages of the spear when voyaging in the Magister's name. Greater reach and protection from enemy forces combined with experience allows the Phylanx to form the core of any battle formation.\n\nEnables:\n  $EFFECT_LIST_BULLET$[GetMaA('phylanx').GetName]"
\ No newline at end of file
diff --git a/Regula_Magistri/localization/english/regula_regiment_l_english.yml b/Regula_Magistri/localization/english/regula_regiment_l_english.yml
index d1fe6b99..f33ee2ce 100644
--- a/Regula_Magistri/localization/english/regula_regiment_l_english.yml
+++ b/Regula_Magistri/localization/english/regula_regiment_l_english.yml
@@ -8,6 +8,7 @@
  sacerdos:0 "Sacerdos"
  virgo:0 "Virgo"
  valkyrie:0 "Valkyries"
+ phylanx:0 "Phylanx"
  toxotai:0 "Toxotai"
  accolade_maa_pedites:0 "Limitanei"
  accolade_maa_hastati:0 "Triarii"
@@ -26,6 +27,7 @@
  sacerdos_flavor:0 "#F The Famuli Sacerdos conquer all those in their path with holy fury, turning the women they capture into more Famuli for their cause.#!"
  virgo_flavor:0 "#F The Virgo are chosen to personally guard the household of the Magister. Raised from birth in secluded temples across the realm, they are trained in combat and household matters to ensure their worth as both guards and servants. #!"
  valkyrie_flavor:0 "#F Nordic warriors at the service of the Magister"
+ phylanx_flavor:0 "#F Veteran Spear Virgo at the service of the Magister"
  toxotai_flavor:0 "#F Trained since childhood in the art of riding and archery, the Toxotai harass the Magister's enemies, retreating before suffering casualties."
 
  accolade_maa_pedites_flavor:0 "#F Limitanei are professional soldiers stationed on the frontier. They are used to travel with light equipment in order to rapidly respond to situations on the battefieldgit.#!"
@@ -43,6 +45,9 @@
  clibanarii_lowercase:0 "clibanarii"
  sacerdos_lowercase:0 "sacerdos"
  virgo_lowercase:0 "virgo"
+ phylanx_lowercase:0 "phylanx"
+ valkyrie_lowercase:0 "valkyries"
+ toxotai_lowercase:0 "toxotai"
 
  accolade_maa_pedites_lowercase:0 "limitanei"
  accolade_maa_hastati_lowercase:0 "triarii"
@@ -67,10 +72,8 @@
  reg_accolade_maa_elephantiers:0 "$EFFECT_LIST_BULLET$Can recruit [GetMaA('accolade_maa_elephantiers').GetName] as [men_at_arms|E] (Primary Attribute Only)"
  reg_accolade_horse_archers:0 "$EFFECT_LIST_BULLET$Can recruit [GetMaA('accolade_maa_horse_archers').GetName] as [men_at_arms|E] (Primary Attribute Only)"
 
- valkyrie_lowercase:0 "valkyries"
- toxotai_lowercase:0 "toxotai"
-
  # Custom Tooltip
  reg_unlock_virgo_innovation_tooltip:0 "Can recruit [GetMaA('virgo').GetName] as [men_at_arms|E]"
  reg_unlock_toxotai_innovation_tooltip:0 "Can recruit [GetMaA('toxotai').GetName] as [men_at_arms|E]"
  reg_unlock_valkyries_innovation_tooltip:0 "Can recruit [GetMaA('valkyrie').GetName] as [men_at_arms|E]"
+ reg_unlock_phylanx_innovation_tooltip:0 "Can recruit [GetMaA('phylanx').GetName] as [men_at_arms|E]"
\ No newline at end of file
-- 
GitLab


From b7a55a53a46aa69bf0d1e9480695b0a97eef7a62 Mon Sep 17 00:00:00 2001
From: Mylen Ploa <mylen.ploa@abyssmail.com>
Date: Fri, 15 Sep 2023 19:11:39 -0700
Subject: [PATCH 02/10] Fix review errors

---
 Regula_Magistri/common/men_at_arms_types/regula_maa_types.txt | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/Regula_Magistri/common/men_at_arms_types/regula_maa_types.txt b/Regula_Magistri/common/men_at_arms_types/regula_maa_types.txt
index 43ed015d..7ba83d79 100644
--- a/Regula_Magistri/common/men_at_arms_types/regula_maa_types.txt
+++ b/Regula_Magistri/common/men_at_arms_types/regula_maa_types.txt
@@ -1,4 +1,4 @@
-# Regula MAA Regiments
+# Regula MAA Regiments
 
 pedites = { # Light Infantry
 	type = skirmishers
@@ -287,7 +287,7 @@ virgo = { # Royal House Guard
 }
 
 valkyrie = { # Northern Light Infantry
-	type = heavy_infantry
+	type = skirmishers
 	icon = valkyrie
 
 	can_recruit = {
-- 
GitLab


From 446e0a68192c53cc4ef25a3cb943daa790ea4d34 Mon Sep 17 00:00:00 2001
From: Mylen Ploa <mylen.ploa@abyssmail.com>
Date: Fri, 15 Sep 2023 19:14:40 -0700
Subject: [PATCH 03/10] Fix localization

---
 .../regula_tradition_events_l_english.yml                   | 4 ++--
 .../localization/english/regula_culture_l_english.yml       | 6 +++---
 2 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/Regula_Magistri/localization/english/event_localization/regula_tradition_events_l_english.yml b/Regula_Magistri/localization/english/event_localization/regula_tradition_events_l_english.yml
index 8c5d366c..2849bf90 100644
--- a/Regula_Magistri/localization/english/event_localization/regula_tradition_events_l_english.yml
+++ b/Regula_Magistri/localization/english/event_localization/regula_tradition_events_l_english.yml
@@ -5,11 +5,11 @@
   regula_tradition.1001.a:0 "May our enemies tremble."
   # Submission
   regula_tradition.1002.t:0 "Magistri Submission"
-	regula_tradition.1002.desc:0 "Under the Regula Magistri's guidance, this land has become obsessed with servitude and submission towards their masters.\n\nThe population has become accustomed to obeying the every whim of their masters, and this includes the lust now prevelant in the land. The people act more passively, and your vassals are less likely to wage war or oppose your demands.\n\nThis naive trust placed in their betters has not come with just benefits unfortunately. Their willpower and decision making, whether it be at home or in battle, has suffered due to their reliance on their overlords."
+  regula_tradition.1002.desc:0 "Under the Regula Magistri's guidance, this land has become obsessed with servitude and submission towards their masters.\n\nThe population has become accustomed to obeying the every whim of their masters, and this includes the lust now prevelant in the land. The people act more passively, and your vassals are less likely to wage war or oppose your demands.\n\nThis naive trust placed in their betters has not come with just benefits unfortunately. Their willpower and decision making, whether it be at home or in battle, has suffered due to their reliance on their overlords."
   regula_tradition.1002.a:0 "Great"
   # Religious Proclamation
   regula_tradition.1010.t:0 "Religious Proclamation"
-	regula_tradition.1010.desc:0 "With the authority of the Magister, the faithful are instructed on the truth of this world."
+  regula_tradition.1010.desc:0 "With the authority of the Magister, the faithful are instructed on the truth of this world."
   regula_tradition.1010.a:0 "Identity"
   regula_tradition.1010.b:0 "War"
   regula_tradition.1010.c:0 "Nature"
diff --git a/Regula_Magistri/localization/english/regula_culture_l_english.yml b/Regula_Magistri/localization/english/regula_culture_l_english.yml
index 2dda454e..e9587366 100644
--- a/Regula_Magistri/localization/english/regula_culture_l_english.yml
+++ b/Regula_Magistri/localization/english/regula_culture_l_english.yml
@@ -34,12 +34,12 @@
 # Regula Innovations #
  # TRIBAL ERA #
  innovation_regula_virgo_training:0 "Virgo Training"
- innovation_regula_virgo_training_desc:0 "By the Magisters will, temples across the land have begun to train young girls from birth to serve as warriors and bed-warmers to the Magister. They will exist only to act on the Magisters will and to enforce it on others.\n\nFew of these girls will ever see a man before they meet the Magister, and their virginity is tightly guarded until the day they enter the Magister service.\n\nEnables:\n  $EFFECT_LIST_BULLET$[GetMaA('virgo').GetName]"
+ innovation_regula_virgo_training_desc:0 "By the Magisters will, temples across the land have begun to train young girls from birth to serve as warriors and bed-warmers to the Magister. They will exist only to act on the Magisters will and to enforce it on others.\n\nFew of these girls will ever see a man before they meet the Magister, and their virginity is tightly guarded until the day they enter the Magister service."
 
  # Early Medieval
  innovation_regula_valkyries:0 "Regula Valkyries"
- innovation_regula_valkyries_desc:0 "The Nordic kingdoms are one of the few realms that allow their women to fight alongside their men. Having conquered their lands, the Magister reshapes the minds of its inhabitants, easily adding the enslaved shieldmaidens into his service. Their existing martial skills, coupled with their new found loyalty make them a considerable addition to the Magisters forces.\n\nEnables:\n  $EFFECT_LIST_BULLET$[GetMaA('valkyrie').GetName]"
+ innovation_regula_valkyries_desc:0 "The Nordic kingdoms are one of the few realms that allow their women to fight alongside their men. Having conquered their lands, the Magister reshapes the minds of its inhabitants, easily adding the enslaved shieldmaidens into his service. Their existing martial skills, coupled with their new found loyalty make them a considerable addition to the Magisters forces."
  innovation_regula_toxotai:0 "Regula Toxotai"
  innovation_regula_toxotai_desc:0 "The Magister has enslaved many of the nomads who roam across Asia, bringing them into his service. The wives and daughters of the nomadic horse-archers turn against their own family, charmed by the Magister to serve in his name instead. Their skill at riding on horse-back while raining down arrows on their foes is an excellant skill, the bane of many conventional army formations."
  innovation_regula_phylanx:0 "Regula Phylanx"
- innovation_regula_phylanx_desc:0 "Through years of combot, veteran virgo have come to appreciate the advantages of the spear when voyaging in the Magister's name. Greater reach and protection from enemy forces combined with experience allows the Phylanx to form the core of any battle formation.\n\nEnables:\n  $EFFECT_LIST_BULLET$[GetMaA('phylanx').GetName]"
\ No newline at end of file
+ innovation_regula_phylanx_desc:0 "Through years of combot, veteran virgo have come to appreciate the advantages of the spear when voyaging in the Magister's name. Greater reach and protection from enemy forces combined with experience allows the Phylanx to form the core of any battle formation."
\ No newline at end of file
-- 
GitLab


From 250eda00e264144f2132559cd71d266d782c9e18 Mon Sep 17 00:00:00 2001
From: Mylen Ploa <mylen.ploa@abyssmail.com>
Date: Fri, 15 Sep 2023 20:40:34 -0700
Subject: [PATCH 04/10] Add missing files

---
 .../events/decisions/regula_book_events.txt   | 112 +++
 .../decisions/regula_tradition_events.txt     | 640 ++++++++++++++++++
 .../events/regula_bloodline_events.txt        |  77 +--
 3 files changed, 759 insertions(+), 70 deletions(-)

diff --git a/Regula_Magistri/events/decisions/regula_book_events.txt b/Regula_Magistri/events/decisions/regula_book_events.txt
index 993f0f87..a8e30344 100644
--- a/Regula_Magistri/events/decisions/regula_book_events.txt
+++ b/Regula_Magistri/events/decisions/regula_book_events.txt
@@ -731,6 +731,118 @@ regula_book_event.2200 = {
 		animation = personality_rational
 	}
 
+	# Manual turn in bloodline option for now which is easier to implement
+	option = {
+		name = "Complete"
+		# TODO: Possibly need to set previous_magister_character for flavor tooltip on trait to be correct
+		global_var:magister_character = {
+			if = {
+				limit = {
+					NOT = { global_var:regula_potestas_queen_bloodline_active = yes }
+					regula_potestas_queen_bloodline_met = yes
+				}
+				regula_bloodline_dynasty_addition_effect = { BLOODLINE = regula_potestas_queen_bloodline }
+				set_global_variable = {
+					name = potestas_queen_bloodline_magister
+					value = global_var:last_magister_character
+				}
+				set_global_variable = {
+					name = regula_potestas_queen_bloodline_active
+					value = yes
+				}
+			}
+			if = {
+				limit = {
+					NOT = { global_var:regula_servitude_war_bloodline_active = yes }
+					regula_servitude_war_bloodline_met = yes
+				}
+				regula_bloodline_dynasty_addition_effect = { BLOODLINE = regula_servitude_war_bloodline }
+				set_global_variable = {
+					name = servitude_war_bloodline_magister
+					value = global_var:last_magister_character
+				}
+				set_global_variable = {
+					name = regula_servitude_war_bloodline_active
+					value = yes
+				}
+			}
+			if = {
+				limit = {
+					NOT = { global_var:regula_domination_war_bloodline_active = yes }
+					regula_domination_war_bloodline_met = yes
+				}
+				regula_bloodline_dynasty_addition_effect = { BLOODLINE = regula_domination_war_bloodline }
+				set_global_variable = {
+					name = domination_war_bloodline_magister
+					value = global_var:last_magister_character
+				}
+				set_global_variable = {
+					name = regula_domination_war_bloodline_active
+					value = yes
+				}
+			}
+			if = {
+				limit = {
+					NOT = { global_var:regula_contubernalis_bloodline_active = yes }
+					regula_contubernalis_bloodline_met = yes
+				}
+				regula_bloodline_dynasty_addition_effect = { BLOODLINE = regula_contubernalis_bloodline }
+				set_global_variable = {
+					name = contubernalis_bloodline_magister
+					value = global_var:last_magister_character
+				}
+				set_global_variable = {
+					name = regula_contubernalis_bloodline_active
+					value = yes
+				}
+			}
+			if = {
+				limit = {
+					NOT = { global_var:regula_domitans_bloodline_active = yes }
+					regula_domitans_bloodline_met = yes
+				}
+				regula_bloodline_dynasty_addition_effect = { BLOODLINE = regula_domitans_bloodline }
+				set_global_variable = {
+					name = domitans_bloodline_magister
+					value = global_var:last_magister_character
+				}
+				set_global_variable = {
+					name = regula_domitans_bloodline_active
+					value = yes
+				}
+			}
+			if = {
+				limit = {
+					NOT = { global_var:regula_fascinare_bloodline_active = yes }
+					regula_fascinare_bloodline_met = yes
+				}
+				regula_bloodline_dynasty_addition_effect = { BLOODLINE = regula_fascinare_bloodline }
+				set_global_variable = {
+					name = fascinare_bloodline_magister
+					value = global_var:last_magister_character
+				}
+				set_global_variable = {
+					name = regula_fascinare_bloodline_active
+					value = yes
+				}
+			}
+			if = {
+				limit = {
+					NOT = { global_var:regula_obedience_bloodline_active = yes }
+					regula_obedience_bloodline_met = yes
+				}
+				regula_bloodline_dynasty_addition_effect = { BLOODLINE = regula_obedience_bloodline }
+				set_global_variable = {
+					name = obedience_bloodline_magister
+					value = global_var:last_magister_character
+				}
+				set_global_variable = {
+					name = regula_obedience_bloodline_active
+					value = yes
+				}
+			}
+		}
+	}
 
 	# Return to Main Book Menu
 	option = {
diff --git a/Regula_Magistri/events/decisions/regula_tradition_events.txt b/Regula_Magistri/events/decisions/regula_tradition_events.txt
index 16fa16aa..332c89cd 100644
--- a/Regula_Magistri/events/decisions/regula_tradition_events.txt
+++ b/Regula_Magistri/events/decisions/regula_tradition_events.txt
@@ -59,3 +59,643 @@ regula_tradition.1002 = { # Reenable Submission
 		}
 	}
 }
+
+regula_tradition.1010 = { # Religious Proclamation - Menu
+	type = character_event
+	title = regula_tradition.1010.t
+	desc = regula_tradition.1010.desc
+
+	theme = regula_theme
+	override_background = {
+		reference = throne_room
+	}
+	right_portrait = {
+		character = global_var:magister_character
+		animation = personality_bold
+	}
+
+	option = { # Identity
+		name = regula_tradition.1010.a
+		trigger_event = {
+			id = regula_tradition.1011
+		}
+	}
+
+	option = { # War
+		name = regula_tradition.1010.b
+		trigger_event = {
+			id = regula_tradition.1013
+		}
+	}
+
+	option = { # Nature
+		name = regula_tradition.1010.c
+		trigger_event = {
+			id = regula_tradition.1015
+		}
+	}
+
+	# option = { # Faith
+	# 	name = regula_tradition.1010.d
+	# 	trigger_event = {
+	# 		id = regula_tradition.1017
+	# 	}
+	# }
+}
+
+
+regula_tradition.1011 = { # Religious Proclamation - Identity
+	type = character_event
+	title = regula_tradition.1010.t
+	desc = regula_tradition.1010.desc
+
+	theme = regula_theme
+	override_background = {
+		reference = throne_room
+	}
+	right_portrait = {
+		character = global_var:magister_character
+		animation = personality_bold
+	}
+
+	option = { # Carnal Exaltation
+		name = regula_tradition.1010.carnal
+		trigger = {
+			regula_religious_proclamation_can_add_tenet = { TENET = tenet_carnal_exaltation }
+		}
+		show_as_unavailable = {
+			regula_religious_proclamation_show_unavailable = { TENET = tenet_carnal_exaltation }
+		}
+		global_var:magister_character.faith = {
+			if = {
+				limit = {
+					has_doctrine = tenet_carnal_exaltation
+				}
+				remove_doctrine = tenet_carnal_exaltation
+				regula_religious_proclamation_tenet_count_decrease = yes
+			}
+			else = {
+				add_doctrine = tenet_carnal_exaltation
+				regula_religious_proclamation_tenet_count_increase = yes
+			}
+		}
+	}
+	option = { # Sacred Childbirth
+		name = regula_tradition.1010.childbirth
+		trigger = {
+			regula_religious_proclamation_can_add_tenet = { TENET = tenet_sacred_childbirth }
+		}
+		show_as_unavailable = {
+			regula_religious_proclamation_show_unavailable = { TENET = tenet_sacred_childbirth }
+		}
+		global_var:magister_character.faith = {
+			if = {
+				limit = {
+					has_doctrine = tenet_sacred_childbirth
+				}
+				remove_doctrine = tenet_sacred_childbirth
+				regula_religious_proclamation_tenet_count_decrease = yes
+			}
+			else = {
+				add_doctrine = tenet_sacred_childbirth
+				regula_religious_proclamation_tenet_count_increase = yes
+				if = {
+					limit = {
+						has_doctrine = tenet_reincarnation
+					}
+					remove_doctrine = tenet_reincarnation
+					regula_religious_proclamation_tenet_count_decrease = yes
+				}
+				if = {
+					limit = {
+						has_doctrine = tenet_mystical_birthright
+					}
+					remove_doctrine = tenet_mystical_birthright
+					regula_religious_proclamation_tenet_count_decrease = yes
+				}
+			}
+			
+		}
+	}
+	option = { # Reincarnation
+		name = regula_tradition.1010.reincarnation
+		trigger = {
+			regula_religious_proclamation_can_add_tenet = { TENET = tenet_reincarnation }
+		}
+		show_as_unavailable = {
+			regula_religious_proclamation_show_unavailable = { TENET = tenet_reincarnation }
+		}
+		global_var:magister_character.faith = {
+			if = {
+				limit = {
+					has_doctrine = tenet_reincarnation
+				}
+				remove_doctrine = tenet_reincarnation
+				regula_religious_proclamation_tenet_count_decrease = yes
+			}
+			else = {
+				add_doctrine = tenet_reincarnation
+				regula_religious_proclamation_tenet_count_increase = yes
+				if = {
+					limit = {
+						has_doctrine = tenet_sacred_childbirth
+					}
+					remove_doctrine = tenet_sacred_childbirth
+					regula_religious_proclamation_tenet_count_decrease = yes
+				}
+				if = {
+					limit = {
+						has_doctrine = tenet_mystical_birthright
+					}
+					remove_doctrine = tenet_mystical_birthright
+					regula_religious_proclamation_tenet_count_decrease = yes
+				}
+			}
+		}
+	}
+	option = {  # Mystical Birthright
+		name = regula_tradition.1010.birthright
+		trigger = {
+			regula_religious_proclamation_can_add_tenet = { TENET = tenet_mystical_birthright }
+		}
+		show_as_unavailable = {
+			regula_religious_proclamation_show_unavailable = { TENET = tenet_mystical_birthright }
+		}
+		global_var:magister_character.faith = {
+			if = {
+				limit = {
+					has_doctrine = tenet_mystical_birthright
+				}
+				remove_doctrine = tenet_mystical_birthright
+				regula_religious_proclamation_tenet_count_decrease = yes
+			}
+			else = {
+				add_doctrine = tenet_mystical_birthright
+				regula_religious_proclamation_tenet_count_increase = yes
+				if = {
+					limit = {
+						has_doctrine = tenet_sacred_childbirth
+					}
+					remove_doctrine = tenet_sacred_childbirth
+					regula_religious_proclamation_tenet_count_decrease = yes
+				}
+				if = {
+					limit = {
+						has_doctrine = tenet_reincarnation
+					}
+					remove_doctrine = tenet_reincarnation
+					regula_religious_proclamation_tenet_count_decrease = yes
+				}
+			}
+		}
+	}
+	option = {
+		name = regula_tradition.1010.next
+		trigger_event = {
+			id = regula_tradition.1012
+		}
+	}
+	option = {
+		name = regula_tradition.1010.return
+		trigger_event = {
+			id = regula_tradition.1010
+		}
+	}
+}
+
+regula_tradition.1012 = { # Religious Proclamation - Identity II
+	type = character_event
+	title = regula_tradition.1010.t
+	desc = regula_tradition.1010.desc
+
+	theme = regula_theme
+	override_background = {
+		reference = throne_room
+	}
+	right_portrait = {
+		character = global_var:magister_character
+		animation = personality_bold
+	}
+
+	option = { # Natural Primitivism
+		name = regula_tradition.1010.naked
+		trigger = {
+			regula_religious_proclamation_can_add_tenet = { TENET = tenet_natural_primitivism }
+		}
+		show_as_unavailable = {
+			regula_religious_proclamation_show_unavailable = { TENET = tenet_natural_primitivism }
+		}
+		global_var:magister_character.faith = {
+			if = {
+				limit = {
+					has_doctrine = tenet_natural_primitivism
+				}
+				remove_doctrine = tenet_natural_primitivism
+				regula_religious_proclamation_tenet_count_decrease = yes
+			}
+			else = {
+				add_doctrine = tenet_natural_primitivism
+				regula_religious_proclamation_tenet_count_increase = yes
+			}
+		}
+	}
+	option = { # Sacred Lies
+		name = regula_tradition.1010.sacred_lies
+		trigger = {
+			regula_religious_proclamation_can_add_tenet = { TENET = tenet_sacred_shadows }
+		}
+		show_as_unavailable = {
+			regula_religious_proclamation_show_unavailable = { TENET = tenet_sacred_shadows }
+		}
+		global_var:magister_character.faith = {
+			if = {
+				limit = {
+					has_doctrine = tenet_sacred_shadows
+				}
+				remove_doctrine = tenet_sacred_shadows
+				regula_religious_proclamation_tenet_count_decrease = yes
+			}
+			else = {
+				add_doctrine = tenet_sacred_shadows
+				regula_religious_proclamation_tenet_count_increase = yes
+			}
+		}
+	}
+	option = { # Communal Identity
+		name = regula_tradition.1010.communal_identity
+		trigger = {
+			regula_religious_proclamation_can_add_tenet = { TENET = tenet_communal_identity }
+		}
+		show_as_unavailable = {
+			regula_religious_proclamation_show_unavailable = { TENET = tenet_communal_identity }
+		}
+		global_var:magister_character.faith = {
+			if = {
+				limit = {
+					has_doctrine = tenet_communal_identity
+				}
+				remove_doctrine = tenet_communal_identity
+				regula_religious_proclamation_tenet_count_decrease = yes
+			}
+			else = {
+				add_doctrine = tenet_communal_identity
+				regula_religious_proclamation_tenet_count_increase = yes
+			}
+		}
+	}
+	option = {
+		name = regula_tradition.1010.back
+		trigger_event = {
+			id = regula_tradition.1011
+		}
+	}
+	option = {
+		name = regula_tradition.1010.return
+		trigger_event = {
+			id = regula_tradition.1010
+		}
+	}
+}
+
+regula_tradition.1013 = { # Religious Proclamation - War
+	type = character_event
+	title = regula_tradition.1010.t
+	desc = regula_tradition.1010.desc
+
+	theme = regula_theme
+	override_background = {
+		reference = throne_room
+	}
+	right_portrait = {
+		character = global_var:magister_character
+		animation = personality_bold
+	}
+
+	option = { # Struggle Submission
+		name = regula_tradition.1010.struggle_submission
+		trigger = {
+			regula_religious_proclamation_can_add_tenet = { TENET = tenet_struggle_submission }
+		}
+		show_as_unavailable = {
+			regula_religious_proclamation_show_unavailable = { TENET = tenet_struggle_submission }
+		}
+		global_var:magister_character.faith = {
+			if = {
+				limit = {
+					has_doctrine = tenet_struggle_submission
+				}
+				remove_doctrine = tenet_struggle_submission
+				regula_religious_proclamation_tenet_count_decrease = yes
+			}
+			else = {
+				add_doctrine = tenet_struggle_submission
+				regula_religious_proclamation_tenet_count_increase = yes
+				if = {
+					limit = {
+						has_doctrine = tenet_pacifism
+					}
+					remove_doctrine = tenet_pacifism
+					regula_religious_proclamation_tenet_count_decrease = yes
+				}
+				if = {
+					limit = {
+						has_doctrine = tenet_warmonger
+					}
+					remove_doctrine = tenet_warmonger
+					regula_religious_proclamation_tenet_count_decrease = yes
+				}
+				if = {
+					limit = {
+						has_doctrine = tenet_pursuit_of_power
+					}
+					remove_doctrine = tenet_pursuit_of_power
+					regula_religious_proclamation_tenet_count_decrease = yes
+				}
+			}
+		}
+	}
+
+	option = { # Warmonger
+		name = regula_tradition.1010.warmonger
+		trigger = {
+			regula_religious_proclamation_can_add_tenet = { TENET = tenet_warmonger }
+		}
+		show_as_unavailable = {
+			regula_religious_proclamation_show_unavailable = { TENET = tenet_warmonger }
+		}
+		global_var:magister_character.faith = {
+			if = {
+				limit = {
+					has_doctrine = tenet_warmonger
+				}
+				remove_doctrine = tenet_warmonger
+				regula_religious_proclamation_tenet_count_decrease = yes
+			}
+			else = {
+				add_doctrine = tenet_warmonger
+				regula_religious_proclamation_tenet_count_increase = yes
+				if = {
+					limit = {
+						has_doctrine = tenet_pacifism
+					}
+					remove_doctrine = tenet_pacifism
+					regula_religious_proclamation_tenet_count_decrease = yes
+				}
+				if = {
+					limit = {
+						has_doctrine = tenet_struggle_submission
+					}
+					remove_doctrine = tenet_struggle_submission
+					regula_religious_proclamation_tenet_count_decrease = yes
+				}
+				if = {
+					limit = {
+						has_doctrine = tenet_pursuit_of_power
+					}
+					remove_doctrine = tenet_pursuit_of_power
+					regula_religious_proclamation_tenet_count_decrease = yes
+				}
+			}
+		}
+	}
+
+	option = { # Pursuit of Power
+		name = regula_tradition.1010.pursuit_of_power
+		trigger = {
+			regula_religious_proclamation_can_add_tenet = { TENET = tenet_pursuit_of_power }
+		}
+		show_as_unavailable = {
+			regula_religious_proclamation_show_unavailable = { TENET = tenet_pursuit_of_power }
+		}
+		global_var:magister_character.faith = {
+			if = {
+				limit = {
+					has_doctrine = tenet_pursuit_of_power
+				}
+				remove_doctrine = tenet_pursuit_of_power
+				regula_religious_proclamation_tenet_count_decrease = yes
+			}
+			else = {
+				add_doctrine = tenet_pursuit_of_power
+				regula_religious_proclamation_tenet_count_increase = yes
+				if = {
+					limit = {
+						has_doctrine = tenet_pacifism
+					}
+					remove_doctrine = tenet_pacifism
+					regula_religious_proclamation_tenet_count_decrease = yes
+				}
+				if = {
+					limit = {
+						has_doctrine = tenet_struggle_submission
+					}
+					remove_doctrine = tenet_struggle_submission
+					regula_religious_proclamation_tenet_count_decrease = yes
+				}
+				if = {
+					limit = {
+						has_doctrine = tenet_warmonger
+					}
+					remove_doctrine = tenet_warmonger
+					regula_religious_proclamation_tenet_count_decrease = yes
+				}
+			}
+		}
+	}
+
+	option = { # Pacifism
+		name = regula_tradition.1010.pacifism
+		trigger = {
+			regula_religious_proclamation_can_add_tenet = { TENET = tenet_pacifism }
+		}
+		show_as_unavailable = {
+			regula_religious_proclamation_show_unavailable = { TENET = tenet_pacifism }
+		}
+		global_var:magister_character.faith = {
+			if = {
+				limit = {
+					has_doctrine = tenet_pacifism
+				}
+				remove_doctrine = tenet_pacifism
+				regula_religious_proclamation_tenet_count_decrease = yes
+			}
+			else = {
+				add_doctrine = tenet_pacifism
+				regula_religious_proclamation_tenet_count_increase = yes
+				if = {
+					limit = {
+						has_doctrine = tenet_warmonger
+					}
+					remove_doctrine = tenet_warmonger
+					regula_religious_proclamation_tenet_count_decrease = yes
+				}
+				if = {
+					limit = {
+						has_doctrine = tenet_struggle_submission
+					}
+					remove_doctrine = tenet_struggle_submission
+					regula_religious_proclamation_tenet_count_decrease = yes
+				}
+				if = {
+					limit = {
+						has_doctrine = tenet_pursuit_of_power
+					}
+					remove_doctrine = tenet_pursuit_of_power
+					regula_religious_proclamation_tenet_count_decrease = yes
+				}
+				if = {
+					limit = {
+						has_doctrine = tenet_pursuit_of_power
+					}
+					remove_doctrine = tenet_pursuit_of_power
+					regula_religious_proclamation_tenet_count_decrease = yes
+				}
+			}
+		}
+	}
+
+	option = {
+		name = regula_tradition.1010.return
+		trigger_event = {
+			id = regula_tradition.1010
+		}
+	}
+}
+
+regula_tradition.1015 = { # Religious Proclamation - Nature
+	type = character_event
+	title = regula_tradition.1010.t
+	desc = regula_tradition.1010.desc
+
+	theme = regula_theme
+	override_background = {
+		reference = throne_room
+	}
+	right_portrait = {
+		character = global_var:magister_character
+		animation = personality_bold
+	}
+
+	
+	option = { # Megaliths
+		name = regula_tradition.1010.megaliths
+		trigger = {
+			regula_religious_proclamation_can_add_tenet = { TENET = tenet_megaliths }
+		}
+		show_as_unavailable = {
+			regula_religious_proclamation_show_unavailable = { TENET = tenet_megaliths }
+		}
+		global_var:magister_character.faith = {
+			if = {
+				limit = {
+					has_doctrine = tenet_megaliths
+				}
+				remove_doctrine = tenet_megaliths
+				regula_religious_proclamation_tenet_count_decrease = yes
+			}
+			else = {
+				add_doctrine = tenet_megaliths
+				regula_religious_proclamation_tenet_count_increase = yes
+				if = {
+					limit = {
+						has_doctrine = tenet_cthonic_redoubts
+					}
+					remove_doctrine = tenet_cthonic_redoubts
+					regula_religious_proclamation_tenet_count_decrease = yes
+				}
+				if = {
+					limit = {
+						has_doctrine = tenet_sanctity_of_nature
+					}
+					remove_doctrine = tenet_sanctity_of_nature
+					regula_religious_proclamation_tenet_count_decrease = yes
+				}
+			}
+		}
+	}
+	option = { # Sanctity of Nature
+		name = regula_tradition.1010.sanctity_of_nature
+		trigger = {
+			regula_religious_proclamation_can_add_tenet = { TENET = tenet_sanctity_of_nature }
+		}
+		show_as_unavailable = {
+			regula_religious_proclamation_show_unavailable = { TENET = tenet_sanctity_of_nature }
+		}
+		global_var:magister_character.faith = {
+			if = {
+				limit = {
+					has_doctrine = tenet_sanctity_of_nature
+				}
+				remove_doctrine = tenet_sanctity_of_nature
+				regula_religious_proclamation_tenet_count_decrease = yes
+			}
+			else = {
+				add_doctrine = tenet_sanctity_of_nature
+				regula_religious_proclamation_tenet_count_increase = yes
+				if = {
+					limit = {
+						has_doctrine = tenet_cthonic_redoubts
+					}
+					remove_doctrine = tenet_cthonic_redoubts
+					regula_religious_proclamation_tenet_count_decrease = yes
+				}
+				if = {
+					limit = {
+						has_doctrine = tenet_megaliths
+					}
+					remove_doctrine = tenet_megaliths
+					regula_religious_proclamation_tenet_count_decrease = yes
+				}
+			}
+		}
+	}
+	option = { # Redoubts
+		name = regula_tradition.1010.redoubts
+		trigger = {
+			regula_religious_proclamation_can_add_tenet = { TENET = tenet_cthonic_redoubts }
+		}
+		show_as_unavailable = {
+			regula_religious_proclamation_show_unavailable = { TENET = tenet_cthonic_redoubts }
+		}
+		global_var:magister_character.faith = {
+			if = {
+				limit = {
+					has_doctrine = tenet_cthonic_redoubts
+				}
+				remove_doctrine = tenet_cthonic_redoubts
+				regula_religious_proclamation_tenet_count_decrease = yes
+			}
+			else = {
+				add_doctrine = tenet_cthonic_redoubts
+				regula_religious_proclamation_tenet_count_increase = yes
+				if = {
+					limit = {
+						has_doctrine = tenet_sanctity_of_nature
+					}
+					remove_doctrine = tenet_sanctity_of_nature
+					regula_religious_proclamation_tenet_count_decrease = yes
+				}
+				if = {
+					limit = {
+						has_doctrine = tenet_megaliths
+					}
+					remove_doctrine = tenet_megaliths
+					regula_religious_proclamation_tenet_count_decrease = yes
+				}
+			}
+		}
+	}
+	option = {
+		name = regula_tradition.1010.return
+		trigger_event = {
+			id = regula_tradition.1010
+		}
+	}
+}
+
+
+# tenet_mendicant_preachers
+# tenet_monasticism
+# tenet_asceticism
+# tenet_adaptive
+# tenet_unrelenting_faith
\ No newline at end of file
diff --git a/Regula_Magistri/events/regula_bloodline_events.txt b/Regula_Magistri/events/regula_bloodline_events.txt
index 99b7676d..54797718 100644
--- a/Regula_Magistri/events/regula_bloodline_events.txt
+++ b/Regula_Magistri/events/regula_bloodline_events.txt
@@ -16,16 +16,7 @@ regula_bloodline.0001 = { # Potestas non Transfunde Queen record.
 	trigger = {
 		NOT = { global_var:regula_potestas_queen_bloodline_active = yes }
 		# Using either single life goal or cumulative goal
-		OR = {
-			AND = {
-				has_game_rule = regula_bloodline_tally_goals_single_life
-				global_var:regula_potestas_queen_tally >= regula_potestas_queen_tally_goal
-			}
-			AND = {
-				has_game_rule = regula_bloodline_tally_goals_cumulative
-				global_var:regula_potestas_queen_tally >= regula_potestas_queen_tally_goal_cumulative
-			}
-		}
+		regula_potestas_queen_bloodline_met = yes
 	}
 
 	immediate = {
@@ -49,16 +40,7 @@ regula_bloodline.0002 = { # Servitude War record.
 	trigger = {
 		NOT = { global_var:regula_servitude_war_bloodline_active = yes }
 		# Using either single life goal or cumulative goal
-		OR = {
-			AND = {
-				has_game_rule = regula_bloodline_tally_goals_single_life
-				global_var:regula_servitude_war_tally >= regula_servitude_war_tally_goal
-			}
-			AND = {
-				has_game_rule = regula_bloodline_tally_goals_cumulative
-				global_var:regula_servitude_war_tally >= regula_servitude_war_tally_goal_cumulative
-			}
-		}
+		regula_servitude_war_bloodline_met = yes
 	}
 
 	immediate = {
@@ -82,16 +64,7 @@ regula_bloodline.0003 = { # Domination War record.
 	trigger = {
 		NOT = { global_var:regula_domination_war_bloodline_active = yes }
 		# Using either single life goal or cumulative goal
-		OR = {
-			AND = {
-				has_game_rule = regula_bloodline_tally_goals_single_life
-				global_var:regula_domination_war_tally >= regula_domination_war_tally_goal
-			}
-			AND = {
-				has_game_rule = regula_bloodline_tally_goals_cumulative
-				global_var:regula_domination_war_tally >= regula_domination_war_tally_goal_cumulative
-			}
-		}
+		regula_domination_war_bloodline_met = yes
 	}
 
 	immediate = {
@@ -115,16 +88,7 @@ regula_bloodline.0004 = { # Contubernalis record.
 	trigger = {
 		NOT = { global_var:regula_contubernalis_bloodline_active = yes }
 		# Using either single life goal or cumulative goal
-		OR = {
-			AND = {
-				has_game_rule = regula_bloodline_tally_goals_single_life
-				global_var:regula_contubernalis_tally >= regula_contubernalis_tally_goal
-			}
-			AND = {
-				has_game_rule = regula_bloodline_tally_goals_cumulative
-				global_var:regula_contubernalis_tally >= regula_contubernalis_tally_goal_cumulative
-			}
-		}
+		regula_contubernalis_bloodline_met = yes
 	}
 
 	immediate = {
@@ -148,16 +112,7 @@ regula_bloodline.0005 = { # Domitans Tribunal record.
 	trigger = {
 		NOT = { global_var:regula_domitans_bloodline_active = yes }
 		# Using either single life goal or cumulative goal
-		OR = {
-			AND = {
-				has_game_rule = regula_bloodline_tally_goals_single_life
-				global_var:regula_domitans_tally >= regula_domitans_tally_goal
-			}
-			AND = {
-				has_game_rule = regula_bloodline_tally_goals_cumulative
-				global_var:regula_domitans_tally >= regula_domitans_tally_goal_cumulative
-			}
-		}
+		regula_domitans_bloodline_met = yes
 	}
 
 	immediate = {
@@ -181,16 +136,7 @@ regula_bloodline.0006 = { # Fascinare record.
 	trigger = {
 		NOT = { global_var:regula_fascinare_bloodline_active = yes }
 		# Using either single life goal or cumulative goal
-		OR = {
-			AND = {
-				has_game_rule = regula_bloodline_tally_goals_single_life
-				global_var:regula_fascinare_tally >= regula_fascinare_tally_goal
-			}
-			AND = {
-				has_game_rule = regula_bloodline_tally_goals_cumulative
-				global_var:regula_fascinare_tally >= regula_fascinare_tally_goal_cumulative
-			}
-		}
+		regula_fascinare_bloodline_met = yes
 	}
 
 	immediate = {
@@ -214,16 +160,7 @@ regula_bloodline.0007 = { # Obedience record.
 	trigger = {
 		NOT = { global_var:regula_obedience_bloodline_active = yes }
 		# Using either single life goal or cumulative goal
-		OR = {
-			AND = {
-				has_game_rule = regula_bloodline_tally_goals_single_life
-				global_var:regula_obedience_tally >= regula_obedience_tally_goal
-			}
-			AND = {
-				has_game_rule = regula_bloodline_tally_goals_cumulative
-				global_var:regula_obedience_tally >= regula_obedience_tally_goal_cumulative
-			}
-		}
+		regula_obedience_bloodline_met = yes
 	}
 
 	immediate = {
-- 
GitLab


From 501ad57568a1f9776284c0ee740913612ca4c7f3 Mon Sep 17 00:00:00 2001
From: Mylen Ploa <mylen.ploa@abyssmail.com>
Date: Fri, 15 Sep 2023 20:42:28 -0700
Subject: [PATCH 05/10] Fix tooltip error

---
 .../events/decisions/regula_book_events.txt       | 15 +++++++--------
 1 file changed, 7 insertions(+), 8 deletions(-)

diff --git a/Regula_Magistri/events/decisions/regula_book_events.txt b/Regula_Magistri/events/decisions/regula_book_events.txt
index a8e30344..d5fba1c3 100644
--- a/Regula_Magistri/events/decisions/regula_book_events.txt
+++ b/Regula_Magistri/events/decisions/regula_book_events.txt
@@ -734,7 +734,6 @@ regula_book_event.2200 = {
 	# Manual turn in bloodline option for now which is easier to implement
 	option = {
 		name = "Complete"
-		# TODO: Possibly need to set previous_magister_character for flavor tooltip on trait to be correct
 		global_var:magister_character = {
 			if = {
 				limit = {
@@ -744,7 +743,7 @@ regula_book_event.2200 = {
 				regula_bloodline_dynasty_addition_effect = { BLOODLINE = regula_potestas_queen_bloodline }
 				set_global_variable = {
 					name = potestas_queen_bloodline_magister
-					value = global_var:last_magister_character
+					value = global_var:magister_character
 				}
 				set_global_variable = {
 					name = regula_potestas_queen_bloodline_active
@@ -759,7 +758,7 @@ regula_book_event.2200 = {
 				regula_bloodline_dynasty_addition_effect = { BLOODLINE = regula_servitude_war_bloodline }
 				set_global_variable = {
 					name = servitude_war_bloodline_magister
-					value = global_var:last_magister_character
+					value = global_var:magister_character
 				}
 				set_global_variable = {
 					name = regula_servitude_war_bloodline_active
@@ -774,7 +773,7 @@ regula_book_event.2200 = {
 				regula_bloodline_dynasty_addition_effect = { BLOODLINE = regula_domination_war_bloodline }
 				set_global_variable = {
 					name = domination_war_bloodline_magister
-					value = global_var:last_magister_character
+					value = global_var:magister_character
 				}
 				set_global_variable = {
 					name = regula_domination_war_bloodline_active
@@ -789,7 +788,7 @@ regula_book_event.2200 = {
 				regula_bloodline_dynasty_addition_effect = { BLOODLINE = regula_contubernalis_bloodline }
 				set_global_variable = {
 					name = contubernalis_bloodline_magister
-					value = global_var:last_magister_character
+					value = global_var:magister_character
 				}
 				set_global_variable = {
 					name = regula_contubernalis_bloodline_active
@@ -804,7 +803,7 @@ regula_book_event.2200 = {
 				regula_bloodline_dynasty_addition_effect = { BLOODLINE = regula_domitans_bloodline }
 				set_global_variable = {
 					name = domitans_bloodline_magister
-					value = global_var:last_magister_character
+					value = global_var:magister_character
 				}
 				set_global_variable = {
 					name = regula_domitans_bloodline_active
@@ -819,7 +818,7 @@ regula_book_event.2200 = {
 				regula_bloodline_dynasty_addition_effect = { BLOODLINE = regula_fascinare_bloodline }
 				set_global_variable = {
 					name = fascinare_bloodline_magister
-					value = global_var:last_magister_character
+					value = global_var:magister_character
 				}
 				set_global_variable = {
 					name = regula_fascinare_bloodline_active
@@ -834,7 +833,7 @@ regula_book_event.2200 = {
 				regula_bloodline_dynasty_addition_effect = { BLOODLINE = regula_obedience_bloodline }
 				set_global_variable = {
 					name = obedience_bloodline_magister
-					value = global_var:last_magister_character
+					value = global_var:magister_character
 				}
 				set_global_variable = {
 					name = regula_obedience_bloodline_active
-- 
GitLab


From be6716683ba8039c0ec33752b5c290a9b7f264ab Mon Sep 17 00:00:00 2001
From: Mylen Ploa <mylen.ploa@abyssmail.com>
Date: Fri, 15 Sep 2023 21:10:27 -0700
Subject: [PATCH 06/10] Some fixes

---
 .../regula_religious_proclamation_effects.txt | 20 ++++++++++++++++++-
 ...regula_religious_proclamation_triggers.txt |  1 +
 .../events/decisions/regula_book_events.txt   |  2 +-
 .../regula_read_book_l_english.yml            |  1 +
 4 files changed, 22 insertions(+), 2 deletions(-)

diff --git a/Regula_Magistri/common/scripted_effects/regula_religious_proclamation_effects.txt b/Regula_Magistri/common/scripted_effects/regula_religious_proclamation_effects.txt
index 489e1094..cce79986 100644
--- a/Regula_Magistri/common/scripted_effects/regula_religious_proclamation_effects.txt
+++ b/Regula_Magistri/common/scripted_effects/regula_religious_proclamation_effects.txt
@@ -1,11 +1,29 @@
 regula_religious_proclamation_tenet_count_decrease = {
+	if = {
+		limit = {
+			NOT = { has_global_variable = global_var:regula_religious_tenet_count }
+		}
+		set_global_variable = {
+			name = regula_religious_tenet_count
+			value = 1
+		}
+	}
 	change_global_variable = {
 		name = regula_religious_tenet_count
 		subtract=1
 	}
 }
 
-regula_religious_proclamation_tenet_count_decrease = {
+regula_religious_proclamation_tenet_count_increase = {
+	if = {
+		limit = {
+			NOT = { has_global_variable = global_var:regula_religious_tenet_count }
+		}
+		set_global_variable = {
+			name = regula_religious_tenet_count
+			value = 0
+		}
+	}
 	change_global_variable = {
 		name = regula_religious_tenet_count
 		add=1
diff --git a/Regula_Magistri/common/scripted_triggers/regula_religious_proclamation_triggers.txt b/Regula_Magistri/common/scripted_triggers/regula_religious_proclamation_triggers.txt
index 9437b071..a80c9336 100644
--- a/Regula_Magistri/common/scripted_triggers/regula_religious_proclamation_triggers.txt
+++ b/Regula_Magistri/common/scripted_triggers/regula_religious_proclamation_triggers.txt
@@ -4,6 +4,7 @@ regula_religious_proclamation_can_add_tenet = {
 			has_doctrine = $TENET$
 		}
 		global_var:regula_religious_tenet_count < 3
+		NOT = { has_global_variable = global_var:regula_religious_tenet_count }
 	}
 }
 
diff --git a/Regula_Magistri/events/decisions/regula_book_events.txt b/Regula_Magistri/events/decisions/regula_book_events.txt
index d5fba1c3..b65799c4 100644
--- a/Regula_Magistri/events/decisions/regula_book_events.txt
+++ b/Regula_Magistri/events/decisions/regula_book_events.txt
@@ -733,7 +733,7 @@ regula_book_event.2200 = {
 
 	# Manual turn in bloodline option for now which is easier to implement
 	option = {
-		name = "Complete"
+		name = regula_book_event.2200.complete
 		global_var:magister_character = {
 			if = {
 				limit = {
diff --git a/Regula_Magistri/localization/english/event_localization/regula_read_book_l_english.yml b/Regula_Magistri/localization/english/event_localization/regula_read_book_l_english.yml
index a46a0a05..bae719c6 100644
--- a/Regula_Magistri/localization/english/event_localization/regula_read_book_l_english.yml
+++ b/Regula_Magistri/localization/english/event_localization/regula_read_book_l_english.yml
@@ -115,6 +115,7 @@
   regula_book_event.2200.desc_5_f:0 "#P [GetGlobalVariable('domitans_bloodline_magister').Char.GetName] dominated many women into his Paelices, giving his descendents [GetTrait('regula_domitans_bloodline').GetName( GetNullCharacter )]#!"
   regula_book_event.2200.desc_6_f:0 "#P [GetGlobalVariable('fascinare_bloodline_magister').Char.GetName] charmed many Mulsa, giving his descendents [GetTrait('regula_fascinare_bloodline').GetName( GetNullCharacter )] #!"
   regula_book_event.2200.desc_7_f:0 "#P [GetGlobalVariable('obedience_bloodline_magister').Char.GetName] claimed many of his wards as his own, giving his descendents [GetTrait('regula_obedience_bloodline').GetName( GetNullCharacter )]#!"
+  regula_book_event.2200.complete:0 "Turn in Objectives"
 
   # Settings
   # Settings Menu
-- 
GitLab


From 436bc7e4147801fa34de2180782eab4b9e3f2ff9 Mon Sep 17 00:00:00 2001
From: Mylen Ploa <mylen.ploa@abyssmail.com>
Date: Fri, 15 Sep 2023 23:32:36 -0700
Subject: [PATCH 07/10] Add more tenets, fix the implementation to be working

---
 ...regula_religious_proclamation_decision.txt |   43 +
 .../decisions/regula_traditions_decision.txt  |   44 -
 .../regula_initialize_effects.txt             |  398 +++++
 .../regula_religious_proclamation_effects.txt |   22 +-
 ...regula_religious_proclamation_triggers.txt |   14 +-
 .../regula_religious_proclamation_events.txt  | 1427 +++++++++++++++++
 .../decisions/regula_tradition_events.txt     |  639 --------
 ...egula_religious_proclamation_l_english.yml |   40 +
 .../regula_tradition_events_l_english.yml     |   24 -
 9 files changed, 1925 insertions(+), 726 deletions(-)
 create mode 100644 Regula_Magistri/common/decisions/regula_religious_proclamation_decision.txt
 create mode 100644 Regula_Magistri/events/decisions/regula_religious_proclamation_events.txt
 create mode 100644 Regula_Magistri/localization/english/event_localization/regula_religious_proclamation_l_english.yml

diff --git a/Regula_Magistri/common/decisions/regula_religious_proclamation_decision.txt b/Regula_Magistri/common/decisions/regula_religious_proclamation_decision.txt
new file mode 100644
index 00000000..093139e3
--- /dev/null
+++ b/Regula_Magistri/common/decisions/regula_religious_proclamation_decision.txt
@@ -0,0 +1,43 @@
+
+regula_religious_proclamation_decision = {
+	ai_check_interval = 0
+	major = yes
+
+	title = regula_religious_proclamation_decision.t
+	desc = regula_religious_proclamation_decision.desc
+	picture = "gfx/interface/illustrations/decisions/regula_initialize_decision.dds"
+	selection_tooltip = regula_religious_proclamation_decision_tooltip
+
+	cooldown = { years = 50 }
+
+	is_shown = {
+		this = global_var:magister_character
+	}
+
+	is_valid = {
+		piety_level >= 3
+	}
+
+	is_valid_showing_failures_only = {
+		is_available_adult = yes
+	}
+
+	cost = {
+		piety = 10000
+	}
+
+	effect = {
+		custom_tooltip = "regula_religious_proclamation_tooltip_effect"
+		trigger_event = regula_religious_proclamation.1000
+	}
+
+	confirm_text = regula_religious_proclamation_decision.a
+
+	ai_potential = {
+		always = no
+	}
+
+	ai_will_do = {
+		base = 0
+	}
+}
diff --git a/Regula_Magistri/common/decisions/regula_traditions_decision.txt b/Regula_Magistri/common/decisions/regula_traditions_decision.txt
index 2d59e4fe..bed9407f 100644
--- a/Regula_Magistri/common/decisions/regula_traditions_decision.txt
+++ b/Regula_Magistri/common/decisions/regula_traditions_decision.txt
@@ -111,47 +111,3 @@ regula_adopt_submission_decision = {
 		base = 0
 	}
 }
-
-
-regula_religious_proclamation_decision = {
-	ai_check_interval = 0
-	major = yes
-
-	title = regula_religious_proclamation_decision.t
-	desc = regula_religious_proclamation_decision.desc
-	picture = "gfx/interface/illustrations/decisions/regula_initialize_decision.dds"
-	selection_tooltip = regula_religious_proclamation_decision_tooltip
-
-	cooldown = { years = 100 }
-
-	is_shown = {
-		this = global_var:magister_character
-	}
-
-	is_valid = {
-		piety_level >= 3
-	}
-
-	is_valid_showing_failures_only = {
-		is_available_adult = yes
-	}
-
-	cost = {
-		piety = 10000
-	}
-
-	effect = {
-		custom_tooltip = "regula_religious_proclamation_tooltip_effect"
-		trigger_event = regula_tradition.1010
-	}
-
-	confirm_text = regula_religious_proclamation_decision.a
-
-	ai_potential = {
-		always = no
-	}
-
-	ai_will_do = {
-		base = 0
-	}
-}
diff --git a/Regula_Magistri/common/scripted_effects/regula_initialize_effects.txt b/Regula_Magistri/common/scripted_effects/regula_initialize_effects.txt
index 4bc983b8..02e341f8 100644
--- a/Regula_Magistri/common/scripted_effects/regula_initialize_effects.txt
+++ b/Regula_Magistri/common/scripted_effects/regula_initialize_effects.txt
@@ -303,6 +303,404 @@ regula_change_holy_site_option = {
 	}
 
 	hidden_effect = {
+		$NEW_FAITH$ = {
+			# Clear any old tenets
+			if = {
+				limit = {
+					$OLD_FAITH$ = {
+						NOT = { has_doctrine = tenet_carnal_exaltation }
+					}
+				}
+				remove_doctrine = tenet_carnal_exaltation
+			}
+			if = {
+				limit = {
+					$OLD_FAITH$ = {
+						NOT = { has_doctrine = tenet_sacred_childbirth }
+					}
+				}
+				remove_doctrine = tenet_sacred_childbirth
+			}
+			if = {
+				limit = {
+					$OLD_FAITH$ = {
+						NOT = { has_doctrine = tenet_reincarnation }
+					}
+				}
+				remove_doctrine = tenet_reincarnation
+			}
+			if = {
+				limit = {
+					$OLD_FAITH$ = {
+						NOT = { has_doctrine = tenet_mystical_birthright }
+					}
+				}
+				remove_doctrine = tenet_mystical_birthright
+			}
+			if = {
+				limit = {
+					$OLD_FAITH$ = {
+						NOT = { has_doctrine = tenet_sacred_shadows }
+					}
+				}
+				remove_doctrine = tenet_sacred_shadows
+			}
+			if = {
+				limit = {
+					$OLD_FAITH$ = {
+						NOT = { has_doctrine = tenet_communal_identity }
+					}
+				}
+				remove_doctrine = tenet_communal_identity
+			}
+			if = {
+				limit = {
+					$OLD_FAITH$ = {
+						NOT = { has_doctrine = tenet_ancestor_worship }
+					}
+				}
+				remove_doctrine = tenet_ancestor_worship
+			}
+			if = {
+				limit = {
+					$OLD_FAITH$ = {
+						NOT = { has_doctrine = tenet_astrology }
+					}
+				}
+				remove_doctrine = tenet_astrology
+			}
+			if = {
+				limit = {
+					$OLD_FAITH$ = {
+						NOT = { has_doctrine = tenet_asceticism }
+					}
+				}
+				remove_doctrine = tenet_asceticism
+			}
+			if = {
+				limit = {
+					$OLD_FAITH$ = {
+						NOT = { has_doctrine = tenet_esotericism }
+					}
+				}
+				remove_doctrine = tenet_esotericism
+			}
+			if = {
+				limit = {
+					$OLD_FAITH$ = {
+						NOT = { has_doctrine = tenet_literalism }
+					}
+				}
+				remove_doctrine = tenet_literalism
+			}
+			if = {
+				limit = {
+					$OLD_FAITH$ = {
+						NOT = { has_doctrine = tenet_adaptive }
+					}
+				}
+				remove_doctrine = tenet_adaptive
+			}
+			if = {
+				limit = {
+					$OLD_FAITH$ = {
+						NOT = { has_doctrine = tenet_legalism }
+					}
+				}
+				remove_doctrine = tenet_legalism
+			}
+			if = {
+				limit = {
+					$OLD_FAITH$ = {
+						NOT = { has_doctrine = tenet_struggle_submission }
+					}
+				}
+				remove_doctrine = tenet_struggle_submission
+			}
+			if = {
+				limit = {
+					$OLD_FAITH$ = {
+						NOT = { has_doctrine = tenet_pacifism }
+					}
+				}
+				remove_doctrine = tenet_pacifism
+			}
+			if = {
+				limit = {
+					$OLD_FAITH$ = {
+						NOT = { has_doctrine = tenet_warmonger }
+					}
+				}
+				remove_doctrine = tenet_warmonger
+			}
+			if = {
+				limit = {
+					$OLD_FAITH$ = {
+						NOT = { has_doctrine = tenet_pursuit_of_power }
+					}
+				}
+				remove_doctrine = tenet_pursuit_of_power
+			}
+			if = {
+				limit = {
+					$OLD_FAITH$ = {
+						NOT = { has_doctrine = tenet_cthonic_redoubts }
+					}
+				}
+				remove_doctrine = tenet_cthonic_redoubts
+			}
+			if = {
+				limit = {
+					$OLD_FAITH$ = {
+						NOT = { has_doctrine = tenet_sanctity_of_nature }
+					}
+				}
+				remove_doctrine = tenet_sanctity_of_nature
+			}
+			if = {
+				limit = {
+					$OLD_FAITH$ = {
+						NOT = { has_doctrine = tenet_megaliths }
+					}
+				}
+				remove_doctrine = tenet_megaliths
+			}
+			if = {
+				limit = {
+					$OLD_FAITH$ = {
+						NOT = { has_doctrine = tenet_islamic_syncretism }
+					}
+				}
+				remove_doctrine = tenet_islamic_syncretism
+			}
+			if = {
+				limit = {
+					$OLD_FAITH$ = {
+						NOT = { has_doctrine = tenet_christian_syncretism }
+					}
+				}
+				remove_doctrine = tenet_christian_syncretism
+			}
+			if = {
+				limit = {
+					$OLD_FAITH$ = {
+						NOT = { has_doctrine = tenet_eastern_syncretism }
+					}
+				}
+				remove_doctrine = tenet_eastern_syncretism
+			}
+			if = {
+				limit = {
+					$OLD_FAITH$ = {
+						NOT = { has_doctrine = tenet_unreformed_syncretism }
+					}
+				}
+				remove_doctrine = tenet_unreformed_syncretism
+			}
+
+			# Copy New Tenets
+			if = {
+				limit = {
+					$OLD_FAITH$ = {
+						has_doctrine = tenet_carnal_exaltation
+					}
+				}
+				add_doctrine = tenet_carnal_exaltation
+			}
+			if = {
+				limit = {
+					$OLD_FAITH$ = {
+						has_doctrine = tenet_sacred_childbirth
+					}
+				}
+				add_doctrine = tenet_sacred_childbirth
+			}
+			if = {
+				limit = {
+					$OLD_FAITH$ = {
+						has_doctrine = tenet_reincarnation
+					}
+				}
+				add_doctrine = tenet_reincarnation
+			}
+			if = {
+				limit = {
+					$OLD_FAITH$ = {
+						has_doctrine = tenet_mystical_birthright
+					}
+				}
+				add_doctrine = tenet_mystical_birthright
+			}
+			if = {
+				limit = {
+					$OLD_FAITH$ = {
+						has_doctrine = tenet_natural_primitivism
+					}
+				}
+				add_doctrine = tenet_natural_primitivism
+			}
+			if = {
+				limit = {
+					$OLD_FAITH$ = {
+						has_doctrine = tenet_sacred_shadows
+					}
+				}
+				add_doctrine = tenet_sacred_shadows
+			}
+			if = {
+				limit = {
+					$OLD_FAITH$ = {
+						has_doctrine = tenet_communal_identity
+					}
+				}
+				add_doctrine = tenet_communal_identity
+			}
+			if = {
+				limit = {
+					$OLD_FAITH$ = {
+						has_doctrine = tenet_ancestor_worship
+					}
+				}
+				add_doctrine = tenet_ancestor_worship
+			}
+			if = {
+				limit = {
+					$OLD_FAITH$ = {
+						has_doctrine = tenet_astrology
+					}
+				}
+				add_doctrine = tenet_astrology
+			}
+			if = {
+				limit = {
+					$OLD_FAITH$ = {
+						has_doctrine = tenet_asceticism
+					}
+				}
+				add_doctrine = tenet_asceticism
+			}
+			if = {
+				limit = {
+					$OLD_FAITH$ = {
+						has_doctrine = tenet_esotericism
+					}
+				}
+				add_doctrine = tenet_esotericism
+			}
+			if = {
+				limit = {
+					$OLD_FAITH$ = {
+						has_doctrine = tenet_literalism
+					}
+				}
+				add_doctrine = tenet_literalism
+			}
+			if = {
+				limit = {
+					$OLD_FAITH$ = {
+						has_doctrine = tenet_adaptive
+					}
+				}
+				add_doctrine = tenet_adaptive
+			}
+			if = {
+				limit = {
+					$OLD_FAITH$ = {
+						has_doctrine = tenet_legalism
+					}
+				}
+				add_doctrine = tenet_legalism
+			}
+			if = {
+				limit = {
+					$OLD_FAITH$ = {
+						has_doctrine = tenet_struggle_submission
+					}
+				}
+				add_doctrine = tenet_struggle_submission
+			}
+			if = {
+				limit = {
+					$OLD_FAITH$ = {
+						has_doctrine = tenet_pacifism
+					}
+				}
+				add_doctrine = tenet_pacifism
+			}
+			if = {
+				limit = {
+					$OLD_FAITH$ = {
+						has_doctrine = tenet_warmonger
+					}
+				}
+				add_doctrine = tenet_warmonger
+			}
+			if = {
+				limit = {
+					$OLD_FAITH$ = {
+						has_doctrine = tenet_pursuit_of_power
+					}
+				}
+				add_doctrine = tenet_pursuit_of_power
+			}
+			if = {
+				limit = {
+					$OLD_FAITH$ = {
+						has_doctrine = tenet_cthonic_redoubts
+					}
+				}
+				add_doctrine = tenet_cthonic_redoubts
+			}
+			if = {
+				limit = {
+					$OLD_FAITH$ = {
+						has_doctrine = tenet_sanctity_of_nature
+					}
+				}
+				add_doctrine = tenet_sanctity_of_nature
+			}
+			if = {
+				limit = {
+					$OLD_FAITH$ = {
+						has_doctrine = tenet_megaliths
+					}
+				}
+				add_doctrine = tenet_megaliths
+			}
+			if = {
+				limit = {
+					$OLD_FAITH$ = {
+						has_doctrine = tenet_islamic_syncretism
+					}
+				}
+				add_doctrine = tenet_islamic_syncretism
+			}
+			if = {
+				limit = {
+					$OLD_FAITH$ = {
+						has_doctrine = tenet_christian_syncretism
+					}
+				}
+				add_doctrine = tenet_christian_syncretism
+			}
+			if = {
+				limit = {
+					$OLD_FAITH$ = {
+						has_doctrine = tenet_eastern_syncretism
+					}
+				}
+				add_doctrine = tenet_eastern_syncretism
+			}
+			if = {
+				limit = {
+					$OLD_FAITH$ = {
+						has_doctrine = tenet_unreformed_syncretism
+					}
+				}
+				add_doctrine = tenet_unreformed_syncretism
+			}
+		}
+
 		$OLD_FAITH$ = {
 			every_faith_character = {
 				set_character_faith = $NEW_FAITH$
diff --git a/Regula_Magistri/common/scripted_effects/regula_religious_proclamation_effects.txt b/Regula_Magistri/common/scripted_effects/regula_religious_proclamation_effects.txt
index cce79986..4213a8f9 100644
--- a/Regula_Magistri/common/scripted_effects/regula_religious_proclamation_effects.txt
+++ b/Regula_Magistri/common/scripted_effects/regula_religious_proclamation_effects.txt
@@ -1,31 +1,25 @@
-regula_religious_proclamation_tenet_count_decrease = {
+regula_religious_proclamation_setup = {
 	if = {
 		limit = {
-			NOT = { has_global_variable = global_var:regula_religious_tenet_count }
+			NOT = { has_global_variable = regula_religious_tenet_count }
 		}
 		set_global_variable = {
 			name = regula_religious_tenet_count
 			value = 1
 		}
 	}
+}
+
+regula_religious_proclamation_tenet_count_decrease = {
 	change_global_variable = {
 		name = regula_religious_tenet_count
-		subtract=1
+		subtract = 1
 	}
 }
 
 regula_religious_proclamation_tenet_count_increase = {
-	if = {
-		limit = {
-			NOT = { has_global_variable = global_var:regula_religious_tenet_count }
-		}
-		set_global_variable = {
-			name = regula_religious_tenet_count
-			value = 0
-		}
-	}
 	change_global_variable = {
 		name = regula_religious_tenet_count
-		add=1
+		add = 1
 	}
-}
\ No newline at end of file
+}
diff --git a/Regula_Magistri/common/scripted_triggers/regula_religious_proclamation_triggers.txt b/Regula_Magistri/common/scripted_triggers/regula_religious_proclamation_triggers.txt
index a80c9336..ed1c54de 100644
--- a/Regula_Magistri/common/scripted_triggers/regula_religious_proclamation_triggers.txt
+++ b/Regula_Magistri/common/scripted_triggers/regula_religious_proclamation_triggers.txt
@@ -4,15 +4,19 @@ regula_religious_proclamation_can_add_tenet = {
 			has_doctrine = $TENET$
 		}
 		global_var:regula_religious_tenet_count < 3
-		NOT = { has_global_variable = global_var:regula_religious_tenet_count }
+		NOT = { has_global_variable = regula_religious_tenet_count }
 	}
 }
 
 regula_religious_proclamation_show_unavailable = {
-	NOT = {
-		global_var:magister_character.faith = {
-			has_doctrine = $TENET$
+	# TODO: Custom Tooltip is not working
+	custom_tooltip = {
+		text = regula_religious_proclamation.1000.max_cap
+		NOT = {
+			global_var:magister_character.faith = {
+				has_doctrine = $TENET$
+			}
 		}
+		global_var:regula_religious_tenet_count > 2
 	}
-	global_var:regula_religious_tenet_count > 3
 }
\ No newline at end of file
diff --git a/Regula_Magistri/events/decisions/regula_religious_proclamation_events.txt b/Regula_Magistri/events/decisions/regula_religious_proclamation_events.txt
new file mode 100644
index 00000000..409acd57
--- /dev/null
+++ b/Regula_Magistri/events/decisions/regula_religious_proclamation_events.txt
@@ -0,0 +1,1427 @@
+namespace = regula_religious_proclamation
+
+regula_religious_proclamation.1000 = { # Religious Proclamation - Menu
+	type = character_event
+	title = regula_religious_proclamation.1000.t
+	desc = {
+		desc = regula_religious_proclamation.1000.desc
+		desc = line_break
+		desc = line_break
+		desc = regula_religious_proclamation.1000.desc_cap
+	}
+
+	theme = regula_theme
+	override_background = {
+		reference = throne_room
+	}
+	right_portrait = {
+		character = global_var:magister_character
+		animation = personality_bold
+	}
+
+	immediate = {
+		regula_religious_proclamation_setup = yes
+	}
+
+	option = { # Identity
+		name = regula_religious_proclamation.1000.a
+		trigger_event = {
+			id = regula_religious_proclamation.1100
+		}
+	}
+
+	option = { # War
+		name = regula_religious_proclamation.1000.b
+		trigger_event = {
+			id = regula_religious_proclamation.1110
+		}
+	}
+
+	option = { # Nature
+		name = regula_religious_proclamation.1000.c
+		trigger_event = {
+			id = regula_religious_proclamation.1120
+		}
+	}
+
+	 option = { # Reason
+	 	name = regula_religious_proclamation.1000.d
+	 	trigger_event = {
+	 		id = regula_religious_proclamation.1130
+	    }
+	}
+
+    option = { # Tolerance
+        name = regula_religious_proclamation.1000.f
+        trigger_event = {
+            id = regula_religious_proclamation.1140
+        }
+    }
+
+	option = {
+		name = regula_religious_proclamation.1000.cancel
+		remove_decision_cooldown = regula_religious_proclamation_decision
+	}
+}
+
+
+regula_religious_proclamation.1100 = { # Religious Proclamation - Identity
+	type = character_event
+	title = regula_religious_proclamation.1000.t
+	desc = {
+		desc = regula_religious_proclamation.1000.desc
+		desc = line_break
+		desc = line_break
+		desc = regula_religious_proclamation.1000.desc_cap
+	}
+
+	theme = regula_theme
+	override_background = {
+		reference = throne_room
+	}
+	right_portrait = {
+		character = global_var:magister_character
+		animation = personality_bold
+	}
+
+	option = { # Carnal Exaltation
+		name = regula_religious_proclamation.1000.carnal
+		trigger = {
+			regula_religious_proclamation_can_add_tenet = { TENET = tenet_carnal_exaltation }
+		}
+		show_as_unavailable = {
+			regula_religious_proclamation_show_unavailable = { TENET = tenet_carnal_exaltation }
+		}
+		global_var:magister_character.faith = {
+			if = {
+				limit = {
+					has_doctrine = tenet_carnal_exaltation
+				}
+				remove_doctrine = tenet_carnal_exaltation
+				regula_religious_proclamation_tenet_count_decrease = yes
+			}
+			else = {
+				add_doctrine = tenet_carnal_exaltation
+				regula_religious_proclamation_tenet_count_increase = yes
+			}
+		}
+	}
+	option = { # Sacred Childbirth
+		name = regula_religious_proclamation.1000.childbirth
+		trigger = {
+			OR = {
+				regula_religious_proclamation_can_add_tenet = { TENET = tenet_sacred_childbirth }
+				global_var:magister_character.faith = {  # Can swap out a tenet
+					OR = {
+						has_doctrine = tenet_sacred_childbirth
+						has_doctrine = tenet_reincarnation
+						has_doctrine = tenet_mystical_birthright
+					}
+				}
+			}
+		}
+		show_as_unavailable = {
+			regula_religious_proclamation_show_unavailable = { TENET = tenet_sacred_childbirth }
+		}
+		global_var:magister_character.faith = {
+			if = {
+				limit = {
+					has_doctrine = tenet_sacred_childbirth
+				}
+				remove_doctrine = tenet_sacred_childbirth
+				regula_religious_proclamation_tenet_count_decrease = yes
+			}
+			else = {
+				add_doctrine = tenet_sacred_childbirth
+				regula_religious_proclamation_tenet_count_increase = yes
+				if = {
+					limit = {
+						has_doctrine = tenet_reincarnation
+					}
+					remove_doctrine = tenet_reincarnation
+					regula_religious_proclamation_tenet_count_decrease = yes
+				}
+				if = {
+					limit = {
+						has_doctrine = tenet_mystical_birthright
+					}
+					remove_doctrine = tenet_mystical_birthright
+					regula_religious_proclamation_tenet_count_decrease = yes
+				}
+			}
+			
+		}
+	}
+	option = { # Reincarnation
+		name = regula_religious_proclamation.1000.reincarnation
+		trigger = {
+			OR = {
+				regula_religious_proclamation_can_add_tenet = { TENET = tenet_reincarnation }
+				global_var:magister_character.faith = {  # Can swap out a tenet
+					OR = {
+						has_doctrine = tenet_sacred_childbirth
+						has_doctrine = tenet_reincarnation
+						has_doctrine = tenet_mystical_birthright
+					}
+				}
+			}
+		}
+		show_as_unavailable = {
+			regula_religious_proclamation_show_unavailable = { TENET = tenet_reincarnation }
+		}
+		global_var:magister_character.faith = {
+			if = {
+				limit = {
+					has_doctrine = tenet_reincarnation
+				}
+				remove_doctrine = tenet_reincarnation
+				regula_religious_proclamation_tenet_count_decrease = yes
+			}
+			else = {
+				add_doctrine = tenet_reincarnation
+				regula_religious_proclamation_tenet_count_increase = yes
+				if = {
+					limit = {
+						has_doctrine = tenet_sacred_childbirth
+					}
+					remove_doctrine = tenet_sacred_childbirth
+					regula_religious_proclamation_tenet_count_decrease = yes
+				}
+				if = {
+					limit = {
+						has_doctrine = tenet_mystical_birthright
+					}
+					remove_doctrine = tenet_mystical_birthright
+					regula_religious_proclamation_tenet_count_decrease = yes
+				}
+			}
+		}
+	}
+	option = {  # Mystical Birthright
+		name = regula_religious_proclamation.1000.birthright
+		trigger = {
+			OR = {
+				regula_religious_proclamation_can_add_tenet = { TENET = tenet_mystical_birthright }
+				global_var:magister_character.faith = {  # Can swap out a tenet
+					OR = {
+						has_doctrine = tenet_sacred_childbirth
+						has_doctrine = tenet_reincarnation
+						has_doctrine = tenet_mystical_birthright
+					}
+				}
+			}
+		}
+		show_as_unavailable = {
+			regula_religious_proclamation_show_unavailable = { TENET = tenet_mystical_birthright }
+		}
+		global_var:magister_character.faith = {
+			if = {
+				limit = {
+					has_doctrine = tenet_mystical_birthright
+				}
+				remove_doctrine = tenet_mystical_birthright
+				regula_religious_proclamation_tenet_count_decrease = yes
+			}
+			else = {
+				add_doctrine = tenet_mystical_birthright
+				regula_religious_proclamation_tenet_count_increase = yes
+				if = {
+					limit = {
+						has_doctrine = tenet_sacred_childbirth
+					}
+					remove_doctrine = tenet_sacred_childbirth
+					regula_religious_proclamation_tenet_count_decrease = yes
+				}
+				if = {
+					limit = {
+						has_doctrine = tenet_reincarnation
+					}
+					remove_doctrine = tenet_reincarnation
+					regula_religious_proclamation_tenet_count_decrease = yes
+				}
+			}
+		}
+	}
+	option = {
+		name = regula_religious_proclamation.1000.next
+		trigger_event = {
+			id = regula_religious_proclamation.1101
+		}
+	}
+	option = {
+		name = regula_religious_proclamation.1000.return
+		trigger_event = {
+			id = regula_religious_proclamation.1000
+		}
+	}
+}
+
+regula_religious_proclamation.1101 = { # Religious Proclamation - Identity II
+	type = character_event
+	title = regula_religious_proclamation.1000.t
+	desc = {
+		desc = regula_religious_proclamation.1000.desc
+		desc = line_break
+		desc = line_break
+		desc = regula_religious_proclamation.1000.desc_cap
+	}
+
+	theme = regula_theme
+	override_background = {
+		reference = throne_room
+	}
+	right_portrait = {
+		character = global_var:magister_character
+		animation = personality_bold
+	}
+
+	option = { # Natural Primitivism
+		name = regula_religious_proclamation.1000.naked
+		trigger = {
+			regula_religious_proclamation_can_add_tenet = { TENET = tenet_natural_primitivism }
+		}
+		show_as_unavailable = {
+			regula_religious_proclamation_show_unavailable = { TENET = tenet_natural_primitivism }
+		}
+		global_var:magister_character.faith = {
+			if = {
+				limit = {
+					has_doctrine = tenet_natural_primitivism
+				}
+				remove_doctrine = tenet_natural_primitivism
+				regula_religious_proclamation_tenet_count_decrease = yes
+			}
+			else = {
+				add_doctrine = tenet_natural_primitivism
+				regula_religious_proclamation_tenet_count_increase = yes
+			}
+		}
+	}
+	option = { # Communal Identity
+		name = regula_religious_proclamation.1000.communal_identity
+		trigger = {
+			regula_religious_proclamation_can_add_tenet = { TENET = tenet_communal_identity }
+		}
+		show_as_unavailable = {
+			regula_religious_proclamation_show_unavailable = { TENET = tenet_communal_identity }
+		}
+		global_var:magister_character.faith = {
+			if = {
+				limit = {
+					has_doctrine = tenet_communal_identity
+				}
+				remove_doctrine = tenet_communal_identity
+				regula_religious_proclamation_tenet_count_decrease = yes
+			}
+			else = {
+				add_doctrine = tenet_communal_identity
+				regula_religious_proclamation_tenet_count_increase = yes
+			}
+		}
+	}
+    option = { # Ancestor Worship
+		name = regula_religious_proclamation.1000.ancestor_worship
+		trigger = {
+			regula_religious_proclamation_can_add_tenet = { TENET = tenet_ancestor_worship }
+		}
+		show_as_unavailable = {
+			regula_religious_proclamation_show_unavailable = { TENET = tenet_ancestor_worship }
+		}
+		global_var:magister_character.faith = {
+			if = {
+				limit = {
+					has_doctrine = tenet_ancestor_worship
+				}
+				remove_doctrine = tenet_ancestor_worship
+				regula_religious_proclamation_tenet_count_decrease = yes
+			}
+			else = {
+				add_doctrine = tenet_ancestor_worship
+				regula_religious_proclamation_tenet_count_increase = yes
+			}
+		}
+	}
+	option = {
+		name = regula_religious_proclamation.1000.back
+		trigger_event = {
+			id = regula_religious_proclamation.1100
+		}
+	}
+	option = {
+		name = regula_religious_proclamation.1000.return
+		trigger_event = {
+			id = regula_religious_proclamation.1000
+		}
+	}
+}
+
+regula_religious_proclamation.1110 = { # Religious Proclamation - War
+	type = character_event
+	title = regula_religious_proclamation.1000.t
+	desc = {
+		desc = regula_religious_proclamation.1000.desc
+		desc = line_break
+		desc = line_break
+		desc = regula_religious_proclamation.1000.desc_cap
+	}
+
+	theme = regula_theme
+	override_background = {
+		reference = throne_room
+	}
+	right_portrait = {
+		character = global_var:magister_character
+		animation = personality_bold
+	}
+
+	option = { # Struggle Submission
+		name = regula_religious_proclamation.1000.struggle_submission
+		trigger = {
+			OR = {
+				regula_religious_proclamation_can_add_tenet = { TENET = tenet_struggle_submission }
+				global_var:magister_character.faith = {  # Can swap out a tenet
+					OR = {
+						has_doctrine = tenet_struggle_submission
+						has_doctrine = tenet_pacifism
+						has_doctrine = tenet_warmonger
+						has_doctrine = tenet_pursuit_of_power
+					}
+				}
+			}
+		}
+		show_as_unavailable = {
+			regula_religious_proclamation_show_unavailable = { TENET = tenet_struggle_submission }
+		}
+		global_var:magister_character.faith = {
+			if = {
+				limit = {
+					has_doctrine = tenet_struggle_submission
+				}
+				remove_doctrine = tenet_struggle_submission
+				regula_religious_proclamation_tenet_count_decrease = yes
+			}
+			else = {
+				add_doctrine = tenet_struggle_submission
+				regula_religious_proclamation_tenet_count_increase = yes
+				if = {
+					limit = {
+						has_doctrine = tenet_pacifism
+					}
+					remove_doctrine = tenet_pacifism
+					regula_religious_proclamation_tenet_count_decrease = yes
+				}
+				if = {
+					limit = {
+						has_doctrine = tenet_warmonger
+					}
+					remove_doctrine = tenet_warmonger
+					regula_religious_proclamation_tenet_count_decrease = yes
+				}
+				if = {
+					limit = {
+						has_doctrine = tenet_pursuit_of_power
+					}
+					remove_doctrine = tenet_pursuit_of_power
+					regula_religious_proclamation_tenet_count_decrease = yes
+				}
+			}
+		}
+	}
+
+	option = { # Warmonger
+		name = regula_religious_proclamation.1000.warmonger
+		trigger = {
+			OR = {
+				regula_religious_proclamation_can_add_tenet = { TENET = tenet_warmonger }
+				global_var:magister_character.faith = {  # Can swap out a tenet
+					OR = {
+						has_doctrine = tenet_struggle_submission
+						has_doctrine = tenet_pacifism
+						has_doctrine = tenet_warmonger
+						has_doctrine = tenet_pursuit_of_power
+					}
+				}
+			}
+		}
+		show_as_unavailable = {
+			regula_religious_proclamation_show_unavailable = { TENET = tenet_warmonger }
+		}
+		global_var:magister_character.faith = {
+			if = {
+				limit = {
+					has_doctrine = tenet_warmonger
+				}
+				remove_doctrine = tenet_warmonger
+				regula_religious_proclamation_tenet_count_decrease = yes
+			}
+			else = {
+				add_doctrine = tenet_warmonger
+				regula_religious_proclamation_tenet_count_increase = yes
+				if = {
+					limit = {
+						has_doctrine = tenet_pacifism
+					}
+					remove_doctrine = tenet_pacifism
+					regula_religious_proclamation_tenet_count_decrease = yes
+				}
+				if = {
+					limit = {
+						has_doctrine = tenet_struggle_submission
+					}
+					remove_doctrine = tenet_struggle_submission
+					regula_religious_proclamation_tenet_count_decrease = yes
+				}
+				if = {
+					limit = {
+						has_doctrine = tenet_pursuit_of_power
+					}
+					remove_doctrine = tenet_pursuit_of_power
+					regula_religious_proclamation_tenet_count_decrease = yes
+				}
+			}
+		}
+	}
+
+	option = { # Pursuit of Power
+		name = regula_religious_proclamation.1000.pursuit_of_power
+		trigger = {
+			OR = {
+				regula_religious_proclamation_can_add_tenet = { TENET = tenet_pursuit_of_power }
+				global_var:magister_character.faith = {  # Can swap out a tenet
+					OR = {
+						has_doctrine = tenet_struggle_submission
+						has_doctrine = tenet_pacifism
+						has_doctrine = tenet_warmonger
+						has_doctrine = tenet_pursuit_of_power
+					}
+				}
+			}
+		}
+		show_as_unavailable = {
+			regula_religious_proclamation_show_unavailable = { TENET = tenet_pursuit_of_power }
+		}
+		global_var:magister_character.faith = {
+			if = {
+				limit = {
+					has_doctrine = tenet_pursuit_of_power
+				}
+				remove_doctrine = tenet_pursuit_of_power
+				regula_religious_proclamation_tenet_count_decrease = yes
+			}
+			else = {
+				add_doctrine = tenet_pursuit_of_power
+				regula_religious_proclamation_tenet_count_increase = yes
+				if = {
+					limit = {
+						has_doctrine = tenet_pacifism
+					}
+					remove_doctrine = tenet_pacifism
+					regula_religious_proclamation_tenet_count_decrease = yes
+				}
+				if = {
+					limit = {
+						has_doctrine = tenet_struggle_submission
+					}
+					remove_doctrine = tenet_struggle_submission
+					regula_religious_proclamation_tenet_count_decrease = yes
+				}
+				if = {
+					limit = {
+						has_doctrine = tenet_warmonger
+					}
+					remove_doctrine = tenet_warmonger
+					regula_religious_proclamation_tenet_count_decrease = yes
+				}
+			}
+		}
+	}
+
+	option = { # Pacifism
+		name = regula_religious_proclamation.1000.pacifism
+		trigger = {
+			OR = {
+				regula_religious_proclamation_can_add_tenet = { TENET = tenet_pacifism }
+				global_var:magister_character.faith = {  # Can swap out a tenet
+					OR = {
+						has_doctrine = tenet_struggle_submission
+						has_doctrine = tenet_pacifism
+						has_doctrine = tenet_warmonger
+						has_doctrine = tenet_pursuit_of_power
+					}
+				}
+			}
+		}
+		show_as_unavailable = {
+			regula_religious_proclamation_show_unavailable = { TENET = tenet_pacifism }
+		}
+		global_var:magister_character.faith = {
+			if = {
+				limit = {
+					has_doctrine = tenet_pacifism
+				}
+				remove_doctrine = tenet_pacifism
+				regula_religious_proclamation_tenet_count_decrease = yes
+			}
+			else = {
+				add_doctrine = tenet_pacifism
+				regula_religious_proclamation_tenet_count_increase = yes
+				if = {
+					limit = {
+						has_doctrine = tenet_warmonger
+					}
+					remove_doctrine = tenet_warmonger
+					regula_religious_proclamation_tenet_count_decrease = yes
+				}
+				if = {
+					limit = {
+						has_doctrine = tenet_struggle_submission
+					}
+					remove_doctrine = tenet_struggle_submission
+					regula_religious_proclamation_tenet_count_decrease = yes
+				}
+				if = {
+					limit = {
+						has_doctrine = tenet_pursuit_of_power
+					}
+					remove_doctrine = tenet_pursuit_of_power
+					regula_religious_proclamation_tenet_count_decrease = yes
+				}
+				if = {
+					limit = {
+						has_doctrine = tenet_pursuit_of_power
+					}
+					remove_doctrine = tenet_pursuit_of_power
+					regula_religious_proclamation_tenet_count_decrease = yes
+				}
+			}
+		}
+	}
+
+	option = {
+		name = regula_religious_proclamation.1000.return
+		trigger_event = {
+			id = regula_religious_proclamation.1000
+		}
+	}
+}
+
+regula_religious_proclamation.1120 = { # Religious Proclamation - Nature
+	type = character_event
+	title = regula_religious_proclamation.1000.t
+	desc = {
+		desc = regula_religious_proclamation.1000.desc
+		desc = line_break
+		desc = line_break
+		desc = regula_religious_proclamation.1000.desc_cap
+	}
+
+	theme = regula_theme
+	override_background = {
+		reference = throne_room
+	}
+	right_portrait = {
+		character = global_var:magister_character
+		animation = personality_bold
+	}
+
+	
+	option = { # Megaliths
+		name = regula_religious_proclamation.1000.megaliths
+		trigger = {
+			OR = {
+				regula_religious_proclamation_can_add_tenet = { TENET = tenet_megaliths }
+				global_var:magister_character.faith = {  # Can swap out a tenet
+					OR = {
+						has_doctrine = tenet_cthonic_redoubts
+						has_doctrine = tenet_sanctity_of_nature
+						has_doctrine = tenet_megaliths
+					}
+				}
+			}
+		}
+		show_as_unavailable = {
+			regula_religious_proclamation_show_unavailable = { TENET = tenet_megaliths }
+		}
+		global_var:magister_character.faith = {
+			if = {
+				limit = {
+					has_doctrine = tenet_megaliths
+				}
+				remove_doctrine = tenet_megaliths
+				regula_religious_proclamation_tenet_count_decrease = yes
+			}
+			else = {
+				add_doctrine = tenet_megaliths
+				regula_religious_proclamation_tenet_count_increase = yes
+				if = {
+					limit = {
+						has_doctrine = tenet_cthonic_redoubts
+					}
+					remove_doctrine = tenet_cthonic_redoubts
+					regula_religious_proclamation_tenet_count_decrease = yes
+				}
+				if = {
+					limit = {
+						has_doctrine = tenet_sanctity_of_nature
+					}
+					remove_doctrine = tenet_sanctity_of_nature
+					regula_religious_proclamation_tenet_count_decrease = yes
+				}
+			}
+		}
+	}
+	option = { # Sanctity of Nature
+		name = regula_religious_proclamation.1000.sanctity_of_nature
+		trigger = {
+			OR = {
+				regula_religious_proclamation_can_add_tenet = { TENET = tenet_sanctity_of_nature }
+				global_var:magister_character.faith = {  # Can swap out a tenet
+					OR = {
+						has_doctrine = tenet_cthonic_redoubts
+						has_doctrine = tenet_sanctity_of_nature
+						has_doctrine = tenet_megaliths
+					}
+				}
+			}
+		}
+		show_as_unavailable = {
+			regula_religious_proclamation_show_unavailable = { TENET = tenet_sanctity_of_nature }
+		}
+		global_var:magister_character.faith = {
+			if = {
+				limit = {
+					has_doctrine = tenet_sanctity_of_nature
+				}
+				remove_doctrine = tenet_sanctity_of_nature
+				regula_religious_proclamation_tenet_count_decrease = yes
+			}
+			else = {
+				add_doctrine = tenet_sanctity_of_nature
+				regula_religious_proclamation_tenet_count_increase = yes
+				if = {
+					limit = {
+						has_doctrine = tenet_cthonic_redoubts
+					}
+					remove_doctrine = tenet_cthonic_redoubts
+					regula_religious_proclamation_tenet_count_decrease = yes
+				}
+				if = {
+					limit = {
+						has_doctrine = tenet_megaliths
+					}
+					remove_doctrine = tenet_megaliths
+					regula_religious_proclamation_tenet_count_decrease = yes
+				}
+			}
+		}
+	}
+	option = { # Redoubts
+		name = regula_religious_proclamation.1000.redoubts
+		trigger = {
+			OR = {
+				regula_religious_proclamation_can_add_tenet = { TENET = tenet_cthonic_redoubts }
+				global_var:magister_character.faith = {  # Can swap out a tenet
+					OR = {
+						has_doctrine = tenet_cthonic_redoubts
+						has_doctrine = tenet_sanctity_of_nature
+						has_doctrine = tenet_megaliths
+					}
+				}
+			}
+		}
+		show_as_unavailable = {
+			regula_religious_proclamation_show_unavailable = { TENET = tenet_cthonic_redoubts }
+		}
+		global_var:magister_character.faith = {
+			if = {
+				limit = {
+					has_doctrine = tenet_cthonic_redoubts
+				}
+				remove_doctrine = tenet_cthonic_redoubts
+				regula_religious_proclamation_tenet_count_decrease = yes
+			}
+			else = {
+				add_doctrine = tenet_cthonic_redoubts
+				regula_religious_proclamation_tenet_count_increase = yes
+				if = {
+					limit = {
+						has_doctrine = tenet_sanctity_of_nature
+					}
+					remove_doctrine = tenet_sanctity_of_nature
+					regula_religious_proclamation_tenet_count_decrease = yes
+				}
+				if = {
+					limit = {
+						has_doctrine = tenet_megaliths
+					}
+					remove_doctrine = tenet_megaliths
+					regula_religious_proclamation_tenet_count_decrease = yes
+				}
+			}
+		}
+	}
+	option = {
+		name = regula_religious_proclamation.1000.return
+		trigger_event = {
+			id = regula_religious_proclamation.1000
+		}
+	}
+}
+
+regula_religious_proclamation.1130 = { # Religious Proclamation - Reason
+	type = character_event
+	title = regula_religious_proclamation.1000.t
+	desc = {
+		desc = regula_religious_proclamation.1000.desc
+		desc = line_break
+		desc = line_break
+		desc = regula_religious_proclamation.1000.desc_cap
+	}
+
+	theme = regula_theme
+	override_background = {
+		reference = throne_room
+	}
+	right_portrait = {
+		character = global_var:magister_character
+		animation = personality_bold
+	}
+
+	option = { # Asceticism
+		name = regula_religious_proclamation.1000.asceticism
+		trigger = {
+			OR = {
+				regula_religious_proclamation_can_add_tenet = { TENET = tenet_asceticism }
+				global_var:magister_character.faith = {  # Can swap out a tenet
+					OR = {
+						has_doctrine = tenet_asceticism
+						has_doctrine = tenet_esotericism
+						has_doctrine = tenet_literalism
+						has_doctrine = tenet_adaptive
+						has_doctrine = tenet_legalism
+					}
+				}
+			}
+		}
+		show_as_unavailable = {
+			regula_religious_proclamation_show_unavailable = { TENET = tenet_asceticism }
+		}
+		global_var:magister_character.faith = {
+			if = {
+				limit = {
+					has_doctrine = tenet_asceticism
+				}
+				remove_doctrine = tenet_asceticism
+				regula_religious_proclamation_tenet_count_decrease = yes
+			}
+			else = {
+				add_doctrine = tenet_asceticism
+				regula_religious_proclamation_tenet_count_increase = yes
+				if = {
+					limit = {
+						has_doctrine = tenet_esotericism
+					}
+					remove_doctrine = tenet_esotericism
+					regula_religious_proclamation_tenet_count_decrease = yes
+				}
+				if = {
+					limit = {
+						has_doctrine = tenet_literalism
+					}
+					remove_doctrine = tenet_literalism
+					regula_religious_proclamation_tenet_count_decrease = yes
+				}
+				if = {
+					limit = {
+						has_doctrine = tenet_adaptive
+					}
+					remove_doctrine = tenet_adaptive
+					regula_religious_proclamation_tenet_count_decrease = yes
+				}
+				if = {
+					limit = {
+						has_doctrine = tenet_legalism
+					}
+					remove_doctrine = tenet_legalism
+					regula_religious_proclamation_tenet_count_decrease = yes
+				}
+			}
+		}
+	}
+	option = { # Esotericism
+		name = regula_religious_proclamation.1000.esotericism
+		trigger = {
+			OR = {
+				regula_religious_proclamation_can_add_tenet = { TENET = tenet_esotericism }
+				global_var:magister_character.faith = {  # Can swap out a tenet
+					OR = {
+						has_doctrine = tenet_asceticism
+						has_doctrine = tenet_esotericism
+						has_doctrine = tenet_literalism
+						has_doctrine = tenet_adaptive
+						has_doctrine = tenet_legalism
+					}
+				}
+			}
+		}
+		show_as_unavailable = {
+			regula_religious_proclamation_show_unavailable = { TENET = tenet_esotericism }
+		}
+		global_var:magister_character.faith = {
+			if = {
+				limit = {
+					has_doctrine = tenet_esotericism
+				}
+				remove_doctrine = tenet_esotericism
+				regula_religious_proclamation_tenet_count_decrease = yes
+			}
+			else = {
+				add_doctrine = tenet_esotericism
+				regula_religious_proclamation_tenet_count_increase = yes
+				if = {
+					limit = {
+						has_doctrine = tenet_asceticism
+					}
+					remove_doctrine = tenet_asceticism
+					regula_religious_proclamation_tenet_count_decrease = yes
+				}
+				if = {
+					limit = {
+						has_doctrine = tenet_literalism
+					}
+					remove_doctrine = tenet_literalism
+					regula_religious_proclamation_tenet_count_decrease = yes
+				}
+				if = {
+					limit = {
+						has_doctrine = tenet_adaptive
+					}
+					remove_doctrine = tenet_adaptive
+					regula_religious_proclamation_tenet_count_decrease = yes
+				}
+				if = {
+					limit = {
+						has_doctrine = tenet_legalism
+					}
+					remove_doctrine = tenet_legalism
+					regula_religious_proclamation_tenet_count_decrease = yes
+				}
+			}
+		}
+	}
+	option = { # Literalism
+		name = regula_religious_proclamation.1000.literalism
+		trigger = {
+			OR = {
+				regula_religious_proclamation_can_add_tenet = { TENET = tenet_literalism }
+				global_var:magister_character.faith = {  # Can swap out a tenet
+					OR = {
+						has_doctrine = tenet_asceticism
+						has_doctrine = tenet_esotericism
+						has_doctrine = tenet_literalism
+						has_doctrine = tenet_adaptive
+						has_doctrine = tenet_legalism
+					}
+				}
+			}
+		}
+		show_as_unavailable = {
+			regula_religious_proclamation_show_unavailable = { TENET = tenet_literalism }
+		}
+		global_var:magister_character.faith = {
+			if = {
+				limit = {
+					has_doctrine = tenet_literalism
+				}
+				remove_doctrine = tenet_literalism
+				regula_religious_proclamation_tenet_count_decrease = yes
+			}
+			else = {
+				add_doctrine = tenet_literalism
+				regula_religious_proclamation_tenet_count_increase = yes
+				if = {
+					limit = {
+						has_doctrine = tenet_asceticism
+					}
+					remove_doctrine = tenet_asceticism
+					regula_religious_proclamation_tenet_count_decrease = yes
+				}
+				if = {
+					limit = {
+						has_doctrine = tenet_esotericism
+					}
+					remove_doctrine = tenet_esotericism
+					regula_religious_proclamation_tenet_count_decrease = yes
+				}
+				if = {
+					limit = {
+						has_doctrine = tenet_adaptive
+					}
+					remove_doctrine = tenet_adaptive
+					regula_religious_proclamation_tenet_count_decrease = yes
+				}
+				if = {
+					limit = {
+						has_doctrine = tenet_legalism
+					}
+					remove_doctrine = tenet_legalism
+					regula_religious_proclamation_tenet_count_decrease = yes
+				}
+			}
+		}
+	}
+	option = { # Adaptive
+		name = regula_religious_proclamation.1000.adaptive
+		trigger = {
+			OR = {
+				regula_religious_proclamation_can_add_tenet = { TENET = tenet_adaptive }
+				global_var:magister_character.faith = {  # Can swap out a tenet
+					OR = {
+						has_doctrine = tenet_asceticism
+						has_doctrine = tenet_esotericism
+						has_doctrine = tenet_literalism
+						has_doctrine = tenet_adaptive
+						has_doctrine = tenet_legalism
+					}
+				}
+			}
+		}
+		show_as_unavailable = {
+			regula_religious_proclamation_show_unavailable = { TENET = tenet_adaptive }
+		}
+		global_var:magister_character.faith = {
+			if = {
+				limit = {
+					has_doctrine = tenet_adaptive
+				}
+				remove_doctrine = tenet_adaptive
+				regula_religious_proclamation_tenet_count_decrease = yes
+			}
+			else = {
+				add_doctrine = tenet_adaptive
+				regula_religious_proclamation_tenet_count_increase = yes
+				if = {
+					limit = {
+						has_doctrine = tenet_asceticism
+					}
+					remove_doctrine = tenet_asceticism
+					regula_religious_proclamation_tenet_count_decrease = yes
+				}
+				if = {
+					limit = {
+						has_doctrine = tenet_esotericism
+					}
+					remove_doctrine = tenet_esotericism
+					regula_religious_proclamation_tenet_count_decrease = yes
+				}
+				if = {
+					limit = {
+						has_doctrine = tenet_literalism
+					}
+					remove_doctrine = tenet_literalism
+					regula_religious_proclamation_tenet_count_decrease = yes
+				}
+				if = {
+					limit = {
+						has_doctrine = tenet_legalism
+					}
+					remove_doctrine = tenet_legalism
+					regula_religious_proclamation_tenet_count_decrease = yes
+				}
+			}
+		}
+	}
+	option = { # Legalism
+		name = regula_religious_proclamation.1000.legalism
+		trigger = {
+			OR = {
+				regula_religious_proclamation_can_add_tenet = { TENET = tenet_legalism }
+				global_var:magister_character.faith = {  # Can swap out a tenet
+					OR = {
+						has_doctrine = tenet_asceticism
+						has_doctrine = tenet_esotericism
+						has_doctrine = tenet_literalism
+						has_doctrine = tenet_adaptive
+						has_doctrine = tenet_legalism
+					}
+				}
+			}
+		}
+		show_as_unavailable = {
+			regula_religious_proclamation_show_unavailable = { TENET = tenet_legalism }
+		}
+		global_var:magister_character.faith = {
+			if = {
+				limit = {
+					has_doctrine = tenet_legalism
+				}
+				remove_doctrine = tenet_legalism
+				regula_religious_proclamation_tenet_count_decrease = yes
+			}
+			else = {
+				add_doctrine = tenet_legalism
+				regula_religious_proclamation_tenet_count_increase = yes
+				if = {
+					limit = {
+						has_doctrine = tenet_asceticism
+					}
+					remove_doctrine = tenet_asceticism
+					regula_religious_proclamation_tenet_count_decrease = yes
+				}
+				if = {
+					limit = {
+						has_doctrine = tenet_esotericism
+					}
+					remove_doctrine = tenet_esotericism
+					regula_religious_proclamation_tenet_count_decrease = yes
+				}
+				if = {
+					limit = {
+						has_doctrine = tenet_literalism
+					}
+					remove_doctrine = tenet_literalism
+					regula_religious_proclamation_tenet_count_decrease = yes
+				}
+				if = {
+					limit = {
+						has_doctrine = tenet_adaptive
+					}
+					remove_doctrine = tenet_adaptive
+					regula_religious_proclamation_tenet_count_decrease = yes
+				}
+			}
+		}
+	}
+	option = {
+		name = regula_religious_proclamation.1000.next
+		trigger_event = {
+			id = regula_religious_proclamation.1131
+		}
+	}
+	option = {
+		name = regula_religious_proclamation.1000.return
+		trigger_event = {
+			id = regula_religious_proclamation.1000
+		}
+	}
+}
+
+regula_religious_proclamation.1131 = { # Religious Proclamation - Reason II
+	type = character_event
+	title = regula_religious_proclamation.1000.t
+	desc = {
+		desc = regula_religious_proclamation.1000.desc
+		desc = line_break
+		desc = line_break
+		desc = regula_religious_proclamation.1000.desc_cap
+	}
+
+	theme = regula_theme
+	override_background = {
+		reference = throne_room
+	}
+	right_portrait = {
+		character = global_var:magister_character
+		animation = personality_bold
+	}
+
+	option = { # Astrology
+		name = regula_religious_proclamation.1000.astrology
+		trigger = {
+			regula_religious_proclamation_can_add_tenet = { TENET = tenet_astrology }
+		}
+		show_as_unavailable = {
+			regula_religious_proclamation_show_unavailable = { TENET = tenet_astrology }
+		}
+		global_var:magister_character.faith = {
+			if = {
+				limit = {
+					has_doctrine = tenet_astrology
+				}
+				remove_doctrine = tenet_astrology
+				regula_religious_proclamation_tenet_count_decrease = yes
+			}
+			else = {
+				add_doctrine = tenet_astrology
+				regula_religious_proclamation_tenet_count_increase = yes
+			}
+		}
+	}
+    option = { # Sacred Lies
+		name = regula_religious_proclamation.1000.sacred_lies
+		trigger = {
+			regula_religious_proclamation_can_add_tenet = { TENET = tenet_sacred_shadows }
+		}
+		show_as_unavailable = {
+			regula_religious_proclamation_show_unavailable = { TENET = tenet_sacred_shadows }
+		}
+		global_var:magister_character.faith = {
+			if = {
+				limit = {
+					has_doctrine = tenet_sacred_shadows
+				}
+				remove_doctrine = tenet_sacred_shadows
+				regula_religious_proclamation_tenet_count_decrease = yes
+			}
+			else = {
+				add_doctrine = tenet_sacred_shadows
+				regula_religious_proclamation_tenet_count_increase = yes
+			}
+		}
+	}
+	option = {
+		name = regula_religious_proclamation.1000.back
+		trigger_event = {
+			id = regula_religious_proclamation.1130
+		}
+	}
+	option = {
+		name = regula_religious_proclamation.1000.return
+		trigger_event = {
+			id = regula_religious_proclamation.1000
+		}
+	}
+}
+
+# tenet_mendicant_preachers
+# tenet_monasticism
+# tenet_unrelenting_faith
+
+regula_religious_proclamation.1140 = { # Religious Proclamation - Tolerance
+	type = character_event
+	title = regula_religious_proclamation.1000.t
+	desc = {
+		desc = regula_religious_proclamation.1000.desc
+		desc = line_break
+		desc = line_break
+		desc = regula_religious_proclamation.1000.desc_cap
+	}
+
+	theme = regula_theme
+	override_background = {
+		reference = throne_room
+	}
+	right_portrait = {
+		character = global_var:magister_character
+		animation = personality_bold
+	}
+
+	option = { # Islamic Syncreticism
+		name = regula_religious_proclamation.1000.islam
+		trigger = {
+			OR = {
+				regula_religious_proclamation_can_add_tenet = { TENET = tenet_islamic_syncretism }
+				global_var:magister_character.faith = {  # Can swap out a tenet
+					OR = {
+						has_doctrine = tenet_islamic_syncretism
+						has_doctrine = tenet_christian_syncretism
+						has_doctrine = tenet_eastern_syncretism
+						has_doctrine = tenet_unreformed_syncretism
+					}
+				}
+			}
+		}
+		show_as_unavailable = {
+			regula_religious_proclamation_show_unavailable = { TENET = tenet_islamic_syncretism }
+		}
+		global_var:magister_character.faith = {
+			if = {
+				limit = {
+					has_doctrine = tenet_islamic_syncretism
+				}
+				remove_doctrine = tenet_islamic_syncretism
+				regula_religious_proclamation_tenet_count_decrease = yes
+			}
+			else = {
+				add_doctrine = tenet_islamic_syncretism
+				regula_religious_proclamation_tenet_count_increase = yes
+				if = {
+					limit = {
+						has_doctrine = tenet_christian_syncretism
+					}
+					remove_doctrine = tenet_christian_syncretism
+					regula_religious_proclamation_tenet_count_decrease = yes
+				}
+				if = {
+					limit = {
+						has_doctrine = tenet_eastern_syncretism
+					}
+					remove_doctrine = tenet_eastern_syncretism
+					regula_religious_proclamation_tenet_count_decrease = yes
+				}
+				if = {
+					limit = {
+						has_doctrine = tenet_unreformed_syncretism
+					}
+					remove_doctrine = tenet_unreformed_syncretism
+					regula_religious_proclamation_tenet_count_decrease = yes
+				}
+			}
+		}
+	}
+	option = { # Christian Syncreticism
+		name = regula_religious_proclamation.1000.christian
+		trigger = {
+			OR = {
+				regula_religious_proclamation_can_add_tenet = { TENET = tenet_christian_syncretism }
+				global_var:magister_character.faith = {  # Can swap out a tenet
+					OR = {
+						has_doctrine = tenet_islamic_syncretism
+						has_doctrine = tenet_christian_syncretism
+						has_doctrine = tenet_eastern_syncretism
+						has_doctrine = tenet_unreformed_syncretism
+					}
+				}
+			}
+		}
+		show_as_unavailable = {
+			regula_religious_proclamation_show_unavailable = { TENET = tenet_christian_syncretism }
+		}
+		global_var:magister_character.faith = {
+			if = {
+				limit = {
+					has_doctrine = tenet_christian_syncretism
+				}
+				remove_doctrine = tenet_christian_syncretism
+				regula_religious_proclamation_tenet_count_decrease = yes
+			}
+			else = {
+				add_doctrine = tenet_christian_syncretism
+				regula_religious_proclamation_tenet_count_increase = yes
+				if = {
+					limit = {
+						has_doctrine = tenet_islamic_syncretism
+					}
+					remove_doctrine = tenet_islamic_syncretism
+					regula_religious_proclamation_tenet_count_decrease = yes
+				}
+				if = {
+					limit = {
+						has_doctrine = tenet_eastern_syncretism
+					}
+					remove_doctrine = tenet_eastern_syncretism
+					regula_religious_proclamation_tenet_count_decrease = yes
+				}
+				if = {
+					limit = {
+						has_doctrine = tenet_unreformed_syncretism
+					}
+					remove_doctrine = tenet_unreformed_syncretism
+					regula_religious_proclamation_tenet_count_decrease = yes
+				}
+			}
+		}
+	}
+	option = { # Eastern Syncreticism
+		name = regula_religious_proclamation.1000.eastern
+		trigger = {
+			OR = {
+				regula_religious_proclamation_can_add_tenet = { TENET = tenet_eastern_syncretism }
+				global_var:magister_character.faith = {  # Can swap out a tenet
+					OR = {
+						has_doctrine = tenet_islamic_syncretism
+						has_doctrine = tenet_christian_syncretism
+						has_doctrine = tenet_eastern_syncretism
+						has_doctrine = tenet_unreformed_syncretism
+					}
+				}
+			}
+		}
+		show_as_unavailable = {
+			regula_religious_proclamation_show_unavailable = { TENET = tenet_eastern_syncretism }
+		}
+		global_var:magister_character.faith = {
+			if = {
+				limit = {
+					has_doctrine = tenet_eastern_syncretism
+				}
+				remove_doctrine = tenet_eastern_syncretism
+				regula_religious_proclamation_tenet_count_decrease = yes
+			}
+			else = {
+				add_doctrine = tenet_eastern_syncretism
+				regula_religious_proclamation_tenet_count_increase = yes
+				if = {
+					limit = {
+						has_doctrine = tenet_islamic_syncretism
+					}
+					remove_doctrine = tenet_islamic_syncretism
+					regula_religious_proclamation_tenet_count_decrease = yes
+				}
+				if = {
+					limit = {
+						has_doctrine = tenet_christian_syncretism
+					}
+					remove_doctrine = tenet_christian_syncretism
+					regula_religious_proclamation_tenet_count_decrease = yes
+				}
+				if = {
+					limit = {
+						has_doctrine = tenet_unreformed_syncretism
+					}
+					remove_doctrine = tenet_unreformed_syncretism
+					regula_religious_proclamation_tenet_count_decrease = yes
+				}
+			}
+		}
+	}
+	option = { # Unreformed Syncreticism
+		name = regula_religious_proclamation.1000.unreformed
+		trigger = {
+			OR = {
+				regula_religious_proclamation_can_add_tenet = { TENET = tenet_unreformed_syncretism }
+				global_var:magister_character.faith = {  # Can swap out a tenet
+					OR = {
+						has_doctrine = tenet_islamic_syncretism
+						has_doctrine = tenet_christian_syncretism
+						has_doctrine = tenet_eastern_syncretism
+						has_doctrine = tenet_unreformed_syncretism
+					}
+				}
+			}
+		}
+		show_as_unavailable = {
+			regula_religious_proclamation_show_unavailable = { TENET = tenet_unreformed_syncretism }
+		}
+		global_var:magister_character.faith = {
+			if = {
+				limit = {
+					has_doctrine = tenet_unreformed_syncretism
+				}
+				remove_doctrine = tenet_unreformed_syncretism
+				regula_religious_proclamation_tenet_count_decrease = yes
+			}
+			else = {
+				add_doctrine = tenet_unreformed_syncretism
+				regula_religious_proclamation_tenet_count_increase = yes
+				if = {
+					limit = {
+						has_doctrine = tenet_islamic_syncretism
+					}
+					remove_doctrine = tenet_islamic_syncretism
+					regula_religious_proclamation_tenet_count_decrease = yes
+				}
+				if = {
+					limit = {
+						has_doctrine = tenet_christian_syncretism
+					}
+					remove_doctrine = tenet_christian_syncretism
+					regula_religious_proclamation_tenet_count_decrease = yes
+				}
+				if = {
+					limit = {
+						has_doctrine = tenet_eastern_syncretism
+					}
+					remove_doctrine = tenet_eastern_syncretism
+					regula_religious_proclamation_tenet_count_decrease = yes
+				}
+			}
+		}
+	}
+	option = {
+		name = regula_religious_proclamation.1000.return
+		trigger_event = {
+			id = regula_religious_proclamation.1000
+		}
+	}
+}
\ No newline at end of file
diff --git a/Regula_Magistri/events/decisions/regula_tradition_events.txt b/Regula_Magistri/events/decisions/regula_tradition_events.txt
index 332c89cd..8e85797e 100644
--- a/Regula_Magistri/events/decisions/regula_tradition_events.txt
+++ b/Regula_Magistri/events/decisions/regula_tradition_events.txt
@@ -60,642 +60,3 @@ regula_tradition.1002 = { # Reenable Submission
 	}
 }
 
-regula_tradition.1010 = { # Religious Proclamation - Menu
-	type = character_event
-	title = regula_tradition.1010.t
-	desc = regula_tradition.1010.desc
-
-	theme = regula_theme
-	override_background = {
-		reference = throne_room
-	}
-	right_portrait = {
-		character = global_var:magister_character
-		animation = personality_bold
-	}
-
-	option = { # Identity
-		name = regula_tradition.1010.a
-		trigger_event = {
-			id = regula_tradition.1011
-		}
-	}
-
-	option = { # War
-		name = regula_tradition.1010.b
-		trigger_event = {
-			id = regula_tradition.1013
-		}
-	}
-
-	option = { # Nature
-		name = regula_tradition.1010.c
-		trigger_event = {
-			id = regula_tradition.1015
-		}
-	}
-
-	# option = { # Faith
-	# 	name = regula_tradition.1010.d
-	# 	trigger_event = {
-	# 		id = regula_tradition.1017
-	# 	}
-	# }
-}
-
-
-regula_tradition.1011 = { # Religious Proclamation - Identity
-	type = character_event
-	title = regula_tradition.1010.t
-	desc = regula_tradition.1010.desc
-
-	theme = regula_theme
-	override_background = {
-		reference = throne_room
-	}
-	right_portrait = {
-		character = global_var:magister_character
-		animation = personality_bold
-	}
-
-	option = { # Carnal Exaltation
-		name = regula_tradition.1010.carnal
-		trigger = {
-			regula_religious_proclamation_can_add_tenet = { TENET = tenet_carnal_exaltation }
-		}
-		show_as_unavailable = {
-			regula_religious_proclamation_show_unavailable = { TENET = tenet_carnal_exaltation }
-		}
-		global_var:magister_character.faith = {
-			if = {
-				limit = {
-					has_doctrine = tenet_carnal_exaltation
-				}
-				remove_doctrine = tenet_carnal_exaltation
-				regula_religious_proclamation_tenet_count_decrease = yes
-			}
-			else = {
-				add_doctrine = tenet_carnal_exaltation
-				regula_religious_proclamation_tenet_count_increase = yes
-			}
-		}
-	}
-	option = { # Sacred Childbirth
-		name = regula_tradition.1010.childbirth
-		trigger = {
-			regula_religious_proclamation_can_add_tenet = { TENET = tenet_sacred_childbirth }
-		}
-		show_as_unavailable = {
-			regula_religious_proclamation_show_unavailable = { TENET = tenet_sacred_childbirth }
-		}
-		global_var:magister_character.faith = {
-			if = {
-				limit = {
-					has_doctrine = tenet_sacred_childbirth
-				}
-				remove_doctrine = tenet_sacred_childbirth
-				regula_religious_proclamation_tenet_count_decrease = yes
-			}
-			else = {
-				add_doctrine = tenet_sacred_childbirth
-				regula_religious_proclamation_tenet_count_increase = yes
-				if = {
-					limit = {
-						has_doctrine = tenet_reincarnation
-					}
-					remove_doctrine = tenet_reincarnation
-					regula_religious_proclamation_tenet_count_decrease = yes
-				}
-				if = {
-					limit = {
-						has_doctrine = tenet_mystical_birthright
-					}
-					remove_doctrine = tenet_mystical_birthright
-					regula_religious_proclamation_tenet_count_decrease = yes
-				}
-			}
-			
-		}
-	}
-	option = { # Reincarnation
-		name = regula_tradition.1010.reincarnation
-		trigger = {
-			regula_religious_proclamation_can_add_tenet = { TENET = tenet_reincarnation }
-		}
-		show_as_unavailable = {
-			regula_religious_proclamation_show_unavailable = { TENET = tenet_reincarnation }
-		}
-		global_var:magister_character.faith = {
-			if = {
-				limit = {
-					has_doctrine = tenet_reincarnation
-				}
-				remove_doctrine = tenet_reincarnation
-				regula_religious_proclamation_tenet_count_decrease = yes
-			}
-			else = {
-				add_doctrine = tenet_reincarnation
-				regula_religious_proclamation_tenet_count_increase = yes
-				if = {
-					limit = {
-						has_doctrine = tenet_sacred_childbirth
-					}
-					remove_doctrine = tenet_sacred_childbirth
-					regula_religious_proclamation_tenet_count_decrease = yes
-				}
-				if = {
-					limit = {
-						has_doctrine = tenet_mystical_birthright
-					}
-					remove_doctrine = tenet_mystical_birthright
-					regula_religious_proclamation_tenet_count_decrease = yes
-				}
-			}
-		}
-	}
-	option = {  # Mystical Birthright
-		name = regula_tradition.1010.birthright
-		trigger = {
-			regula_religious_proclamation_can_add_tenet = { TENET = tenet_mystical_birthright }
-		}
-		show_as_unavailable = {
-			regula_religious_proclamation_show_unavailable = { TENET = tenet_mystical_birthright }
-		}
-		global_var:magister_character.faith = {
-			if = {
-				limit = {
-					has_doctrine = tenet_mystical_birthright
-				}
-				remove_doctrine = tenet_mystical_birthright
-				regula_religious_proclamation_tenet_count_decrease = yes
-			}
-			else = {
-				add_doctrine = tenet_mystical_birthright
-				regula_religious_proclamation_tenet_count_increase = yes
-				if = {
-					limit = {
-						has_doctrine = tenet_sacred_childbirth
-					}
-					remove_doctrine = tenet_sacred_childbirth
-					regula_religious_proclamation_tenet_count_decrease = yes
-				}
-				if = {
-					limit = {
-						has_doctrine = tenet_reincarnation
-					}
-					remove_doctrine = tenet_reincarnation
-					regula_religious_proclamation_tenet_count_decrease = yes
-				}
-			}
-		}
-	}
-	option = {
-		name = regula_tradition.1010.next
-		trigger_event = {
-			id = regula_tradition.1012
-		}
-	}
-	option = {
-		name = regula_tradition.1010.return
-		trigger_event = {
-			id = regula_tradition.1010
-		}
-	}
-}
-
-regula_tradition.1012 = { # Religious Proclamation - Identity II
-	type = character_event
-	title = regula_tradition.1010.t
-	desc = regula_tradition.1010.desc
-
-	theme = regula_theme
-	override_background = {
-		reference = throne_room
-	}
-	right_portrait = {
-		character = global_var:magister_character
-		animation = personality_bold
-	}
-
-	option = { # Natural Primitivism
-		name = regula_tradition.1010.naked
-		trigger = {
-			regula_religious_proclamation_can_add_tenet = { TENET = tenet_natural_primitivism }
-		}
-		show_as_unavailable = {
-			regula_religious_proclamation_show_unavailable = { TENET = tenet_natural_primitivism }
-		}
-		global_var:magister_character.faith = {
-			if = {
-				limit = {
-					has_doctrine = tenet_natural_primitivism
-				}
-				remove_doctrine = tenet_natural_primitivism
-				regula_religious_proclamation_tenet_count_decrease = yes
-			}
-			else = {
-				add_doctrine = tenet_natural_primitivism
-				regula_religious_proclamation_tenet_count_increase = yes
-			}
-		}
-	}
-	option = { # Sacred Lies
-		name = regula_tradition.1010.sacred_lies
-		trigger = {
-			regula_religious_proclamation_can_add_tenet = { TENET = tenet_sacred_shadows }
-		}
-		show_as_unavailable = {
-			regula_religious_proclamation_show_unavailable = { TENET = tenet_sacred_shadows }
-		}
-		global_var:magister_character.faith = {
-			if = {
-				limit = {
-					has_doctrine = tenet_sacred_shadows
-				}
-				remove_doctrine = tenet_sacred_shadows
-				regula_religious_proclamation_tenet_count_decrease = yes
-			}
-			else = {
-				add_doctrine = tenet_sacred_shadows
-				regula_religious_proclamation_tenet_count_increase = yes
-			}
-		}
-	}
-	option = { # Communal Identity
-		name = regula_tradition.1010.communal_identity
-		trigger = {
-			regula_religious_proclamation_can_add_tenet = { TENET = tenet_communal_identity }
-		}
-		show_as_unavailable = {
-			regula_religious_proclamation_show_unavailable = { TENET = tenet_communal_identity }
-		}
-		global_var:magister_character.faith = {
-			if = {
-				limit = {
-					has_doctrine = tenet_communal_identity
-				}
-				remove_doctrine = tenet_communal_identity
-				regula_religious_proclamation_tenet_count_decrease = yes
-			}
-			else = {
-				add_doctrine = tenet_communal_identity
-				regula_religious_proclamation_tenet_count_increase = yes
-			}
-		}
-	}
-	option = {
-		name = regula_tradition.1010.back
-		trigger_event = {
-			id = regula_tradition.1011
-		}
-	}
-	option = {
-		name = regula_tradition.1010.return
-		trigger_event = {
-			id = regula_tradition.1010
-		}
-	}
-}
-
-regula_tradition.1013 = { # Religious Proclamation - War
-	type = character_event
-	title = regula_tradition.1010.t
-	desc = regula_tradition.1010.desc
-
-	theme = regula_theme
-	override_background = {
-		reference = throne_room
-	}
-	right_portrait = {
-		character = global_var:magister_character
-		animation = personality_bold
-	}
-
-	option = { # Struggle Submission
-		name = regula_tradition.1010.struggle_submission
-		trigger = {
-			regula_religious_proclamation_can_add_tenet = { TENET = tenet_struggle_submission }
-		}
-		show_as_unavailable = {
-			regula_religious_proclamation_show_unavailable = { TENET = tenet_struggle_submission }
-		}
-		global_var:magister_character.faith = {
-			if = {
-				limit = {
-					has_doctrine = tenet_struggle_submission
-				}
-				remove_doctrine = tenet_struggle_submission
-				regula_religious_proclamation_tenet_count_decrease = yes
-			}
-			else = {
-				add_doctrine = tenet_struggle_submission
-				regula_religious_proclamation_tenet_count_increase = yes
-				if = {
-					limit = {
-						has_doctrine = tenet_pacifism
-					}
-					remove_doctrine = tenet_pacifism
-					regula_religious_proclamation_tenet_count_decrease = yes
-				}
-				if = {
-					limit = {
-						has_doctrine = tenet_warmonger
-					}
-					remove_doctrine = tenet_warmonger
-					regula_religious_proclamation_tenet_count_decrease = yes
-				}
-				if = {
-					limit = {
-						has_doctrine = tenet_pursuit_of_power
-					}
-					remove_doctrine = tenet_pursuit_of_power
-					regula_religious_proclamation_tenet_count_decrease = yes
-				}
-			}
-		}
-	}
-
-	option = { # Warmonger
-		name = regula_tradition.1010.warmonger
-		trigger = {
-			regula_religious_proclamation_can_add_tenet = { TENET = tenet_warmonger }
-		}
-		show_as_unavailable = {
-			regula_religious_proclamation_show_unavailable = { TENET = tenet_warmonger }
-		}
-		global_var:magister_character.faith = {
-			if = {
-				limit = {
-					has_doctrine = tenet_warmonger
-				}
-				remove_doctrine = tenet_warmonger
-				regula_religious_proclamation_tenet_count_decrease = yes
-			}
-			else = {
-				add_doctrine = tenet_warmonger
-				regula_religious_proclamation_tenet_count_increase = yes
-				if = {
-					limit = {
-						has_doctrine = tenet_pacifism
-					}
-					remove_doctrine = tenet_pacifism
-					regula_religious_proclamation_tenet_count_decrease = yes
-				}
-				if = {
-					limit = {
-						has_doctrine = tenet_struggle_submission
-					}
-					remove_doctrine = tenet_struggle_submission
-					regula_religious_proclamation_tenet_count_decrease = yes
-				}
-				if = {
-					limit = {
-						has_doctrine = tenet_pursuit_of_power
-					}
-					remove_doctrine = tenet_pursuit_of_power
-					regula_religious_proclamation_tenet_count_decrease = yes
-				}
-			}
-		}
-	}
-
-	option = { # Pursuit of Power
-		name = regula_tradition.1010.pursuit_of_power
-		trigger = {
-			regula_religious_proclamation_can_add_tenet = { TENET = tenet_pursuit_of_power }
-		}
-		show_as_unavailable = {
-			regula_religious_proclamation_show_unavailable = { TENET = tenet_pursuit_of_power }
-		}
-		global_var:magister_character.faith = {
-			if = {
-				limit = {
-					has_doctrine = tenet_pursuit_of_power
-				}
-				remove_doctrine = tenet_pursuit_of_power
-				regula_religious_proclamation_tenet_count_decrease = yes
-			}
-			else = {
-				add_doctrine = tenet_pursuit_of_power
-				regula_religious_proclamation_tenet_count_increase = yes
-				if = {
-					limit = {
-						has_doctrine = tenet_pacifism
-					}
-					remove_doctrine = tenet_pacifism
-					regula_religious_proclamation_tenet_count_decrease = yes
-				}
-				if = {
-					limit = {
-						has_doctrine = tenet_struggle_submission
-					}
-					remove_doctrine = tenet_struggle_submission
-					regula_religious_proclamation_tenet_count_decrease = yes
-				}
-				if = {
-					limit = {
-						has_doctrine = tenet_warmonger
-					}
-					remove_doctrine = tenet_warmonger
-					regula_religious_proclamation_tenet_count_decrease = yes
-				}
-			}
-		}
-	}
-
-	option = { # Pacifism
-		name = regula_tradition.1010.pacifism
-		trigger = {
-			regula_religious_proclamation_can_add_tenet = { TENET = tenet_pacifism }
-		}
-		show_as_unavailable = {
-			regula_religious_proclamation_show_unavailable = { TENET = tenet_pacifism }
-		}
-		global_var:magister_character.faith = {
-			if = {
-				limit = {
-					has_doctrine = tenet_pacifism
-				}
-				remove_doctrine = tenet_pacifism
-				regula_religious_proclamation_tenet_count_decrease = yes
-			}
-			else = {
-				add_doctrine = tenet_pacifism
-				regula_religious_proclamation_tenet_count_increase = yes
-				if = {
-					limit = {
-						has_doctrine = tenet_warmonger
-					}
-					remove_doctrine = tenet_warmonger
-					regula_religious_proclamation_tenet_count_decrease = yes
-				}
-				if = {
-					limit = {
-						has_doctrine = tenet_struggle_submission
-					}
-					remove_doctrine = tenet_struggle_submission
-					regula_religious_proclamation_tenet_count_decrease = yes
-				}
-				if = {
-					limit = {
-						has_doctrine = tenet_pursuit_of_power
-					}
-					remove_doctrine = tenet_pursuit_of_power
-					regula_religious_proclamation_tenet_count_decrease = yes
-				}
-				if = {
-					limit = {
-						has_doctrine = tenet_pursuit_of_power
-					}
-					remove_doctrine = tenet_pursuit_of_power
-					regula_religious_proclamation_tenet_count_decrease = yes
-				}
-			}
-		}
-	}
-
-	option = {
-		name = regula_tradition.1010.return
-		trigger_event = {
-			id = regula_tradition.1010
-		}
-	}
-}
-
-regula_tradition.1015 = { # Religious Proclamation - Nature
-	type = character_event
-	title = regula_tradition.1010.t
-	desc = regula_tradition.1010.desc
-
-	theme = regula_theme
-	override_background = {
-		reference = throne_room
-	}
-	right_portrait = {
-		character = global_var:magister_character
-		animation = personality_bold
-	}
-
-	
-	option = { # Megaliths
-		name = regula_tradition.1010.megaliths
-		trigger = {
-			regula_religious_proclamation_can_add_tenet = { TENET = tenet_megaliths }
-		}
-		show_as_unavailable = {
-			regula_religious_proclamation_show_unavailable = { TENET = tenet_megaliths }
-		}
-		global_var:magister_character.faith = {
-			if = {
-				limit = {
-					has_doctrine = tenet_megaliths
-				}
-				remove_doctrine = tenet_megaliths
-				regula_religious_proclamation_tenet_count_decrease = yes
-			}
-			else = {
-				add_doctrine = tenet_megaliths
-				regula_religious_proclamation_tenet_count_increase = yes
-				if = {
-					limit = {
-						has_doctrine = tenet_cthonic_redoubts
-					}
-					remove_doctrine = tenet_cthonic_redoubts
-					regula_religious_proclamation_tenet_count_decrease = yes
-				}
-				if = {
-					limit = {
-						has_doctrine = tenet_sanctity_of_nature
-					}
-					remove_doctrine = tenet_sanctity_of_nature
-					regula_religious_proclamation_tenet_count_decrease = yes
-				}
-			}
-		}
-	}
-	option = { # Sanctity of Nature
-		name = regula_tradition.1010.sanctity_of_nature
-		trigger = {
-			regula_religious_proclamation_can_add_tenet = { TENET = tenet_sanctity_of_nature }
-		}
-		show_as_unavailable = {
-			regula_religious_proclamation_show_unavailable = { TENET = tenet_sanctity_of_nature }
-		}
-		global_var:magister_character.faith = {
-			if = {
-				limit = {
-					has_doctrine = tenet_sanctity_of_nature
-				}
-				remove_doctrine = tenet_sanctity_of_nature
-				regula_religious_proclamation_tenet_count_decrease = yes
-			}
-			else = {
-				add_doctrine = tenet_sanctity_of_nature
-				regula_religious_proclamation_tenet_count_increase = yes
-				if = {
-					limit = {
-						has_doctrine = tenet_cthonic_redoubts
-					}
-					remove_doctrine = tenet_cthonic_redoubts
-					regula_religious_proclamation_tenet_count_decrease = yes
-				}
-				if = {
-					limit = {
-						has_doctrine = tenet_megaliths
-					}
-					remove_doctrine = tenet_megaliths
-					regula_religious_proclamation_tenet_count_decrease = yes
-				}
-			}
-		}
-	}
-	option = { # Redoubts
-		name = regula_tradition.1010.redoubts
-		trigger = {
-			regula_religious_proclamation_can_add_tenet = { TENET = tenet_cthonic_redoubts }
-		}
-		show_as_unavailable = {
-			regula_religious_proclamation_show_unavailable = { TENET = tenet_cthonic_redoubts }
-		}
-		global_var:magister_character.faith = {
-			if = {
-				limit = {
-					has_doctrine = tenet_cthonic_redoubts
-				}
-				remove_doctrine = tenet_cthonic_redoubts
-				regula_religious_proclamation_tenet_count_decrease = yes
-			}
-			else = {
-				add_doctrine = tenet_cthonic_redoubts
-				regula_religious_proclamation_tenet_count_increase = yes
-				if = {
-					limit = {
-						has_doctrine = tenet_sanctity_of_nature
-					}
-					remove_doctrine = tenet_sanctity_of_nature
-					regula_religious_proclamation_tenet_count_decrease = yes
-				}
-				if = {
-					limit = {
-						has_doctrine = tenet_megaliths
-					}
-					remove_doctrine = tenet_megaliths
-					regula_religious_proclamation_tenet_count_decrease = yes
-				}
-			}
-		}
-	}
-	option = {
-		name = regula_tradition.1010.return
-		trigger_event = {
-			id = regula_tradition.1010
-		}
-	}
-}
-
-
-# tenet_mendicant_preachers
-# tenet_monasticism
-# tenet_asceticism
-# tenet_adaptive
-# tenet_unrelenting_faith
\ No newline at end of file
diff --git a/Regula_Magistri/localization/english/event_localization/regula_religious_proclamation_l_english.yml b/Regula_Magistri/localization/english/event_localization/regula_religious_proclamation_l_english.yml
new file mode 100644
index 00000000..bc888eae
--- /dev/null
+++ b/Regula_Magistri/localization/english/event_localization/regula_religious_proclamation_l_english.yml
@@ -0,0 +1,40 @@
+l_english:
+  # Religious Proclamation
+  regula_religious_proclamation.1000.t:0 "Religious Proclamation"
+  regula_religious_proclamation.1000.desc:0 "With the authority of the Magister, the faithful are instructed on the truth of this world."
+  regula_religious_proclamation.1000.desc_cap:0 "You are currently using #P [GetGlobalVariable('regula_religious_tenet_count').GetValue|0]/3#! additional tenet slots."
+  regula_religious_proclamation.1000.a:0 "Identity"
+  regula_religious_proclamation.1000.b:0 "War"
+  regula_religious_proclamation.1000.c:0 "Nature"
+  regula_religious_proclamation.1000.d:0 "Reason"
+  regula_religious_proclamation.1000.f:0 "Tolerance"
+  regula_religious_proclamation.1000.max_cap:0 "You are at your tenet cap. Remove or swap a tenet to continue"
+  regula_religious_proclamation.1000.cancel:0 "Cancel"
+  regula_religious_proclamation.1000.next:0 "More -->"
+  regula_religious_proclamation.1000.back:0 "<-- More"
+  regula_religious_proclamation.1000.return:0 "Back (Another Category)"
+  regula_religious_proclamation.1000.megaliths:0 "Megalithic Constructions"
+  regula_religious_proclamation.1000.sanctity_of_nature:0 "Sanctity of Nature"
+  regula_religious_proclamation.1000.redoubts:0 "Cthonic Redoubts"
+  regula_religious_proclamation.1000.pacifism:0 "Pacifism"
+  regula_religious_proclamation.1000.pursuit_of_power:0 "Pursuit of Power"
+  regula_religious_proclamation.1000.struggle_submission:0 "Struggle and Submission"
+  regula_religious_proclamation.1000.warmonger:0 "Warmonger"
+  regula_religious_proclamation.1000.communal_identity:0 "Communal Identity"
+  regula_religious_proclamation.1000.sacred_lies:0 "Sacred Lies"
+  regula_religious_proclamation.1000.astrology:0 "Astrology"
+  regula_religious_proclamation.1000.asceticism:0 "Asceticism"
+  regula_religious_proclamation.1000.esotericism:0 "Esotericism"
+  regula_religious_proclamation.1000.literalism:0 "Literalism"
+  regula_religious_proclamation.1000.adaptive:0 "Adaptive"
+  regula_religious_proclamation.1000.legalism:0 "Legalism"
+  regula_religious_proclamation.1000.childbirth:0 "Sacred Childbirth"
+  regula_religious_proclamation.1000.naked:0 "Natural Primitivism"
+  regula_religious_proclamation.1000.birthright:0 "Auspicious Birthright"
+  regula_religious_proclamation.1000.reincarnation:0 "Reincarnation"
+  regula_religious_proclamation.1000.carnal:0 "Carnal Exaltation"
+  regula_religious_proclamation.1000.ancestor_worship:0 "Ancestor Worship"
+  regula_religious_proclamation.1000.islam:0 "Islamic Tolerance"
+  regula_religious_proclamation.1000.christian:0 "Christian Tolerance"
+  regula_religious_proclamation.1000.eastern:0 "Eastern Tolerance"
+  regula_religious_proclamation.1000.unreformed:0 "Unreformed Tolerance"
\ No newline at end of file
diff --git a/Regula_Magistri/localization/english/event_localization/regula_tradition_events_l_english.yml b/Regula_Magistri/localization/english/event_localization/regula_tradition_events_l_english.yml
index 2849bf90..3f050d92 100644
--- a/Regula_Magistri/localization/english/event_localization/regula_tradition_events_l_english.yml
+++ b/Regula_Magistri/localization/english/event_localization/regula_tradition_events_l_english.yml
@@ -7,27 +7,3 @@
   regula_tradition.1002.t:0 "Magistri Submission"
   regula_tradition.1002.desc:0 "Under the Regula Magistri's guidance, this land has become obsessed with servitude and submission towards their masters.\n\nThe population has become accustomed to obeying the every whim of their masters, and this includes the lust now prevelant in the land. The people act more passively, and your vassals are less likely to wage war or oppose your demands.\n\nThis naive trust placed in their betters has not come with just benefits unfortunately. Their willpower and decision making, whether it be at home or in battle, has suffered due to their reliance on their overlords."
   regula_tradition.1002.a:0 "Great"
-  # Religious Proclamation
-  regula_tradition.1010.t:0 "Religious Proclamation"
-  regula_tradition.1010.desc:0 "With the authority of the Magister, the faithful are instructed on the truth of this world."
-  regula_tradition.1010.a:0 "Identity"
-  regula_tradition.1010.b:0 "War"
-  regula_tradition.1010.c:0 "Nature"
-  regula_tradition.1010.d:0 "Faith"
-  regula_tradition.1010.next:0 "More -->"
-  regula_tradition.1010.back:0 "<-- More"
-  regula_tradition.1010.return:0 "Back (Another Category)"
-  regula_tradition.1010.megaliths:0 "Megalithic Constructions"
-  regula_tradition.1010.sanctity_of_nature:0 "Sanctity of Nature"
-  regula_tradition.1010.redoubts:0 "Cthonic Redoubts"
-  regula_tradition.1010.pacifism:0 "Pacifism"
-  regula_tradition.1010.pursuit_of_power:0 "Pursuit of Power"
-  regula_tradition.1010.struggle_submission:0 "Struggle and Submission"
-  regula_tradition.1010.warmonger:0 "Warmonger"
-  regula_tradition.1010.communal_identity:0 "Communal Identity"
-  regula_tradition.1010.sacred_lies:0 "Sacred Lies"
-  regula_tradition.1010.childbirth:0 "Sacred Childbirth"
-  regula_tradition.1010.naked:0 "Natural Primitivism"
-  regula_tradition.1010.birthright:0 "Auspicious Birthright"
-  regula_tradition.1010.reincarnation:0 "Reincarnation"
-  regula_tradition.1010.carnal:0 "Carnal Exaltation"
\ No newline at end of file
-- 
GitLab


From 337347109b9c6d2451711b936c66d894f67ab776 Mon Sep 17 00:00:00 2001
From: Mylen Ploa <mylen.ploa@abyssmail.com>
Date: Fri, 15 Sep 2023 23:57:07 -0700
Subject: [PATCH 08/10] Fix some indenting, increase piety costs by two for
 most actions, improve paelex improved to 1500 due to action giving a free
 child refuding piety

---
 .../common/script_values/regula_script_values.txt  | 12 ++++++------
 .../regula_religious_proclamation_events.txt       | 14 +++++++-------
 2 files changed, 13 insertions(+), 13 deletions(-)

diff --git a/Regula_Magistri/common/script_values/regula_script_values.txt b/Regula_Magistri/common/script_values/regula_script_values.txt
index 9b34b880..44a53c33 100644
--- a/Regula_Magistri/common/script_values/regula_script_values.txt
+++ b/Regula_Magistri/common/script_values/regula_script_values.txt
@@ -19,7 +19,7 @@ regula_obedience_tally_goal_cumulative = 50
 
 # Interaction Costs
 # Piety costs for interactions
-regula_mutare_corpus_interaction_piety_cost = 300
+regula_mutare_corpus_interaction_piety_cost = 1500
 
 # Sums up all relevant skills.
 regula_character_total_skills = {
@@ -383,31 +383,31 @@ regula_title_cost = {
 		limit = {
 			tier = 1
 		}
-		add = 25
+		add = 50
 	}
 	if = {
 		limit = {
 			tier = 2
 		}
-		add = 100
+		add = 200
 	}
 	if = {
 		limit = {
 			tier = 3
 		}
-		add = 300
+		add = 600
 	}
 	if = {
 		limit = {
 			tier = 4
 		}
-		add = 500
+		add = 1000
 	}
 	if = {
 		limit = {
 			tier = 5
 		}
-		add = 1500
+		add = 3000
 	}
 }
 
diff --git a/Regula_Magistri/events/decisions/regula_religious_proclamation_events.txt b/Regula_Magistri/events/decisions/regula_religious_proclamation_events.txt
index 409acd57..4a38403e 100644
--- a/Regula_Magistri/events/decisions/regula_religious_proclamation_events.txt
+++ b/Regula_Magistri/events/decisions/regula_religious_proclamation_events.txt
@@ -44,19 +44,19 @@ regula_religious_proclamation.1000 = { # Religious Proclamation - Menu
 		}
 	}
 
-	 option = { # Reason
+	option = { # Reason
 	 	name = regula_religious_proclamation.1000.d
 	 	trigger_event = {
 	 		id = regula_religious_proclamation.1130
 	    }
 	}
 
-    option = { # Tolerance
-        name = regula_religious_proclamation.1000.f
-        trigger_event = {
-            id = regula_religious_proclamation.1140
-        }
-    }
+	option = { # Tolerance
+		name = regula_religious_proclamation.1000.f
+		trigger_event = {
+			id = regula_religious_proclamation.1140
+		}
+	}
 
 	option = {
 		name = regula_religious_proclamation.1000.cancel
-- 
GitLab


From 85c32417be94c129742e3abba34fc2b72f82b33b Mon Sep 17 00:00:00 2001
From: Mylen Ploa <mylen.ploa@abyssmail.com>
Date: Sat, 16 Sep 2023 01:28:08 -0700
Subject: [PATCH 09/10] Fix refund

---
 .../decisions/regula_religious_proclamation_decision.txt     | 2 +-
 .../common/script_values/regula_script_values.txt            | 3 +++
 .../decisions/regula_religious_proclamation_events.txt       | 5 ++++-
 3 files changed, 8 insertions(+), 2 deletions(-)

diff --git a/Regula_Magistri/common/decisions/regula_religious_proclamation_decision.txt b/Regula_Magistri/common/decisions/regula_religious_proclamation_decision.txt
index 093139e3..236eef89 100644
--- a/Regula_Magistri/common/decisions/regula_religious_proclamation_decision.txt
+++ b/Regula_Magistri/common/decisions/regula_religious_proclamation_decision.txt
@@ -23,7 +23,7 @@ regula_religious_proclamation_decision = {
 	}
 
 	cost = {
-		piety = 10000
+		piety = regula_religious_proclamation_piety_cost
 	}
 
 	effect = {
diff --git a/Regula_Magistri/common/script_values/regula_script_values.txt b/Regula_Magistri/common/script_values/regula_script_values.txt
index 44a53c33..732b019f 100644
--- a/Regula_Magistri/common/script_values/regula_script_values.txt
+++ b/Regula_Magistri/common/script_values/regula_script_values.txt
@@ -20,6 +20,9 @@ regula_obedience_tally_goal_cumulative = 50
 # Interaction Costs
 # Piety costs for interactions
 regula_mutare_corpus_interaction_piety_cost = 1500
+regula_mutare_corpus_interaction_piety_cost_negative = -1500
+
+regula_religious_proclamation_piety_cost = 10000
 
 # Sums up all relevant skills.
 regula_character_total_skills = {
diff --git a/Regula_Magistri/events/decisions/regula_religious_proclamation_events.txt b/Regula_Magistri/events/decisions/regula_religious_proclamation_events.txt
index 4a38403e..197216bb 100644
--- a/Regula_Magistri/events/decisions/regula_religious_proclamation_events.txt
+++ b/Regula_Magistri/events/decisions/regula_religious_proclamation_events.txt
@@ -60,7 +60,10 @@ regula_religious_proclamation.1000 = { # Religious Proclamation - Menu
 
 	option = {
 		name = regula_religious_proclamation.1000.cancel
-		remove_decision_cooldown = regula_religious_proclamation_decision
+		add_piety_no_experience = regula_religious_proclamation_piety_cost
+		hidden_effect = {
+			remove_decision_cooldown = regula_religious_proclamation_decision
+		}
 	}
 }
 
-- 
GitLab


From 9f3413cfd20af7f1e9c7f5a82cc1fe0b24da7960 Mon Sep 17 00:00:00 2001
From: Mylen Ploa <mylen.ploa@abyssmail.com>
Date: Sat, 16 Sep 2023 01:30:02 -0700
Subject: [PATCH 10/10] Proof of concept automation

---
 ...gula_character_interactions_automation.txt |  80 ++++++
 .../regula_character_interactions_powers.txt  |   6 +
 .../regula_maintenance_on_actions.txt         |   1 +
 ...regula_automate_mutare_corpus_triggers.txt |  10 +
 .../regula_mutare_corpus_events.txt           | 243 +++++++++++++++++-
 5 files changed, 338 insertions(+), 2 deletions(-)
 create mode 100644 Regula_Magistri/common/character_interactions/regula_character_interactions_automation.txt
 create mode 100644 Regula_Magistri/common/scripted_triggers/regula_automate_mutare_corpus_triggers.txt

diff --git a/Regula_Magistri/common/character_interactions/regula_character_interactions_automation.txt b/Regula_Magistri/common/character_interactions/regula_character_interactions_automation.txt
new file mode 100644
index 00000000..6bff4245
--- /dev/null
+++ b/Regula_Magistri/common/character_interactions/regula_character_interactions_automation.txt
@@ -0,0 +1,80 @@
+# Automatically improve devoted
+regula_enable_automate_mutare_corpus_interaction = {
+	category = interaction_category_religion
+	common_interaction = yes
+	desc = regula_open_interaction_desc
+	interface_priority = 20
+	#icon = icon_personal
+
+	is_shown = {
+		scope:actor = {
+			has_trait = magister_trait_group
+		}
+		scope:recipient = {
+			is_ai = yes
+			has_trait = devoted_trait_group
+            NOT = {
+                regula_automate_mutare_corpus_enabled_for_character_trigger = yes
+            }
+		}
+	}
+
+	auto_accept = yes
+
+	on_accept = {
+		scope:actor = {
+			trigger_event = {
+				id = regula_mutare_corpus_event.1000
+			}
+		}
+		scope:recipient = {
+			custom_tooltip = regula_enable_automate_mutare_corpus_interaction_tooltip
+		}
+	}
+
+	ai_will_do = {
+		base = 0
+	}
+}
+
+regula_disable_automate_mutare_corpus_interaction = {
+	category = interaction_category_religion
+	common_interaction = yes
+	desc = regula_open_interaction_desc
+	interface_priority = 20
+	#icon = icon_personal
+
+	is_shown = {
+		scope:actor = {
+			has_trait = magister_trait_group
+		}
+		scope:recipient = {
+			is_ai = yes
+			has_trait = devoted_trait_group
+            regula_automate_mutare_corpus_enabled_for_character_trigger = yes
+		}
+	}
+
+	auto_accept = yes
+
+	on_accept = {
+		scope:actor = {
+		}
+		scope:recipient = {
+            custom_tooltip = regula_disable_automate_mutare_corpus_interaction_tooltip
+            hidden_effect = {
+                remove_character_flag = regula_automate_mutare_corpus_mental_boost
+                remove_character_flag = regula_automate_mutare_corpus_physical_boost
+                remove_character_flag = regula_automate_mutare_corpus_sexual_boost
+                remove_character_flag = regula_automate_mutare_corpus_impregnate
+                remove_character_flag = regula_automate_mutare_corpus_empower_womb
+                remove_character_flag = regula_automate_mutare_corpus_change_personality
+                remove_character_flag = regula_automate_mutare_corpus_genitalia_improvement
+            }
+		}
+	}
+
+	ai_will_do = {
+		base = 0
+	}
+}
\ No newline at end of file
diff --git a/Regula_Magistri/common/character_interactions/regula_character_interactions_powers.txt b/Regula_Magistri/common/character_interactions/regula_character_interactions_powers.txt
index 54c746ee..23523c05 100644
--- a/Regula_Magistri/common/character_interactions/regula_character_interactions_powers.txt
+++ b/Regula_Magistri/common/character_interactions/regula_character_interactions_powers.txt
@@ -1063,6 +1063,12 @@ regula_mutare_corpus_interaction = {
 		scope:recipient = {
 			is_ai = yes
 			has_trait = devoted_trait_group
+			NOT = {
+            	regula_automate_mutare_corpus_enabled_for_character_trigger = yes
+            }
+			NOT = {
+				has_character_flag = regula_automate_mutare_corpus_activated
+			}
 		}
 	}
 
diff --git a/Regula_Magistri/common/on_action/regula_maintenance_on_actions.txt b/Regula_Magistri/common/on_action/regula_maintenance_on_actions.txt
index 5597421c..f0944ef3 100644
--- a/Regula_Magistri/common/on_action/regula_maintenance_on_actions.txt
+++ b/Regula_Magistri/common/on_action/regula_maintenance_on_actions.txt
@@ -32,6 +32,7 @@ regula_quarterly_playable_pulse = {
 		regula_tropaeum_event.0002  # Updates bonuses for trophy concubines.
 
 		regula_council_event.0001 # Broken councillor availability cleanup.
+		regula_mutare_corpus_event.1001 # Automatic mutare corpus
 	}
 }
 
diff --git a/Regula_Magistri/common/scripted_triggers/regula_automate_mutare_corpus_triggers.txt b/Regula_Magistri/common/scripted_triggers/regula_automate_mutare_corpus_triggers.txt
new file mode 100644
index 00000000..307ab210
--- /dev/null
+++ b/Regula_Magistri/common/scripted_triggers/regula_automate_mutare_corpus_triggers.txt
@@ -0,0 +1,10 @@
+regula_automate_mutare_corpus_enabled_for_character_trigger = {
+    or = {
+        has_character_flag = regula_automate_mutare_corpus_mental_boost
+        has_character_flag = regula_automate_mutare_corpus_physical_boost
+        has_character_flag = regula_automate_mutare_corpus_sexual_boost
+        has_character_flag = regula_automate_mutare_corpus_impregnate
+        has_character_flag = regula_automate_mutare_corpus_change_personality
+        has_character_flag = regula_automate_mutare_corpus_genitalia_improvement
+    }
+}
diff --git a/Regula_Magistri/events/interactions/regula_mutare_corpus_events.txt b/Regula_Magistri/events/interactions/regula_mutare_corpus_events.txt
index ea07ee80..262ceea6 100644
--- a/Regula_Magistri/events/interactions/regula_mutare_corpus_events.txt
+++ b/Regula_Magistri/events/interactions/regula_mutare_corpus_events.txt
@@ -11,6 +11,7 @@
 	# 0051-0055: Empower Womb
 	# 0061-0065: Personality Change
 	# 0071-0075: Change genitals
+	# 1000-1002: Automation Event
 ######################################################
 
 # Change Body (Mutare Corpus)
@@ -61,6 +62,7 @@ regula_mutare_corpus_event.0001 = {
 	immediate = {
 		scope:recipient = {
 			add_character_flag = is_naked
+			add_character_flag = { flag = regula_automate_mutare_corpus_activated years = 3 }
 		}
 	}
 
@@ -137,12 +139,15 @@ regula_mutare_corpus_event.0001 = {
 	# Take power for yourself. This is a refund so no experience gain!
 	option = {
 		name = regula_mutare_corpus_event.0001.z
-		add_piety_no_experience = 300
+		add_piety_no_experience = regula_mutare_corpus_interaction_piety_cost
 		hidden_effect = {
 			remove_interaction_cooldown_against = {
 				interaction = regula_mutare_corpus_interaction
 				target = scope:recipient
 			}
+			scope:recipient = {
+				remove_character_flag = regula_automate_mutare_corpus_activated
+			}
 		}
 	}
 
@@ -1658,4 +1663,238 @@ regula_mutare_corpus_event.0075 = {
 			}
 		}
 	}
-}
\ No newline at end of file
+}
+
+########################################################################################
+# Automation Events
+# 1000 - Select which to automate
+# 1001 - Automation event in background
+
+# Change Body (Mutare Corpus)
+regula_mutare_corpus_event.1000 = {
+	type = character_event
+	title = regula_mutare_corpus_event.0001.t
+
+	desc = {
+		first_valid = {
+			triggered_desc = {
+				trigger = { global_var:magister_character = { piety_level = 0 }}
+				desc = regula_mutare_corpus_event.0001.desc_0
+			}
+			triggered_desc = {
+				trigger = { global_var:magister_character = { piety_level = 1 }}
+				desc = regula_mutare_corpus_event.0001.desc_1
+			}
+			triggered_desc = {
+				trigger = { global_var:magister_character = { piety_level = 2 }}
+				desc = regula_mutare_corpus_event.0001.desc_2
+			}
+			triggered_desc = {
+				trigger = { global_var:magister_character = { piety_level = 3 }}
+				desc = regula_mutare_corpus_event.0001.desc_3
+			}
+			triggered_desc = {
+				trigger = { global_var:magister_character = { piety_level = 4 }}
+				desc = regula_mutare_corpus_event.0001.desc_4
+			}
+			triggered_desc = {
+				trigger = { global_var:magister_character = { piety_level = 5 }}
+				desc = regula_mutare_corpus_event.0001.desc_5
+			}
+		}
+	}
+
+	theme = regula_theme
+	override_background = {
+		reference = godless_shrine  # Background: https://www.artstation.com/julesmartinvos
+	}
+
+	right_portrait = {
+		character = scope:recipient
+		outfit_tags = { regula_blindfold }
+    	animation = personality_zealous
+	}
+
+	immediate = {
+		scope:recipient = {
+			add_character_flag = is_naked
+		}
+	}
+
+	# Drive the power into her mind. Increased mental traits, may bump up lifestyle trait.
+	option = {
+		name = regula_mutare_corpus_event.0001.a
+		custom_description_no_bullet = { text = regula_mutare_corpus_mental_boost }
+		hidden_effect = {
+			scope:recipient = {
+				add_character_flag = regula_automate_mutare_corpus_mental_boost
+			}
+		}
+	}
+
+	# Push power into her body. Increased stength and heals body.
+	option = {
+		name = regula_mutare_corpus_event.0001.b
+		custom_description_no_bullet = { text = regula_mutare_corpus_physical_boost }
+		hidden_effect = {
+			scope:recipient = {
+				add_character_flag = regula_automate_mutare_corpus_physical_boost
+			}
+		}
+	}
+
+	# Weave it into her visage. Increase Beauty, Inheritable traits and disease immunity.
+	option = {
+		name = regula_mutare_corpus_event.0001.c
+		custom_description_no_bullet = { text = regula_mutare_corpus_sexual_boost }
+		hidden_effect = {
+			scope:recipient = {
+				add_character_flag = regula_automate_mutare_corpus_sexual_boost
+			}
+		}
+	}
+
+	# Mix power with your seed. Make her pregnant and make her healthy
+	option = {
+		name = regula_mutare_corpus_event.0001.d
+
+		trigger = {
+			scope:recipient = {
+				can_have_children = yes
+				fertility > 0
+			}
+		}
+
+		custom_description_no_bullet = { text = regula_mutare_corpus_impregnate }
+		hidden_effect = {
+			scope:recipient = {
+				add_character_flag = regula_automate_mutare_corpus_impregnate
+			}
+		}
+	}
+
+	# Personality Change, change their personality to better match a life of service
+	option = {
+		name = regula_mutare_corpus_event.0001.f
+		custom_description_no_bullet = { text = regula_mutare_corpus_change_personality }
+		hidden_effect = {
+			scope:recipient = {
+				add_character_flag = regula_automate_mutare_corpus_change_personality
+			}
+		}
+	}
+
+	# Genitals improvement if carndt game rule is enabled
+	option = {
+		name = regula_mutare_corpus_event.0001.g
+
+		trigger = { # Carnalitas genitals gamerule enabled
+			has_game_rule = carn_dt_enabled
+		}
+
+		custom_description_no_bullet = { text = regula_mutare_corpus_genitalia_improvement }
+		hidden_effect = {
+			scope:recipient = {
+				add_character_flag = regula_automate_mutare_corpus_genitalia_improvement
+			}
+		}
+	}
+
+	# Cancel
+	option = {
+		name = regula_mutare_corpus_event.1000.z
+	}
+
+	after = {
+		scope:recipient = {
+			remove_character_flag = is_naked
+		}
+	}
+}
+
+# ROOT = scope.recipient
+regula_mutare_corpus_event.1001 = {
+	type = character_event
+	trigger = {
+		is_ai = yes
+		has_trait = devoted_trait_group
+		regula_automate_mutare_corpus_enabled_for_character_trigger = yes
+		NOT = {
+			has_character_flag = regula_automate_mutare_corpus_activated
+		}
+		global_var:magister_character = {
+			piety > regula_mutare_corpus_interaction_piety_cost
+		}
+	}
+
+	immediate = {
+		global_var:magister_character = {
+			save_scope_as = actor
+			add_piety_no_experience = regula_mutare_corpus_interaction_piety_cost_negative
+		}
+		ROOT = {
+			save_scope_as = recipient
+		}
+		if = {
+			limit = {
+				has_character_flag = regula_automate_mutare_corpus_mental_boost
+			}
+			regula_mutare_corpus_mental_boost_effect = yes
+			add_character_flag = { flag = regula_automate_mutare_corpus_activated years = 3 }
+		}
+		else_if = {
+			limit = {
+				has_character_flag = regula_automate_mutare_corpus_physical_boost
+			}
+			regula_mutare_corpus_physical_boost_effect = yes
+			add_character_flag = { flag = regula_automate_mutare_corpus_activated years = 3 }
+		}
+		else_if = {
+			limit = {
+				has_character_flag = regula_automate_mutare_corpus_sexual_boost
+			}
+			regula_mutare_corpus_sexual_boost_effect = yes
+			add_character_flag = { flag = regula_automate_mutare_corpus_activated years = 3 }
+		}
+		else_if = {
+			limit = {
+				is_pregnant = no
+				can_have_children = yes
+				fertility > 0
+				has_character_flag = regula_automate_mutare_corpus_impregnate
+			}
+			regula_mutare_corpus_impregnate_effect = yes
+			add_character_flag = { flag = regula_automate_mutare_corpus_activated years = 3 }
+		}
+		else_if = {
+			limit = {
+				is_pregnant = yes
+				has_character_flag = regula_automate_mutare_corpus_impregnate
+			}
+			regula_mutare_corpus_empower_womb_effect = yes
+			add_character_flag = { flag = regula_automate_mutare_corpus_activated years = 3 }
+		}
+		else_if = {
+			limit = {
+				has_character_flag = regula_automate_mutare_corpus_impregnate
+			}
+			# TODO - Test triggered manual event for player to choose
+			remove_character_flag = regula_automate_mutare_corpus_activated
+			trigger_event = regula_mutare_corpus_event.0001
+		}
+		else_if = {
+			limit = {
+				has_character_flag = regula_automate_mutare_corpus_change_personality
+			}
+			regula_mutare_corpus_change_personality_effect = yes
+			add_character_flag = { flag = regula_automate_mutare_corpus_activated years = 3 }
+		}
+		else_if = {
+			limit = {
+				has_character_flag = regula_automate_mutare_corpus_change_personality
+			}
+			regula_mutare_corpus_genitalia_improvement_effect = yes
+			add_character_flag = { flag = regula_automate_mutare_corpus_activated years = 3 }
+		}
+	}
+}
-- 
GitLab