Fixes to saints (again) and holy orders probably

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

View file

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