# Canonizing Saints - custom localization # Swaps the Saint/canonize vocabulary per religion in one place: Christian faiths keep "Saint"/"canonize", religions with an attested term for the venerated dead use it (Wali, Divus, Siddha, Kami; gendered where the language genders it), and everything else falls back to "Venerated Ancestor"/"venerate" (matches the vanilla saint trait and 20_pam_flavorization.txt). Terms that denote a living holy person (Tzadik, Arhat, Sant, Zhenren, Sage, Ashavan) name the herald trait instead - see 00_traits.txt. These commands return single fragments only - the surrounding sentence stays a normal loc key so its saved scopes stay live, since a custom loc only carries the scope it is called on. # Gendered branches (Wali/Waliyya, Divus/Diva) resolve from the called scope, so call the noun commands on the saint (visited_saint, saint_candidate) when one is saved; scopeless/hypothetical contexts call on GetPlayer and read the generic masculine form as generic. # Verb: "canonize" (Christian) / "venerate" (other). Called on GetPlayer so it gates on the viewing player's religion, like the scopeless SelectLocalization keys. PamCanonizeVenerateVerb = { type = character text = { trigger = { OR = { faith.religion = religion:eastern_orthodox_religion faith.religion = religion:catholic_religion faith.religion = religion:protestant_religion faith.religion = religion:oriental_orthodox_religion } } localization_key = pam_canonize_verb_christian } text = { trigger = { faith.religion = religion:hellenism_religion } localization_key = pam_canonize_verb_hellenism } text = { trigger = { faith.religion = religion:confucianism_religion } localization_key = pam_canonize_verb_confucianism } text = { trigger = { faith.religion = religion:taoism_religion } localization_key = pam_canonize_verb_taoism } text = { fallback = yes localization_key = pam_canonize_verb_other } } # Bare singular noun: "Saint" (Christian, concept-linked) / per-religion term (concept-linked) / "venerated ancestor" (fallback). PamSaintOrAncestorNoun = { type = character text = { trigger = { OR = { faith.religion = religion:eastern_orthodox_religion faith.religion = religion:catholic_religion faith.religion = religion:protestant_religion faith.religion = religion:oriental_orthodox_religion } } localization_key = pam_saint_noun_christian } text = { trigger = { faith.religion = religion:islam_religion is_female = yes } localization_key = pam_saint_noun_islam_female } text = { trigger = { faith.religion = religion:islam_religion } localization_key = pam_saint_noun_islam } text = { trigger = { faith.religion = religion:hellenism_religion is_female = yes } localization_key = pam_saint_noun_hellenism_female } text = { trigger = { faith.religion = religion:hellenism_religion } localization_key = pam_saint_noun_hellenism } text = { trigger = { faith.religion = religion:jainism_religion } localization_key = pam_saint_noun_jainism } text = { trigger = { faith.religion = religion:shintoism_religion } localization_key = pam_saint_noun_shintoism } text = { trigger = { faith.religion = religion:confucianism_religion } localization_key = pam_saint_noun_confucianism } text = { trigger = { faith.religion = religion:buddhism_religion } localization_key = pam_saint_noun_buddhism } text = { trigger = { faith.religion = religion:taoism_religion } localization_key = pam_saint_noun_taoism } text = { trigger = { faith.religion = religion:judaism_religion } localization_key = pam_saint_noun_judaism } text = { fallback = yes localization_key = pam_saint_noun_other } } # Ungendered mirror of PamSaintOrAncestorNoun (same fragment keys, generic masculine). Use in hypothetical contexts called on GetPlayer, where the gendered command would wrongly key off the player's own sex. PamSaintOrAncestorNounGeneric = { type = character text = { trigger = { OR = { faith.religion = religion:eastern_orthodox_religion faith.religion = religion:catholic_religion faith.religion = religion:protestant_religion faith.religion = religion:oriental_orthodox_religion } } localization_key = pam_saint_noun_christian } text = { trigger = { faith.religion = religion:islam_religion } localization_key = pam_saint_noun_islam } text = { trigger = { faith.religion = religion:hellenism_religion } localization_key = pam_saint_noun_hellenism } text = { trigger = { faith.religion = religion:jainism_religion } localization_key = pam_saint_noun_jainism } text = { trigger = { faith.religion = religion:shintoism_religion } localization_key = pam_saint_noun_shintoism } text = { trigger = { faith.religion = religion:confucianism_religion } localization_key = pam_saint_noun_confucianism } text = { trigger = { faith.religion = religion:buddhism_religion } localization_key = pam_saint_noun_buddhism } text = { trigger = { faith.religion = religion:taoism_religion } localization_key = pam_saint_noun_taoism } text = { trigger = { faith.religion = religion:judaism_religion } localization_key = pam_saint_noun_judaism } text = { fallback = yes localization_key = pam_saint_noun_other } } # Mid-sentence noun phrase, article included in every branch ("a venerated saint" / "a Wali" / "an Arhat" / "a venerated ancestor") since a/an varies per term - the surrounding sentence must not supply its own article. PamVeneratedSaintOrAncestor = { type = character text = { trigger = { OR = { faith.religion = religion:eastern_orthodox_religion faith.religion = religion:catholic_religion faith.religion = religion:protestant_religion faith.religion = religion:oriental_orthodox_religion } } localization_key = pam_venerated_saint_christian } text = { trigger = { faith.religion = religion:islam_religion is_female = yes } localization_key = pam_venerated_saint_islam_female } text = { trigger = { faith.religion = religion:islam_religion } localization_key = pam_venerated_saint_islam } text = { trigger = { faith.religion = religion:hellenism_religion is_female = yes } localization_key = pam_venerated_saint_hellenism_female } text = { trigger = { faith.religion = religion:hellenism_religion } localization_key = pam_venerated_saint_hellenism } text = { trigger = { faith.religion = religion:jainism_religion } localization_key = pam_venerated_saint_jainism } text = { trigger = { faith.religion = religion:shintoism_religion } localization_key = pam_venerated_saint_shintoism } text = { trigger = { faith.religion = religion:confucianism_religion } localization_key = pam_venerated_saint_confucianism } text = { trigger = { faith.religion = religion:buddhism_religion } localization_key = pam_venerated_saint_buddhism } text = { trigger = { faith.religion = religion:taoism_religion } localization_key = pam_venerated_saint_taoism } text = { trigger = { faith.religion = religion:judaism_religion is_female = yes } localization_key = pam_venerated_saint_judaism_female } text = { trigger = { faith.religion = religion:judaism_religion } localization_key = pam_venerated_saint_judaism } text = { fallback = yes localization_key = pam_venerated_saint_other } } # Ungendered mirror of PamVeneratedSaintOrAncestor (same fragment keys, generic masculine). Use in hypothetical contexts called on GetPlayer. PamVeneratedSaintOrAncestorGeneric = { type = character text = { trigger = { OR = { faith.religion = religion:eastern_orthodox_religion faith.religion = religion:catholic_religion faith.religion = religion:protestant_religion faith.religion = religion:oriental_orthodox_religion } } localization_key = pam_venerated_saint_christian } text = { trigger = { faith.religion = religion:islam_religion } localization_key = pam_venerated_saint_islam } text = { trigger = { faith.religion = religion:hellenism_religion } localization_key = pam_venerated_saint_hellenism } text = { trigger = { faith.religion = religion:jainism_religion } localization_key = pam_venerated_saint_jainism } text = { trigger = { faith.religion = religion:shintoism_religion } localization_key = pam_venerated_saint_shintoism } text = { trigger = { faith.religion = religion:confucianism_religion } localization_key = pam_venerated_saint_confucianism } text = { trigger = { faith.religion = religion:buddhism_religion } localization_key = pam_venerated_saint_buddhism } text = { trigger = { faith.religion = religion:taoism_religion } localization_key = pam_venerated_saint_taoism } text = { trigger = { faith.religion = religion:judaism_religion } localization_key = pam_venerated_saint_judaism } text = { fallback = yes localization_key = pam_venerated_saint_other } } # Bare noun for decision/event/POI names: plain text (no concept link), capitalized fallback ("Consecrate the Wali" / "Consecrate the Venerated Ancestor"). Ungendered - call on GetPlayer. PamSaintOrAncestorTitleNoun = { type = character text = { trigger = { OR = { faith.religion = religion:eastern_orthodox_religion faith.religion = religion:catholic_religion faith.religion = religion:protestant_religion faith.religion = religion:oriental_orthodox_religion } } localization_key = pam_saint_title_noun_christian } text = { trigger = { faith.religion = religion:islam_religion } localization_key = pam_saint_title_noun_islam } text = { trigger = { faith.religion = religion:hellenism_religion } localization_key = pam_saint_title_noun_hellenism } text = { trigger = { faith.religion = religion:jainism_religion } localization_key = pam_saint_title_noun_jainism } text = { trigger = { faith.religion = religion:shintoism_religion } localization_key = pam_saint_title_noun_shintoism } text = { trigger = { faith.religion = religion:confucianism_religion } localization_key = pam_saint_title_noun_confucianism } text = { trigger = { faith.religion = religion:buddhism_religion } localization_key = pam_saint_title_noun_buddhism } text = { trigger = { faith.religion = religion:taoism_religion } localization_key = pam_saint_title_noun_taoism } text = { trigger = { faith.religion = religion:judaism_religion } localization_key = pam_saint_title_noun_judaism } text = { fallback = yes localization_key = pam_saint_title_noun_other } } PamSaintOrAncestorTitleNounPlural = { type = faith text = { trigger = { OR = { religion_tag = eastern_orthodox_religion religion_tag = catholic_religion religion_tag = protestant_religion religion_tag = oriental_orthodox_religion } } localization_key = pam_saint_title_noun_plural_christian } text = { trigger = { religion_tag = islam_religion } localization_key = pam_saint_title_noun_plural_islam } text = { trigger = { religion_tag = hellenism_religion } localization_key = pam_saint_title_noun_plural_hellenism } text = { trigger = { religion_tag = jainism_religion } localization_key = pam_saint_title_noun_plural_jainism } text = { trigger = { religion_tag = shintoism_religion } localization_key = pam_saint_title_noun_plural_shintoism } text = { trigger = { religion_tag = confucianism_religion } localization_key = pam_saint_title_noun_plural_confucianism } text = { trigger = { religion_tag = buddhism_religion } localization_key = pam_saint_title_noun_plural_buddhism } text = { trigger = { religion_tag = taoism_religion } localization_key = pam_saint_title_noun_plural_taoism } text = { trigger = { religion_tag = judaism_religion } localization_key = pam_saint_title_noun_plural_judaism } text = { fallback = yes localization_key = pam_saint_title_noun_plural_other } } # Article-carrying noun for names/titles: reuses the pam_venerated_saint_* fragments (already capitalized proper nouns) but falls back to the capitalized "a Venerated Ancestor" ("Tomb of a Venerated Ancestor"). Ungendered - call on GetPlayer. PamVeneratedSaintOrAncestorTitle = { type = character text = { trigger = { OR = { faith.religion = religion:eastern_orthodox_religion faith.religion = religion:catholic_religion faith.religion = religion:protestant_religion faith.religion = religion:oriental_orthodox_religion } } localization_key = pam_venerated_saint_christian } text = { trigger = { faith.religion = religion:islam_religion } localization_key = pam_venerated_saint_islam } text = { trigger = { faith.religion = religion:hellenism_religion } localization_key = pam_venerated_saint_hellenism } text = { trigger = { faith.religion = religion:jainism_religion } localization_key = pam_venerated_saint_jainism } text = { trigger = { faith.religion = religion:shintoism_religion } localization_key = pam_venerated_saint_shintoism } text = { trigger = { faith.religion = religion:confucianism_religion } localization_key = pam_venerated_saint_confucianism } text = { trigger = { faith.religion = religion:buddhism_religion } localization_key = pam_venerated_saint_buddhism } text = { trigger = { faith.religion = religion:taoism_religion } localization_key = pam_venerated_saint_taoism } text = { trigger = { faith.religion = religion:judaism_religion } localization_key = pam_venerated_saint_judaism } text = { fallback = yes localization_key = pam_venerated_saint_other_title } } # Object of the venerate verb in the canonize decision name: reuses the pam_venerated_saint_* fragments, but the fallback is "an Ancestor" so the name reads "Venerate an Ancestor" rather than "Venerate a venerated ancestor". Ungendered - call on GetPlayer. PamVenerateObjectTitle = { type = character text = { trigger = { OR = { faith.religion = religion:eastern_orthodox_religion faith.religion = religion:catholic_religion faith.religion = religion:protestant_religion faith.religion = religion:oriental_orthodox_religion } } localization_key = pam_venerated_saint_christian_capitalized } text = { trigger = { faith.religion = religion:islam_religion } localization_key = pam_venerated_saint_islam } text = { trigger = { faith.religion = religion:hellenism_religion } localization_key = pam_venerated_saint_hellenism } text = { trigger = { faith.religion = religion:jainism_religion } localization_key = pam_venerated_saint_jainism } text = { trigger = { faith.religion = religion:shintoism_religion } localization_key = pam_venerated_saint_shintoism } text = { trigger = { faith.religion = religion:confucianism_religion } localization_key = pam_venerated_saint_confucianism } text = { trigger = { faith.religion = religion:buddhism_religion } localization_key = pam_venerated_saint_buddhism } text = { trigger = { faith.religion = religion:taoism_religion } localization_key = pam_venerated_saint_taoism } text = { trigger = { faith.religion = religion:judaism_religion } localization_key = pam_venerated_saint_judaism } text = { fallback = yes localization_key = pam_venerate_object_other } } # Collective plural: "the blessed ones" (Christian) / per-religion plural ("the Awliya", "the Tzadikim", ...) / "the venerated ancestors" (fallback). PamBlessedOnesOrAncestors = { type = character text = { trigger = { OR = { faith.religion = religion:eastern_orthodox_religion faith.religion = religion:catholic_religion faith.religion = religion:protestant_religion faith.religion = religion:oriental_orthodox_religion } } localization_key = pam_blessed_ones_christian } text = { trigger = { faith.religion = religion:islam_religion } localization_key = pam_blessed_ones_islam } text = { trigger = { faith.religion = religion:hellenism_religion } localization_key = pam_blessed_ones_hellenism } text = { trigger = { faith.religion = religion:jainism_religion } localization_key = pam_blessed_ones_jainism } text = { trigger = { faith.religion = religion:shintoism_religion } localization_key = pam_blessed_ones_shintoism } text = { trigger = { faith.religion = religion:confucianism_religion } localization_key = pam_blessed_ones_confucianism } text = { trigger = { faith.religion = religion:buddhism_religion } localization_key = pam_blessed_ones_buddhism } text = { trigger = { faith.religion = religion:taoism_religion } localization_key = pam_blessed_ones_taoism } text = { trigger = { faith.religion = religion:judaism_religion } localization_key = pam_blessed_ones_judaism } text = { fallback = yes localization_key = pam_blessed_ones_other } } # Consecrated (Christian)/Enshrined. PamConsecrateEnshrine = { type = character text = { trigger = { OR = { faith.religion = religion:eastern_orthodox_religion faith.religion = religion:catholic_religion faith.religion = religion:protestant_religion faith.religion = religion:oriental_orthodox_religion } } localization_key = pam_consecrate_christian } text = { fallback = yes localization_key = pam_consecrate_others } } PamConsecratedEnshrined = { parent = PamConsecrateEnshrine suffix = "_past" } PamConsecratingEnshrining = { parent = PamConsecrateEnshrine suffix = "_present" }