diff --git a/common/artifacts/templates/00_historical_artifacts_templates.txt b/common/artifacts/templates/00_historical_artifacts_templates.txt deleted file mode 100644 index 70538291f..000000000 --- a/common/artifacts/templates/00_historical_artifacts_templates.txt +++ /dev/null @@ -1,1233 +0,0 @@ -ark_covenant_template = { - can_equip = { - always = yes - } - - # can this character benefit from the full modifiers of the artifact? - can_benefit = { - OR = { - jewish_artifact_access_trigger = yes - christian_artifact_access_trigger = yes - islamic_artifact_access_trigger = yes - } - } - - is_holy_relic = { - OR = { - religion = religion:judaism_religion - religion = religion:christianity_religion - religion = religion:catholic_religion - religion = religion:protestant_religion - religion = religion:eastern_orthodox_religion - religion = religion:oriental_orthodox_religion - religion = religion:islam_religion - main_rite = { rite_has_parameter = jewish_syncretic_actor } - main_rite = { rite_has_parameter = christian_syncretic_actor } - main_rite = { rite_has_parameter = islamic_syncretic_actor } - } - } - - # if a given character does not pass the "can_benefit" trigger then this modifier will be applied instead. - fallback = { - court_grandeur_baseline_add = 6 - monthly_dynasty_prestige_mult = 0.05 - } - - unique = yes -} - -banner_thankfulness = { - can_equip = { - always = yes - } - - # can this character benefit from the full modifiers of the artifact? - can_benefit = { - islamic_artifact_access_trigger = yes - } - - is_holy_relic = { - OR = { - religion = religion:islam_religion - main_rite = { rite_has_parameter = islamic_syncretic_actor } - } - } - - # if a given character does not pass the "can_benefit" trigger then this modifier will be applied instead. - fallback = { - court_grandeur_baseline_add = 6 - } - - unique = yes -} - -babr_template = { - can_equip = { - always = yes - } - - # can this character benefit from the full modifiers of the artifact? - can_benefit = { - culture = { has_cultural_pillar = heritage_iranian } - } - - # if a given character does not pass the "can_benefit" trigger then this modifier will be applied instead. - fallback = { - court_grandeur_baseline_add = 6 - monthly_dynasty_prestige_mult = 0.05 - } - - unique = yes -} - -justinian_template = { - can_equip = { - trigger_if = { - limit = { - has_ach_dlc_trigger = yes - coronation_proper_artifact_crown_trigger = yes - NOT = { scope:artifact = { category = court } } - } - NOT = { has_realm_law = uncrowned } - } - } - - # can this character benefit from the full modifiers of the artifact? - can_benefit = { - OR = { - culture = { has_cultural_pillar = heritage_byzantine } - is_roman_emperor_trigger = yes - any_liege_or_above = { - is_roman_emperor_trigger = yes - } - } - } - - # if a given character does not pass the "can_benefit" trigger then this modifier will be applied instead. - fallback = { - court_grandeur_baseline_add = 4 - monthly_dynasty_prestige_mult = 0.05 - } - - unique = yes -} - -papal_tiara_template = { - can_equip = { - trigger_if = { - limit = { - has_ach_dlc_trigger = yes - coronation_proper_artifact_crown_trigger = yes - NOT = { scope:artifact = { category = court } } - is_ai = no - } - NOT = { has_realm_law = uncrowned } - } - } - - # can this character benefit from the full modifiers of the artifact? - can_benefit = { - OR = { - has_title = title:k_papal_state - any_liege_or_above = { - has_title = title:k_papal_state - } - } - } - - # Deliberately not a holy relic: the tiara is Papal regalia, so it cannot be enshrined or targeted by relic wars - - # if a given character does not pass the "can_benefit" trigger then this modifier will be applied instead. - fallback = { - court_grandeur_baseline_add = 4 - monthly_prestige = 1 - } - - unique = yes -} - -al_taj_template = { - can_equip = { - always = yes - } - - # can this character benefit from the full modifiers of the artifact? - can_benefit = { - OR = { - has_title = title:d_shiite - any_liege_or_above = { - has_title = title:d_shiite - } - } - } - - is_holy_relic = { - OR = { - religion = religion:islam_religion - main_rite = { rite_has_parameter = islamic_syncretic_actor } - } - main_rite = { rite_has_doctrine = muhammad_succession_shia_doctrine } - } - - # if a given character does not pass the "can_benefit" trigger then this modifier will be applied instead. - fallback = { - court_grandeur_baseline_add = 4 - monthly_prestige = 0.3 - } - - unique = yes -} - -cup_jamshid_template = { - can_equip = { - always = yes - } - - # can this character benefit from the full modifiers of the artifact? - can_benefit = { - culture = { has_cultural_pillar = heritage_iranian } - } - - # if a given character does not pass the "can_benefit" trigger then this modifier will be applied instead. - fallback = { - court_grandeur_baseline_add = 5 - enemy_hostile_scheme_success_chance_add = -10 - } - - unique = yes -} - -david_harp_template = { - can_equip = { - always = yes - } - - # can this character benefit from the full modifiers of the artifact? - can_benefit = { - OR = { - jewish_artifact_access_trigger = yes - christian_artifact_access_trigger = yes - islamic_artifact_access_trigger = yes - } - } - - is_holy_relic = { - OR = { - religion = religion:judaism_religion - religion = religion:christianity_religion - religion = religion:catholic_religion - religion = religion:protestant_religion - religion = religion:eastern_orthodox_religion - religion = religion:oriental_orthodox_religion - religion = religion:islam_religion - main_rite = { rite_has_parameter = jewish_syncretic_actor } - main_rite = { rite_has_parameter = christian_syncretic_actor } - main_rite = { rite_has_parameter = islamic_syncretic_actor } - } - } - - # if a given character does not pass the "can_benefit" trigger then this modifier will be applied instead. - fallback = { - court_grandeur_baseline_add = 6 - monthly_prestige_gain_mult = 0.04 - attraction_opinion = 10 - } - - unique = yes -} - -crown_iron_template = { - can_equip = { - trigger_if = { - limit = { - has_ach_dlc_trigger = yes - coronation_proper_artifact_crown_trigger = yes - NOT = { scope:artifact = { category = court } } - } - NOT = { has_realm_law = uncrowned } - } - } - - # can this character benefit from the full modifiers of the artifact? - can_benefit = { - christian_artifact_access_trigger = yes - } - - is_holy_relic = { - OR = { - religion = religion:christianity_religion - religion = religion:catholic_religion - religion = religion:protestant_religion - religion = religion:eastern_orthodox_religion - religion = religion:oriental_orthodox_religion - main_rite = { rite_has_parameter = christian_syncretic_actor } - } - } - - # if a given character does not pass the "can_benefit" trigger then this modifier will be applied instead. - fallback = { - court_grandeur_baseline_add = 6 - monthly_dynasty_prestige_mult = 0.05 - monthly_prestige_gain_mult = 0.04 - } - - unique = yes -} - -reichskrone_template = { - can_equip = { - trigger_if = { - limit = { - has_ach_dlc_trigger = yes - coronation_proper_artifact_crown_trigger = yes - NOT = { scope:artifact = { category = court } } - } - NOT = { has_realm_law = uncrowned } - } - } - - # can this character benefit from the full modifiers of the artifact? - can_benefit = { - OR = { - has_title = title:e_hre - any_liege_or_above = { - has_title = title:e_hre - } - is_roman_emperor_trigger = yes - any_liege_or_above = { - is_roman_emperor_trigger = yes - } - } - } - - # if a given character does not pass the "can_benefit" trigger then this modifier will be applied instead. - fallback = { - court_grandeur_baseline_add = 6 - monthly_dynasty_prestige_mult = 0.05 - } - - unique = yes -} - -throne_charlemagne_template = { - can_equip = { - always = yes - } - - # can this character benefit from the full modifiers of the artifact? - can_benefit = { - OR = { - christian_artifact_access_trigger = yes - islamic_artifact_access_trigger = yes - } - } - - # if a given character does not pass the "can_benefit" trigger then this modifier will be applied instead. - fallback = { - court_grandeur_baseline_add = 2 - monthly_dynasty_prestige = 0.02 - monthly_prestige = 0.3 - } - - unique = yes -} - -throne_solomon_template = { - can_equip = { - always = yes - } - - # can this character benefit from the full modifiers of the artifact? - can_benefit = { - OR = { - jewish_artifact_access_trigger = yes - christian_artifact_access_trigger = yes - islamic_artifact_access_trigger = yes - } - } - - is_holy_relic = { - OR = { - religion = religion:judaism_religion - religion = religion:christianity_religion - religion = religion:catholic_religion - religion = religion:protestant_religion - religion = religion:eastern_orthodox_religion - religion = religion:oriental_orthodox_religion - religion = religion:islam_religion - main_rite = { rite_has_parameter = jewish_syncretic_actor } - main_rite = { rite_has_parameter = christian_syncretic_actor } - main_rite = { rite_has_parameter = islamic_syncretic_actor } - } - } - - # if a given character does not pass the "can_benefit" trigger then this modifier will be applied instead. - fallback = { - court_grandeur_baseline_add = 3 - monthly_dynasty_prestige = 0.02 - monthly_prestige = 0.15 - } - - unique = yes -} - -byz_throne_template = { - can_equip = { - always = yes - } - - # can this character benefit from the full modifiers of the artifact? - can_benefit = { - OR = { - is_roman_emperor_trigger = yes - culture = { has_cultural_pillar = heritage_byzantine } - } - } - - # if a given character does not pass the "can_benefit" trigger then this modifier will be applied instead. - fallback = { - court_grandeur_baseline_add = 4 - monthly_prestige = 0.3 - } - - unique = yes -} - -throne_scone_template = { - can_equip = { - always = yes - } - - # can this character benefit from the full modifiers of the artifact? - can_benefit = { - OR = { - culture = { has_cultural_pillar = heritage_west_germanic } - culture = { has_cultural_pillar = heritage_goidelic } - culture = { has_cultural_pillar = heritage_brythonic } - } - } - - # if a given character does not pass the "can_benefit" trigger then this modifier will be applied instead. - fallback = { - court_grandeur_baseline_add = 3 - monthly_dynasty_prestige = 0.02 - monthly_prestige = 0.1 - } - - unique = yes -} - -kaviani_template = { - can_equip = { - always = yes - } - - # can this character benefit from the full modifiers of the artifact? - can_benefit = { - culture = { has_cultural_pillar = heritage_iranian } - } - - # if a given character does not pass the "can_benefit" trigger then this modifier will be applied instead. - fallback = { - court_grandeur_baseline_add = 3 - monthly_dynasty_prestige = 0.04 - monthly_prestige = 0.25 - } - - unique = yes -} - -edessa_template = { - can_equip = { - always = yes - } - - # can this character benefit from the full modifiers of the artifact? - can_benefit = { - christian_artifact_access_trigger = yes - } - - is_holy_relic = { - OR = { - religion = religion:christianity_religion - religion = religion:catholic_religion - religion = religion:protestant_religion - religion = religion:eastern_orthodox_religion - religion = religion:oriental_orthodox_religion - main_rite = { rite_has_parameter = christian_syncretic_actor } - } - } - - # if a given character does not pass the "can_benefit" trigger then this modifier will be applied instead. - fallback = { - court_grandeur_baseline_add = 3 - } - - unique = yes -} - -tizona_template = { - can_equip = { - always = yes - } - - # can this character benefit from the full modifiers of the artifact? - can_benefit = { - culture = { has_cultural_pillar = heritage_iberian } - } - - # if a given character does not pass the "can_benefit" trigger then this modifier will be applied instead. - fallback = { - prowess = 3 - monthly_prestige = 0.2 - monthly_dynasty_prestige_mult = 0.02 - } - - unique = yes -} - -muhammad_sword_template = { - can_equip = { - always = yes - } - - # can this character benefit from the full modifiers of the artifact? - can_benefit = { - islamic_artifact_access_trigger = yes - } - - is_holy_relic = { - OR = { - religion = religion:islam_religion - main_rite = { rite_has_parameter = islamic_syncretic_actor } - } - } - - # if a given character does not pass the "can_benefit" trigger then this modifier will be applied instead. - fallback = { - prowess = 1 - monthly_prestige = 0.2 - court_grandeur_baseline_add = 3 - } - - unique = yes -} - -sword_goujian_template = { - can_equip = { - always = yes - } - - # can this character benefit from the full modifiers of the artifact? - can_benefit = { - government_has_flag = government_has_merit - } - - # if a given character does not pass the "can_benefit" trigger then this modifier will be applied instead. - fallback = { - monthly_prestige = 0.2 - court_grandeur_baseline_add = 3 - } - - unique = yes -} - -christian_artifact_template = { - can_equip = { - always = yes - } - - # can this character benefit from the full modifiers of the artifact? - can_benefit = { - christian_artifact_access_trigger = yes - } - - is_holy_relic = { - OR = { - religion = religion:christianity_religion - religion = religion:catholic_religion - religion = religion:protestant_religion - religion = religion:eastern_orthodox_religion - religion = religion:oriental_orthodox_religion - main_rite = { rite_has_parameter = christian_syncretic_actor } - } - } - - # if a given character does not pass the "can_benefit" trigger then this modifier will be applied instead. - fallback = { - court_grandeur_baseline_add = 3 - } - - unique = yes -} - -islam_artifact_template = { - can_equip = { - always = yes - } - - # can this character benefit from the full modifiers of the artifact? - can_benefit = { - islamic_artifact_access_trigger = yes - } - - is_holy_relic = { - OR = { - religion = religion:islam_religion - main_rite = { rite_has_parameter = islamic_syncretic_actor } - } - } - - # if a given character does not pass the "can_benefit" trigger then this modifier will be applied instead. - fallback = { - court_grandeur_baseline_add = 3 - } - - unique = yes -} - -buddhism_artifact_template = { - can_equip = { - always = yes - } - - # can this character benefit from the full modifiers of the artifact? - can_benefit = { - has_religion = religion:buddhism_religion - } - - is_holy_relic = { - OR = { - religion = religion:buddhism_religion - main_rite = { rite_has_parameter = eastern_syncretic_actor } - } - } - - # if a given character does not pass the "can_benefit" trigger then this modifier will be applied instead. - fallback = { - court_grandeur_baseline_add = 3 - } - - unique = yes -} - -attila_template = { - can_equip = { - always = yes - } - - # can this character benefit from the full modifiers of the artifact? - can_benefit = { - unreformed_or_syncretic_with_unreformed_trigger = { CHARACTER = root } - } - - # if a given character does not pass the "can_benefit" trigger then this modifier will be applied instead. - fallback = { - court_grandeur_baseline_add = 4 - dread_baseline_add = 5 - } - - unique = yes -} - -pentapyrgion_template = { - can_equip = { - always = yes - } - - # can this character benefit from the full modifiers of the artifact? - can_benefit = { - OR = { - is_roman_emperor_trigger = yes - liege ?= { - is_roman_emperor_trigger = yes - } - culture = { has_cultural_pillar = heritage_byzantine } - } - } - - # if a given character does not pass the "can_benefit" trigger then this modifier will be applied instead. - fallback = { - court_grandeur_baseline_add = 3 - monthly_dynasty_prestige = 0.04 - } - - unique = yes -} - -branch_zoroastr_template = { - can_equip = { - always = yes - } - - # can this character benefit from the full modifiers of the artifact? - can_benefit = { - zoroastrian_or_syncretic_with_eastern_trigger = { CHARACTER = root } - } - - is_holy_relic = { - OR = { - religion = religion:zoroastrianism_religion - main_rite = { rite_has_parameter = eastern_syncretic_actor } - } - } - - # if a given character does not pass the "can_benefit" trigger then this modifier will be applied instead. - fallback = { - court_grandeur_baseline_add = 3 - } - - unique = yes -} - -branch_germanic_template = { - can_equip = { - always = yes - } - - # can this character benefit from the full modifiers of the artifact? - can_benefit = { - has_religion = religion:germanic_religion - } - - is_holy_relic = { - OR = { - religion = religion:germanic_religion - main_rite = { rite_has_parameter = unreformed_syncretic_actor } - } - } - - # if a given character does not pass the "can_benefit" trigger then this modifier will be applied instead. - fallback = { - court_grandeur_baseline_add = 3 - } - - unique = yes -} - -branch_slavic_template = { - can_equip = { - always = yes - } - - # can this character benefit from the full modifiers of the artifact? - can_benefit = { - has_religion = religion:slavic_religion - } - - is_holy_relic = { - OR = { - religion = religion:slavic_religion - main_rite = { rite_has_parameter = unreformed_syncretic_actor } - } - } - - # if a given character does not pass the "can_benefit" trigger then this modifier will be applied instead. - fallback = { - court_grandeur_baseline_add = 3 - } - - unique = yes -} - -branch_boog_template = { - can_equip = { - always = yes - } - - # can this character benefit from the full modifiers of the artifact? - can_benefit = { - has_religion = religion:west_african_roog_religion - } - - is_holy_relic = { - OR = { - religion = religion:west_african_roog_religion - main_rite = { rite_has_parameter = unreformed_syncretic_actor } - } - } - - # if a given character does not pass the "can_benefit" trigger then this modifier will be applied instead. - fallback = { - court_grandeur_baseline_add = 3 - } - - unique = yes -} - -branch_hinduism_template = { - can_equip = { - always = yes - } - - # can this character benefit from the full modifiers of the artifact? - can_benefit = { - hindu_or_syncretic_with_eastern_trigger = { CHARACTER = root } - } - - is_holy_relic = { - OR = { - religion = religion:hinduism_religion - main_rite = { rite_has_parameter = eastern_syncretic_actor } - } - } - - # if a given character does not pass the "can_benefit" trigger then this modifier will be applied instead. - fallback = { - court_grandeur_baseline_add = 3 - } - - unique = yes -} - -relic_finno_ugric_template = { - can_equip = { - always = yes - } - - # can this character benefit from the full modifiers of the artifact? - can_benefit = { - has_religion = religion:finno_ugric_religion - } - - is_holy_relic = { - OR = { - religion = religion:finno_ugric_religion - main_rite = { rite_has_parameter = unreformed_syncretic_actor } - } - } - - # if a given character does not pass the "can_benefit" trigger then this modifier will be applied instead. - fallback = { - court_grandeur_baseline_add = 3 - } - - unique = yes -} - -jainism_artifact_template = { - can_equip = { - always = yes - } - - # can this character benefit from the full modifiers of the artifact? - can_benefit = { - jain_or_syncretic_with_eastern_trigger = { CHARACTER = root } - } - - is_holy_relic = { - OR = { - religion = religion:jainism_religion - main_rite = { rite_has_parameter = eastern_syncretic_actor } - } - } - - # if a given character does not pass the "can_benefit" trigger then this modifier will be applied instead. - fallback = { - court_grandeur_baseline_add = 3 - } - - unique = yes -} - -branch_general_template = { - can_equip = { - always = yes - } - - # can this character benefit from the full modifiers of the artifact? - can_benefit = { - trigger_if = { - limit = { - scope:artifact = { exists = var:relic_religion } - } - has_religion = scope:artifact.var:relic_religion - } - } - - is_holy_relic = { - scope:artifact = { exists = var:relic_religion } - religion = scope:artifact.var:relic_religion - } - - # if a given character does not pass the "can_benefit" trigger then this modifier will be applied instead. - fallback = { - court_grandeur_baseline_add = 3 - } - - unique = yes -} - - -### Court Artifacts Templates ### - -cross_template = { - can_equip = { - christian_artifact_access_trigger = yes - } - - can_benefit = { - christian_artifact_access_trigger = yes - } - - is_holy_relic = { - OR = { - religion = religion:christianity_religion - religion = religion:catholic_religion - religion = religion:protestant_religion - religion = religion:eastern_orthodox_religion - religion = religion:oriental_orthodox_religion - main_rite = { rite_has_parameter = christian_syncretic_actor } - } - } - - fallback = { - monthly_prestige = 0.2 - } -} - -christian_relic_template = { - can_equip = { - always = yes - } - - can_benefit = { - christian_artifact_access_trigger = yes - } - - is_holy_relic = { - OR = { - religion = religion:christianity_religion - religion = religion:catholic_religion - religion = religion:protestant_religion - religion = religion:eastern_orthodox_religion - religion = religion:oriental_orthodox_religion - main_rite = { rite_has_parameter = christian_syncretic_actor } - } - } - - fallback = { - court_grandeur_baseline_add = 3 - } - - unique = yes -} - -islam_relic_template = { - can_equip = { - always = yes - } - - can_benefit = { - islamic_artifact_access_trigger = yes - } - - is_holy_relic = { - OR = { - religion = religion:islam_religion - main_rite = { rite_has_parameter = islamic_syncretic_actor } - } - } - - fallback = { - court_grandeur_baseline_add = 3 - } - - unique = yes -} - -buddhism_relic_template = { - can_equip = { - always = yes - } - - can_benefit = { - has_religion = religion:buddhism_religion - } - - is_holy_relic = { - OR = { - religion = religion:buddhism_religion - main_rite = { rite_has_parameter = eastern_syncretic_actor } - } - } - - fallback = { - court_grandeur_baseline_add = 3 - } - - unique = yes -} - -judaism_relic_template = { - can_equip = { - always = yes - } - - can_benefit = { - jewish_artifact_access_trigger = yes - } - - is_holy_relic = { - OR = { - religion = religion:judaism_religion - main_rite = { rite_has_parameter = jewish_syncretic_actor } - } - } - - fallback = { - court_grandeur_baseline_add = 3 - } - - unique = yes -} - -religious_statue_template = { - can_equip = { - always = yes - } - - can_benefit = { - scope:artifact = { has_variable = statue_religion } - religion = scope:artifact.var:statue_religion - } - - is_holy_relic = { - scope:artifact = { has_variable = statue_religion } - religion = scope:artifact.var:statue_religion - } - - fallback = { - court_grandeur_baseline_add = 3 - } -} - -6050_relic_template = { - can_equip = { - scope:artifact = { has_variable = statue_religion } - religion = scope:artifact.var:statue_religion - } - - can_benefit = { - scope:artifact = { has_variable = statue_religion } - religion = scope:artifact.var:statue_religion - } - - is_holy_relic = { - scope:artifact = { has_variable = statue_religion } - religion = scope:artifact.var:statue_religion - } - - fallback = { - monthly_prestige = 0.2 - } -} - -saintly_bones_template = { - can_equip = { - scope:artifact = { has_variable = saint_bone_faith } - saintly_bones_faith_trigger = yes - } - - can_benefit = { - scope:artifact = { has_variable = saint_bone_faith } - saintly_bones_faith_trigger = yes - } - - is_holy_relic = { - scope:artifact = { has_variable = saint_bone_faith } - OR = { - religion = religion:christianity_religion - religion = religion:catholic_religion - religion = religion:protestant_religion - religion = religion:eastern_orthodox_religion - religion = religion:oriental_orthodox_religion - main_rite = { rite_has_parameter = christian_syncretic_actor } - } - } - - fallback = { - monthly_prestige = 0.1 - } -} - -general_unique_template = { - can_equip = { - always = yes - } - - can_benefit = { - } - - fallback = { - - } - - unique = yes -} - -child_toy_template = { - can_equip = { - trigger_if = { - limit = { - NOT = { - scope:artifact = { category = court } - } - } - custom_tooltip = { - text = child_toy_template_tt - age < 16 - } - } - } - - can_benefit = { - } - - fallback = { - - } -} - -adults_only_template = { - can_equip = { - age > 18 - } - - can_benefit = { - } - - fallback = { - - } -} - -### FP2 Templates ### - -fp2_chalice_dona_urraca_template = { - can_equip = { - always = yes - } - - # Can this character benefit from the full modifiers of the artifact? - can_benefit = { - christian_artifact_access_trigger = yes - } - - is_holy_relic = { - OR = { - religion = religion:christianity_religion - religion = religion:catholic_religion - religion = religion:protestant_religion - religion = religion:eastern_orthodox_religion - religion = religion:oriental_orthodox_religion - main_rite = { rite_has_parameter = christian_syncretic_actor } - } - } - - # If a given character does not pass the "can_benefit" trigger then this modifier will be applied instead. - fallback = { - monthly_prestige = 0.5 - } - - unique = yes -} - -fp2_santiago_aquamanile_template = { - can_equip = { - always = yes - } - - # Can this character benefit from the full modifiers of the artifact? - can_benefit = { - islamic_artifact_access_trigger = yes - # These are really only relevant within Iberia, so we only care about them during the struggle. - - trigger_if = { - limit = { exists = struggle:iberian_struggle } - any_character_struggle = { is_struggle_type = iberian_struggle } - } - } - - # If a given character does not pass the "can_benefit" trigger then this modifier will be applied instead. - fallback = { - monthly_prestige = 0.1 - negate_health_penalty_add = 0.25 - } - - unique = yes -} - -fp2_santiago_bells_template = { - can_equip = { - always = yes - } - - # Can this character benefit from the full modifiers of the artifact? - can_benefit = { - christian_artifact_access_trigger = yes - # These are really only relevant within Iberia, so we only care about them during the struggle. - trigger_if = { - limit = { exists = struggle:iberian_struggle } - custom_description = { - text = involved_in_iberian_struggle_trigger - any_character_struggle = { this = struggle:iberian_struggle } - } - } - trigger_else = { - culture = { has_cultural_pillar = heritage_iberian } - } - } - - is_holy_relic = { - OR = { - religion = religion:christianity_religion - religion = religion:catholic_religion - religion = religion:protestant_religion - religion = religion:eastern_orthodox_religion - religion = religion:oriental_orthodox_religion - main_rite = { rite_has_parameter = christian_syncretic_actor } - } - } - - # If a given character does not pass the "can_benefit" trigger then this modifier will be applied instead. - fallback = { - # I mean... it's a set of giant bells. Only means something to the two relevant groups of Abrahamics. - monthly_prestige = 0.1 - } - - unique = yes -} - -crown_christian_relic_template = { - can_equip = { - trigger_if = { - limit = { - has_ach_dlc_trigger = yes - coronation_proper_artifact_crown_trigger = yes - NOT = { scope:artifact = { category = court } } - } - NOT = { has_realm_law = uncrowned } - } - } - - can_benefit = { - christian_artifact_access_trigger = yes - } - - is_holy_relic = { - OR = { - religion = religion:christianity_religion - religion = religion:catholic_religion - religion = religion:protestant_religion - religion = religion:eastern_orthodox_religion - religion = religion:oriental_orthodox_religion - main_rite = { rite_has_parameter = christian_syncretic_actor } - } - } - - fallback = { - monthly_prestige = 0.5 - } -} - diff --git a/common/customizable_localization/NEOW_saint_custom_loc.txt b/common/customizable_localization/NEOW_saint_custom_loc.txt deleted file mode 100644 index 37453e990..000000000 --- a/common/customizable_localization/NEOW_saint_custom_loc.txt +++ /dev/null @@ -1,661 +0,0 @@ - -# 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:christianity_religion 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:christianity_religion 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:christianity_religion 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:christianity_religion 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:christianity_religion 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:christianity_religion 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 = christianity_religion 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:christianity_religion 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:christianity_religion 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:christianity_religion 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:christianity_religion 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" -} diff --git a/common/on_action/game_start.txt b/common/on_action/game_start.txt index 14df1a01f..a1afd0786 100644 --- a/common/on_action/game_start.txt +++ b/common/on_action/game_start.txt @@ -16388,7 +16388,6 @@ on_game_start_after_lobby = { events = { # game_rule.1011 #Hungarian Migration management. - historical_artifacts.0050 historical_artifacts.0023 # Historical Artifacts Generator coronation_events.0302 # ACH crown giveaway } diff --git a/common/scripted_effects/02_starting_holy_site_relics_effects.txt b/common/scripted_effects/02_starting_holy_site_relics_effects.txt deleted file mode 100644 index edfea2eff..000000000 --- a/common/scripted_effects/02_starting_holy_site_relics_effects.txt +++ /dev/null @@ -1,1675 +0,0 @@ -# Starting Holy Site Relics # -# -# Helpers used by historical_artifacts.0050 to seed enshrined relics at -# holy sites. The event runs two passes: -# Pass 1: for every faith, at each of its eminent/regular holy sites, if the -# county controller shares that faith, create one relic. -# Pass 2: for every faith with at least 3 county followers, at each of -# its eminent holy sites that still has no artifact, if the -# controller's faith rates the diaspora faith astray-or-better, -# create one relic anyway. -# -# Expected scopes on entry to any create_starting_relic_*_effect: -# scope:relic_faith = the faith the relic is for (may not be the -# controller's faith in pass 2) -# scope:relic_site = the holy site scope -# scope:relic_owner = the temporary artifact-creation-scope owner -# (the finalizer's set_holy_site_owner transfers -# ownership to the holy site itself) -# -# Dispatchers route on (relic_site, relic_faith.religion) to either a -# curated named-relic block or a per-religion generic block. - -########################### -# Eminent-site dispatcher # -########################### - -create_starting_holy_relic_eminent_effect = { - # Curated illustrious relics at eminent sites - if = { - limit = { - OR = { - scope:relic_faith.religion = religion:christianity_religion - scope:relic_faith.religion = religion:catholic_religion - scope:relic_faith.religion = religion:protestant_religion - scope:relic_faith.religion = religion:eastern_orthodox_religion - scope:relic_faith.religion = religion:oriental_orthodox_religion - } - scope:relic_site = holy_site:rome - } - create_starting_relic_rome_christian_effect = yes - } - else_if = { - limit = { - OR = { - scope:relic_faith.religion = religion:christianity_religion - scope:relic_faith.religion = religion:catholic_religion - scope:relic_faith.religion = religion:protestant_religion - scope:relic_faith.religion = religion:eastern_orthodox_religion - scope:relic_faith.religion = religion:oriental_orthodox_religion - } - scope:relic_site = holy_site:constantinople - } - create_starting_relic_constantinople_christian_effect = yes - } - else_if = { - limit = { - OR = { - scope:relic_faith.religion = religion:christianity_religion - scope:relic_faith.religion = religion:catholic_religion - scope:relic_faith.religion = religion:protestant_religion - scope:relic_faith.religion = religion:eastern_orthodox_religion - scope:relic_faith.religion = religion:oriental_orthodox_religion - } - scope:relic_site = holy_site:jerusalem - } - create_starting_relic_jerusalem_christian_effect = yes - } - else_if = { - limit = { - OR = { - scope:relic_faith.religion = religion:christianity_religion - scope:relic_faith.religion = religion:catholic_religion - scope:relic_faith.religion = religion:protestant_religion - scope:relic_faith.religion = religion:eastern_orthodox_religion - scope:relic_faith.religion = religion:oriental_orthodox_religion - } - scope:relic_site = holy_site:santiago - } - create_starting_relic_santiago_christian_effect = yes - } - else_if = { - limit = { - OR = { - scope:relic_faith.religion = religion:christianity_religion - scope:relic_faith.religion = religion:catholic_religion - scope:relic_faith.religion = religion:protestant_religion - scope:relic_faith.religion = religion:eastern_orthodox_religion - scope:relic_faith.religion = religion:oriental_orthodox_religion - } - scope:relic_site = holy_site:alexandria - } - create_starting_relic_alexandria_christian_effect = yes - } - else_if = { - limit = { - OR = { - scope:relic_faith.religion = religion:christianity_religion - scope:relic_faith.religion = religion:catholic_religion - scope:relic_faith.religion = religion:protestant_religion - scope:relic_faith.religion = religion:eastern_orthodox_religion - scope:relic_faith.religion = religion:oriental_orthodox_religion - } - scope:relic_site = holy_site:antioch - } - create_starting_relic_antioch_christian_effect = yes - } - else_if = { - limit = { - OR = { - scope:relic_faith.religion = religion:christianity_religion - scope:relic_faith.religion = religion:catholic_religion - scope:relic_faith.religion = religion:protestant_religion - scope:relic_faith.religion = religion:eastern_orthodox_religion - scope:relic_faith.religion = religion:oriental_orthodox_religion - } - scope:relic_site = holy_site:kerala - } - create_starting_relic_kerala_christian_effect = yes - } - else_if = { - limit = { - scope:relic_faith.religion = religion:islam_religion - scope:relic_site = holy_site:mecca - } - create_starting_relic_mecca_islamic_effect = yes - } - else_if = { - limit = { - scope:relic_faith.religion = religion:islam_religion - scope:relic_site = holy_site:medina - } - create_starting_relic_medina_islamic_effect = yes - } - else_if = { - limit = { - scope:relic_faith.religion = religion:islam_religion - scope:relic_site = holy_site:jerusalem - } - create_starting_relic_jerusalem_islamic_effect = yes - } - else_if = { - limit = { - scope:relic_faith.religion = religion:islam_religion - scope:relic_site = holy_site:nadjaf - } - create_starting_relic_nadjaf_islamic_effect = yes - } - else_if = { - limit = { - scope:relic_faith.religion = religion:judaism_religion - scope:relic_site = holy_site:jerusalem - } - create_starting_relic_jerusalem_jewish_effect = yes - } - else_if = { - limit = { - scope:relic_faith.religion = religion:judaism_religion - scope:relic_site = holy_site:sinai - } - create_starting_relic_sinai_jewish_effect = yes - } - else_if = { - limit = { - scope:relic_faith.religion = religion:buddhism_religion - scope:relic_site = holy_site:bodh_gaya - } - create_starting_relic_bodh_gaya_buddhist_effect = yes - } - else_if = { - limit = { - scope:relic_faith.religion = religion:buddhism_religion - scope:relic_site = holy_site:lhasa - } - create_starting_relic_lhasa_buddhist_effect = yes - } - else_if = { - limit = { - scope:relic_faith.religion = religion:buddhism_religion - scope:relic_site = holy_site:atamasthana - } - create_starting_relic_atamasthana_buddhist_effect = yes - } - else_if = { - limit = { - scope:relic_faith.religion = religion:hinduism_religion - scope:relic_site = holy_site:varanasi - } - create_starting_relic_varanasi_hindu_effect = yes - } - else_if = { - limit = { - scope:relic_faith.religion = religion:hinduism_religion - scope:relic_site = holy_site:mathura - } - create_starting_relic_mathura_hindu_effect = yes - } - else_if = { - limit = { - scope:relic_faith.religion = religion:hinduism_religion - scope:relic_site = holy_site:ayodhya - } - create_starting_relic_ayodhya_hindu_effect = yes - } - else_if = { - limit = { - scope:relic_faith.religion = religion:jainism_religion - scope:relic_site = holy_site:palitana - } - create_starting_relic_palitana_jain_effect = yes - } - else_if = { - limit = { - scope:relic_faith.religion = religion:jainism_religion - scope:relic_site = holy_site:shikharj - } - create_starting_relic_shikharj_jain_effect = yes - } - else_if = { - limit = { - scope:relic_faith.religion = religion:zoroastrianism_religion - scope:relic_site = holy_site:adur_farnbag - } - create_starting_relic_yazd_zoroastrian_effect = yes - } - else_if = { - limit = { - scope:relic_faith.religion = religion:germanic_religion - scope:relic_site = holy_site:uppsala - } - create_starting_relic_uppsala_norse_effect = yes - } - else_if = { - limit = { - scope:relic_faith.religion = religion:slavic_religion - scope:relic_site = holy_site:kiev - } - create_starting_relic_kiev_slavic_effect = yes - } - else_if = { - limit = { - scope:relic_faith.religion = religion:tengrism_religion - scope:relic_site = holy_site:kara_khorum - } - create_starting_relic_karakhorum_tengri_effect = yes - } - else_if = { - limit = { - scope:relic_faith.religion = religion:shintoism_religion - scope:relic_site = holy_site:ise_jingu - } - create_starting_relic_ise_shinto_effect = yes - } - else_if = { - limit = { - scope:relic_faith.religion = religion:confucianism_religion - scope:relic_site = holy_site:qufu - } - create_starting_relic_qufu_confucian_effect = yes - } - else_if = { - limit = { - scope:relic_faith.religion = religion:hellenism_religion - scope:relic_site = holy_site:athens - } - create_starting_relic_athens_hellenic_effect = yes - } - else_if = { - limit = { - scope:relic_faith.religion = religion:akom_religion - scope:relic_site = holy_site:ife - } - create_starting_relic_ife_akom_effect = yes - } - else_if = { - limit = { - scope:relic_faith.religion = religion:west_african_orisha_religion - scope:relic_site = holy_site:ife - } - create_starting_relic_ife_orisha_effect = yes - } - else = { - # No curated relic for this eminent (site, religion) — generic at famed rarity. - create_starting_generic_relic_effect = { RARITY = famed } - } -} - -########################### -# Regular-site dispatcher # -########################### - -create_starting_holy_relic_regular_effect = { - # Curated relics at regular sites - if = { - limit = { - OR = { - scope:relic_faith.religion = religion:christianity_religion - scope:relic_faith.religion = religion:catholic_religion - scope:relic_faith.religion = religion:protestant_religion - scope:relic_faith.religion = religion:eastern_orthodox_religion - scope:relic_faith.religion = religion:oriental_orthodox_religion - } - scope:relic_site = holy_site:kent - } - create_starting_relic_kent_christian_effect = yes - } - else_if = { - # Antioch took Aksum's eminent slot on Miaphysitism - limit = { - OR = { - scope:relic_faith.religion = religion:christianity_religion - scope:relic_faith.religion = religion:catholic_religion - scope:relic_faith.religion = religion:protestant_religion - scope:relic_faith.religion = religion:eastern_orthodox_religion - scope:relic_faith.religion = religion:oriental_orthodox_religion - } - scope:relic_site = holy_site:aksum - } - create_starting_relic_aksum_christian_effect = yes - } - else_if = { - limit = { - OR = { - scope:relic_faith.religion = religion:christianity_religion - scope:relic_faith.religion = religion:catholic_religion - scope:relic_faith.religion = religion:protestant_religion - scope:relic_faith.religion = religion:eastern_orthodox_religion - scope:relic_faith.religion = religion:oriental_orthodox_religion - } - scope:relic_site = holy_site:cologne - } - create_starting_relic_cologne_christian_effect = yes - } - else_if = { - limit = { - scope:relic_faith.religion = religion:islam_religion - scope:relic_site = holy_site:baghdad - } - create_starting_relic_baghdad_islamic_effect = yes - } - else = { - # Generic at common rarity for everything else. - create_starting_generic_relic_effect = { RARITY = common } - } -} - -############################## -# Curated Christian relics # -############################## - -create_starting_relic_rome_christian_effect = { - set_artifact_rarity_illustrious = yes - scope:relic_owner = { - create_artifact = { - name = artifact_relic_peter_bones_name - description = artifact_relic_peter_bones_desc - type = pedestal - template = christian_artifact_template - visuals = pedestal_christian_relic - wealth = scope:wealth - quality = scope:quality - history = { type = created_before_history } - modifier = artifact_placeholder_modifier - save_scope_as = newly_created_artifact - } - } - finalize_starting_unique_relic_effect = yes - - set_artifact_rarity_illustrious = yes - scope:relic_owner = { - create_artifact = { - name = artifact_relic_paul_bones_name - description = artifact_relic_paul_bones_desc - type = pedestal - template = christian_artifact_template - visuals = pedestal_christian_relic - wealth = scope:wealth - quality = scope:quality - history = { type = created_before_history } - modifier = artifact_placeholder_modifier - save_scope_as = newly_created_artifact - } - } - finalize_starting_unique_relic_effect = yes -} - -create_starting_relic_constantinople_christian_effect = { - set_artifact_rarity_illustrious = yes - scope:relic_owner = { - create_artifact = { - # The Mandylion already exists as the Image of Edessa - name = artifact_relic_crown_of_thorns_name - description = artifact_relic_crown_of_thorns_desc - type = pedestal - template = christian_artifact_template - visuals = pedestal_christian_relic - wealth = scope:wealth - quality = scope:quality - history = { type = created_before_history } - modifier = artifact_placeholder_modifier - save_scope_as = newly_created_artifact - } - } - # Sets christian_crown so historical_artifacts.0023 will not pick another Crown of Thorns - scope:newly_created_artifact = { set_variable = christian_crown } - finalize_starting_unique_relic_effect = yes - - set_artifact_rarity_illustrious = yes - scope:relic_owner = { - create_artifact = { - name = artifact_relic_baptist_arm_name - description = artifact_relic_baptist_arm_desc - type = pedestal - template = christian_artifact_template - visuals = pedestal_christian_relic - wealth = scope:wealth - quality = scope:quality - history = { type = created_before_history } - modifier = artifact_placeholder_modifier - save_scope_as = newly_created_artifact - } - } - finalize_starting_unique_relic_effect = yes -} - -create_starting_relic_jerusalem_christian_effect = { - set_artifact_rarity_illustrious = yes - scope:relic_owner = { - create_artifact = { - name = artifact_relic_true_cross_name - description = artifact_relic_true_cross_desc - type = pedestal - template = christian_artifact_template - visuals = cross - wealth = scope:wealth - quality = scope:quality - history = { type = created_before_history } - modifier = artifact_placeholder_modifier - save_scope_as = newly_created_artifact - } - } - finalize_starting_unique_relic_effect = yes -} - -create_starting_relic_santiago_christian_effect = { - set_artifact_rarity_illustrious = yes - scope:relic_owner = { - create_artifact = { - name = artifact_relic_bones_of_james_name - description = artifact_relic_bones_of_james_desc - type = pedestal - template = christian_artifact_template - visuals = pedestal_christian_relic - wealth = scope:wealth - quality = scope:quality - history = { type = created_before_history } - modifier = artifact_placeholder_modifier - save_scope_as = newly_created_artifact - } - } - finalize_starting_unique_relic_effect = yes -} - -create_starting_relic_alexandria_christian_effect = { - set_artifact_rarity_illustrious = yes - scope:relic_owner = { - create_artifact = { - name = artifact_relic_mark_name - description = artifact_relic_mark_desc - type = pedestal - template = christian_artifact_template - visuals = pedestal_christian_relic - wealth = scope:wealth - quality = scope:quality - history = { type = created_before_history } - modifier = artifact_placeholder_modifier - save_scope_as = newly_created_artifact - } - } - finalize_starting_unique_relic_effect = yes -} - -create_starting_relic_antioch_christian_effect = { - set_artifact_rarity_illustrious = yes - scope:relic_owner = { - # The Holy Lance of Antioch was discovered during the First - # Crusade siege of Antioch in 1098. Before that, the great local - # relic is the bones of St. Ignatius of Antioch (patriarch and - # martyr, d. ~110 AD). - if = { - limit = { current_date >= 1098.6.14 } - create_artifact = { - name = artifact_relic_lance_antioch_name - description = artifact_relic_lance_antioch_desc - type = pedestal - template = christian_artifact_template - visuals = pedestal_longinus - wealth = scope:wealth - quality = scope:quality - history = { type = created_before_history } - modifier = artifact_placeholder_modifier - save_scope_as = newly_created_artifact - } - } - else = { - create_artifact = { - name = artifact_relic_ignatius_name - description = artifact_relic_ignatius_desc - type = pedestal - template = christian_artifact_template - visuals = pedestal_christian_relic - wealth = scope:wealth - quality = scope:quality - history = { type = created_before_history } - modifier = artifact_placeholder_modifier - save_scope_as = newly_created_artifact - } - } - } - finalize_starting_unique_relic_effect = yes -} - -create_starting_relic_aksum_christian_effect = { - set_artifact_rarity_illustrious = yes - scope:relic_owner = { - create_artifact = { - name = artifact_relic_tabot_name - description = artifact_relic_tabot_desc - type = pedestal - template = christian_artifact_template - visuals = pedestal_christian_relic - wealth = scope:wealth - quality = scope:quality - history = { type = created_before_history } - modifier = artifact_placeholder_modifier - save_scope_as = newly_created_artifact - } - } - finalize_starting_unique_relic_effect = yes - - set_artifact_rarity_illustrious = yes - scope:relic_owner = { - create_artifact = { - name = artifact_relic_nine_saints_name - description = artifact_relic_nine_saints_desc - type = pedestal - template = christian_artifact_template - visuals = pedestal_christian_relic - wealth = scope:wealth - quality = scope:quality - history = { type = created_before_history } - modifier = artifact_placeholder_modifier - save_scope_as = newly_created_artifact - } - } - finalize_starting_unique_relic_effect = yes -} - -create_starting_relic_kerala_christian_effect = { - set_artifact_rarity_illustrious = yes - scope:relic_owner = { - create_artifact = { - name = artifact_relic_thomas_name - description = artifact_relic_thomas_desc - type = pedestal - template = christian_artifact_template - visuals = pedestal_christian_relic - wealth = scope:wealth - quality = scope:quality - history = { type = created_before_history } - modifier = artifact_placeholder_modifier - save_scope_as = newly_created_artifact - } - } - finalize_starting_unique_relic_effect = yes -} - -create_starting_relic_kent_christian_effect = { - set_artifact_rarity_masterwork = yes - scope:relic_owner = { - # Becket's shrine dominates Canterbury after his martyrdom in 1170; - # before that, the founding-archbishop's pallium is the relic. - if = { - limit = { current_date >= 1170.12.29 } - create_artifact = { - name = artifact_relic_becket_name - description = artifact_relic_becket_desc - type = pedestal - template = christian_artifact_template - visuals = pedestal_christian_relic - wealth = scope:wealth - quality = scope:quality - history = { type = created_before_history } - modifier = artifact_placeholder_modifier - save_scope_as = newly_created_artifact - } - } - else = { - create_artifact = { - name = artifact_relic_augustine_pallium_name - description = artifact_relic_augustine_pallium_desc - type = pedestal - template = christian_artifact_template - visuals = pedestal_christian_relic - wealth = scope:wealth - quality = scope:quality - history = { type = created_before_history } - modifier = artifact_placeholder_modifier - save_scope_as = newly_created_artifact - } - } - } - finalize_starting_unique_relic_effect = yes -} - -create_starting_relic_cologne_christian_effect = { - set_artifact_rarity_masterwork = yes - scope:relic_owner = { - # We use the Magi bones from Barbarossa's translation - if = { - limit = { current_date >= 1164.7.23 } - create_artifact = { - name = artifact_relic_three_magi_name - description = artifact_relic_three_magi_desc - type = pedestal - template = christian_artifact_template - visuals = pedestal_christian_relic - wealth = scope:wealth - quality = scope:quality - history = { type = created_before_history } - modifier = artifact_placeholder_modifier - save_scope_as = newly_created_artifact - } - } - else = { - create_artifact = { - name = artifact_relic_ursula_name - description = artifact_relic_ursula_desc - type = pedestal - template = christian_artifact_template - visuals = pedestal_christian_relic - wealth = scope:wealth - quality = scope:quality - history = { type = created_before_history } - modifier = artifact_placeholder_modifier - save_scope_as = newly_created_artifact - } - } - } - finalize_starting_unique_relic_effect = yes -} - -############################ -# Curated Islamic relics # -############################ - -create_starting_relic_mecca_islamic_effect = { - set_artifact_rarity_illustrious = yes - scope:relic_owner = { - create_artifact = { - name = artifact_relic_black_stone_name - description = artifact_relic_black_stone_desc - type = pedestal - template = islam_artifact_template - visuals = pedestal_islamic_relic - wealth = scope:wealth - quality = scope:quality - history = { type = created_before_history } - modifier = artifact_placeholder_modifier - save_scope_as = newly_created_artifact - } - } - finalize_starting_unique_relic_effect = yes -} - -create_starting_relic_medina_islamic_effect = { - set_artifact_rarity_illustrious = yes - scope:relic_owner = { - create_artifact = { - # sword_court renders a region sword instead of a generic reliquary box - name = artifact_relic_dhulfiqar_name - description = artifact_relic_dhulfiqar_desc - type = pedestal - template = islam_artifact_template - visuals = sword_court - wealth = scope:wealth - quality = scope:quality - history = { type = created_before_history } - modifier = artifact_placeholder_modifier - save_scope_as = newly_created_artifact - } - } - finalize_starting_unique_relic_effect = yes - - set_artifact_rarity_illustrious = yes - scope:relic_owner = { - create_artifact = { - name = artifact_relic_prophet_sandals_name - description = artifact_relic_prophet_sandals_desc - type = pedestal - template = islam_artifact_template - visuals = pedestal_islamic_relic - wealth = scope:wealth - quality = scope:quality - history = { type = created_before_history } - modifier = artifact_placeholder_modifier - save_scope_as = newly_created_artifact - } - } - finalize_starting_unique_relic_effect = yes -} - -create_starting_relic_jerusalem_islamic_effect = { - set_artifact_rarity_illustrious = yes - scope:relic_owner = { - create_artifact = { - name = artifact_relic_buraq_footprint_name - description = artifact_relic_buraq_footprint_desc - type = pedestal - template = islam_artifact_template - visuals = pedestal_islamic_relic - wealth = scope:wealth - quality = scope:quality - history = { type = created_before_history } - modifier = artifact_placeholder_modifier - save_scope_as = newly_created_artifact - } - } - finalize_starting_unique_relic_effect = yes -} - -create_starting_relic_nadjaf_islamic_effect = { - set_artifact_rarity_illustrious = yes - scope:relic_owner = { - create_artifact = { - # sword_court renders a region-appropriate sword asset. - name = artifact_relic_sword_of_ali_name - description = artifact_relic_sword_of_ali_desc - type = pedestal - template = islam_artifact_template - visuals = sword_court - wealth = scope:wealth - quality = scope:quality - history = { type = created_before_history } - modifier = artifact_placeholder_modifier - save_scope_as = newly_created_artifact - } - } - finalize_starting_unique_relic_effect = yes -} - -create_starting_relic_baghdad_islamic_effect = { - set_artifact_rarity_masterwork = yes - scope:relic_owner = { - create_artifact = { - # The Mantle of the Prophet already exists - name = artifact_relic_abu_hanifa_turban_name - description = artifact_relic_abu_hanifa_turban_desc - type = pedestal - template = islam_artifact_template - visuals = pedestal_islamic_relic - wealth = scope:wealth - quality = scope:quality - history = { type = created_before_history } - modifier = artifact_placeholder_modifier - save_scope_as = newly_created_artifact - } - } - finalize_starting_unique_relic_effect = yes -} - -############################ -# Curated Jewish relics # -############################ - -create_starting_relic_jerusalem_jewish_effect = { - set_artifact_rarity_illustrious = yes - scope:relic_owner = { - create_artifact = { - name = artifact_relic_western_wall_name - description = artifact_relic_western_wall_desc - type = pedestal - template = judaism_relic_template - visuals = reliquary - wealth = scope:wealth - quality = scope:quality - history = { type = created_before_history } - modifier = artifact_placeholder_modifier - save_scope_as = newly_created_artifact - } - } - finalize_starting_unique_relic_effect = yes -} - -create_starting_relic_sinai_jewish_effect = { - set_artifact_rarity_illustrious = yes - scope:relic_owner = { - create_artifact = { - name = artifact_relic_tablets_name - description = artifact_relic_tablets_desc - type = pedestal - template = judaism_relic_template - visuals = reliquary - wealth = scope:wealth - quality = scope:quality - history = { type = created_before_history } - modifier = artifact_placeholder_modifier - save_scope_as = newly_created_artifact - } - } - finalize_starting_unique_relic_effect = yes -} - -############################## -# Curated Buddhist relics # -############################## - -create_starting_relic_bodh_gaya_buddhist_effect = { - set_artifact_rarity_illustrious = yes - scope:relic_owner = { - create_artifact = { - name = artifact_relic_bodhi_leaf_name - description = artifact_relic_bodhi_leaf_desc - type = pedestal - template = buddhism_artifact_template - visuals = pedestal_buddhism_relic - wealth = scope:wealth - quality = scope:quality - history = { type = created_before_history } - modifier = artifact_placeholder_modifier - save_scope_as = newly_created_artifact - } - } - finalize_starting_unique_relic_effect = yes - - set_artifact_rarity_illustrious = yes - scope:relic_owner = { - create_artifact = { - name = artifact_relic_vajrasana_name - description = artifact_relic_vajrasana_desc - type = pedestal - template = buddhism_artifact_template - visuals = pedestal_buddhism_relic - wealth = scope:wealth - quality = scope:quality - history = { type = created_before_history } - modifier = artifact_placeholder_modifier - save_scope_as = newly_created_artifact - } - } - finalize_starting_unique_relic_effect = yes -} - -create_starting_relic_sarnath_buddhist_effect = { - set_artifact_rarity_illustrious = yes - scope:relic_owner = { - create_artifact = { - name = artifact_relic_dhamek_name - description = artifact_relic_dhamek_desc - type = pedestal - template = buddhism_artifact_template - visuals = pedestal_buddhism_relic - wealth = scope:wealth - quality = scope:quality - history = { type = created_before_history } - modifier = artifact_placeholder_modifier - save_scope_as = newly_created_artifact - } - } - finalize_starting_unique_relic_effect = yes -} - -create_starting_relic_lhasa_buddhist_effect = { - set_artifact_rarity_illustrious = yes - scope:relic_owner = { - create_artifact = { - name = artifact_relic_jowo_name - description = artifact_relic_jowo_desc - type = pedestal - template = buddhism_artifact_template - visuals = pedestal_buddhism_relic - wealth = scope:wealth - quality = scope:quality - history = { type = created_before_history } - modifier = artifact_placeholder_modifier - save_scope_as = newly_created_artifact - } - } - finalize_starting_unique_relic_effect = yes -} - -create_starting_relic_atamasthana_buddhist_effect = { - set_artifact_rarity_illustrious = yes - scope:relic_owner = { - create_artifact = { - name = artifact_relic_sacred_tooth_name - description = artifact_relic_sacred_tooth_desc - type = pedestal - template = buddhism_artifact_template - visuals = buddha_tooth - wealth = scope:wealth - quality = scope:quality - history = { type = created_before_history } - modifier = artifact_placeholder_modifier - save_scope_as = newly_created_artifact - } - } - finalize_starting_unique_relic_effect = yes -} - -############################## -# Curated Hindu relics # -############################## - -create_starting_relic_varanasi_hindu_effect = { - set_artifact_rarity_illustrious = yes - scope:relic_owner = { - create_artifact = { - name = artifact_relic_lingam_name - description = artifact_relic_lingam_desc - type = pedestal - template = branch_hinduism_template - visuals = pedestal_branch_relic_hinduism - wealth = scope:wealth - quality = scope:quality - history = { type = created_before_history } - modifier = artifact_placeholder_modifier - save_scope_as = newly_created_artifact - } - } - finalize_starting_unique_relic_effect = yes - - set_artifact_rarity_illustrious = yes - scope:relic_owner = { - create_artifact = { - # spear_court uses the indian_unit spear so it looks like a trident, not a reliquary - name = artifact_relic_trishul_name - description = artifact_relic_trishul_desc - type = pedestal - template = branch_hinduism_template - visuals = spear_court - wealth = scope:wealth - quality = scope:quality - history = { type = created_before_history } - modifier = artifact_placeholder_modifier - save_scope_as = newly_created_artifact - } - } - finalize_starting_unique_relic_effect = yes -} - -create_starting_relic_mathura_hindu_effect = { - set_artifact_rarity_illustrious = yes - scope:relic_owner = { - create_artifact = { - name = artifact_relic_krishna_stone_name - description = artifact_relic_krishna_stone_desc - type = pedestal - template = branch_hinduism_template - visuals = pedestal_branch_relic_hinduism - wealth = scope:wealth - quality = scope:quality - history = { type = created_before_history } - modifier = artifact_placeholder_modifier - save_scope_as = newly_created_artifact - } - } - finalize_starting_unique_relic_effect = yes -} - -create_starting_relic_ayodhya_hindu_effect = { - set_artifact_rarity_illustrious = yes - scope:relic_owner = { - create_artifact = { - name = artifact_relic_rama_footprint_name - description = artifact_relic_rama_footprint_desc - type = pedestal - template = branch_hinduism_template - visuals = pedestal_branch_relic_hinduism - wealth = scope:wealth - quality = scope:quality - history = { type = created_before_history } - modifier = artifact_placeholder_modifier - save_scope_as = newly_created_artifact - } - } - finalize_starting_unique_relic_effect = yes -} - -############################## -# Other curated relics # -############################## - -create_starting_relic_palitana_jain_effect = { - set_artifact_rarity_illustrious = yes - scope:relic_owner = { - create_artifact = { - name = artifact_relic_palitana_tirtha_name - description = artifact_relic_palitana_tirtha_desc - type = pedestal - template = branch_general_template - visuals = reliquary - wealth = scope:wealth - quality = scope:quality - history = { type = created_before_history } - modifier = artifact_placeholder_modifier - save_scope_as = newly_created_artifact - } - } - scope:newly_created_artifact = { - set_variable = { name = relic_religion value = religion:jainism_religion } - } - finalize_starting_unique_relic_effect = yes -} - -create_starting_relic_shikharj_jain_effect = { - set_artifact_rarity_illustrious = yes - scope:relic_owner = { - create_artifact = { - name = artifact_relic_parshvanatha_paduka_name - description = artifact_relic_parshvanatha_paduka_desc - type = pedestal - template = branch_general_template - visuals = reliquary - wealth = scope:wealth - quality = scope:quality - history = { type = created_before_history } - modifier = artifact_placeholder_modifier - save_scope_as = newly_created_artifact - } - } - scope:newly_created_artifact = { - set_variable = { name = relic_religion value = religion:jainism_religion } - } - finalize_starting_unique_relic_effect = yes - - set_artifact_rarity_illustrious = yes - scope:relic_owner = { - create_artifact = { - name = artifact_relic_shikharji_nishidhi_name - description = artifact_relic_shikharji_nishidhi_desc - type = pedestal - template = branch_general_template - visuals = reliquary - wealth = scope:wealth - quality = scope:quality - history = { type = created_before_history } - modifier = artifact_placeholder_modifier - save_scope_as = newly_created_artifact - } - } - scope:newly_created_artifact = { - set_variable = { name = relic_religion value = religion:jainism_religion } - } - finalize_starting_unique_relic_effect = yes -} - -create_starting_relic_yazd_zoroastrian_effect = { - set_artifact_rarity_illustrious = yes - scope:relic_owner = { - create_artifact = { - name = artifact_relic_atash_bahram_name - description = artifact_relic_atash_bahram_desc - type = pedestal - template = branch_zoroastr_template - visuals = pedestal_branch_relic_zoroastr - wealth = scope:wealth - quality = scope:quality - history = { type = created_before_history } - modifier = artifact_placeholder_modifier - save_scope_as = newly_created_artifact - } - } - finalize_starting_unique_relic_effect = yes -} - -create_starting_relic_uppsala_norse_effect = { - set_artifact_rarity_illustrious = yes - scope:relic_owner = { - create_artifact = { - name = artifact_relic_yggdrasil_branch_name - description = artifact_relic_yggdrasil_branch_desc - type = pedestal - template = branch_germanic_template - visuals = pedestal_branch_relic_germanic - wealth = scope:wealth - quality = scope:quality - history = { type = created_before_history } - modifier = artifact_placeholder_modifier - save_scope_as = newly_created_artifact - } - } - finalize_starting_unique_relic_effect = yes -} - -create_starting_relic_kiev_slavic_effect = { - set_artifact_rarity_illustrious = yes - scope:relic_owner = { - create_artifact = { - name = artifact_relic_perun_idol_name - description = artifact_relic_perun_idol_desc - type = pedestal - template = branch_slavic_template - visuals = pedestal_branch_relic_slavic - wealth = scope:wealth - quality = scope:quality - history = { type = created_before_history } - modifier = artifact_placeholder_modifier - save_scope_as = newly_created_artifact - } - } - finalize_starting_unique_relic_effect = yes -} - -create_starting_relic_karakhorum_tengri_effect = { - set_artifact_rarity_illustrious = yes - scope:relic_owner = { - create_artifact = { - # wall_big with a banner visual shows as a hanging banner instead of a reliquary box - name = artifact_relic_suldetug_name - description = artifact_relic_suldetug_desc - type = wall_big - template = branch_general_template - visuals = banner - wealth = scope:wealth - quality = scope:quality - history = { type = created_before_history } - modifier = artifact_placeholder_modifier - save_scope_as = newly_created_artifact - } - } - scope:newly_created_artifact = { - set_variable = { name = relic_religion value = religion:tengrism_religion } - } - finalize_starting_unique_relic_effect = yes -} - -create_starting_relic_ise_shinto_effect = { - set_artifact_rarity_illustrious = yes - scope:relic_owner = { - create_artifact = { - name = artifact_relic_yata_kagami_name - description = artifact_relic_yata_kagami_desc - type = pedestal - template = branch_general_template - visuals = reliquary - wealth = scope:wealth - quality = scope:quality - history = { type = created_before_history } - modifier = artifact_placeholder_modifier - save_scope_as = newly_created_artifact - } - } - scope:newly_created_artifact = { - set_variable = { name = relic_religion value = religion:shintoism_religion } - } - finalize_starting_unique_relic_effect = yes - - set_artifact_rarity_illustrious = yes - scope:relic_owner = { - create_artifact = { - name = artifact_relic_shin_no_mihashira_name - description = artifact_relic_shin_no_mihashira_desc - type = pedestal - template = branch_general_template - visuals = reliquary - wealth = scope:wealth - quality = scope:quality - history = { type = created_before_history } - modifier = artifact_placeholder_modifier - save_scope_as = newly_created_artifact - } - } - scope:newly_created_artifact = { - set_variable = { name = relic_religion value = religion:shintoism_religion } - } - finalize_starting_unique_relic_effect = yes -} - -create_starting_relic_qufu_confucian_effect = { - set_artifact_rarity_illustrious = yes - scope:relic_owner = { - create_artifact = { - name = artifact_relic_kong_tomb_name - description = artifact_relic_kong_tomb_desc - type = pedestal - template = branch_general_template - visuals = reliquary - wealth = scope:wealth - quality = scope:quality - history = { type = created_before_history } - modifier = artifact_placeholder_modifier - save_scope_as = newly_created_artifact - } - } - scope:newly_created_artifact = { - set_variable = { name = relic_religion value = religion:confucianism_religion } - } - finalize_starting_unique_relic_effect = yes - - set_artifact_rarity_illustrious = yes - scope:relic_owner = { - create_artifact = { - # A book type with a book visual shows as a Chinese scroll through chinese_building - name = artifact_relic_analects_name - description = artifact_relic_analects_desc - type = book - template = branch_general_template - visuals = book - wealth = scope:wealth - quality = scope:quality - history = { type = created_before_history } - modifier = artifact_placeholder_modifier - save_scope_as = newly_created_artifact - } - } - scope:newly_created_artifact = { - set_variable = { name = relic_religion value = religion:confucianism_religion } - } - finalize_starting_unique_relic_effect = yes -} - -create_starting_relic_athens_hellenic_effect = { - set_artifact_rarity_illustrious = yes - scope:relic_owner = { - create_artifact = { - name = artifact_relic_athena_promachos_name - description = artifact_relic_athena_promachos_desc - type = pedestal - template = branch_general_template - visuals = reliquary - wealth = scope:wealth - quality = scope:quality - history = { type = created_before_history } - modifier = artifact_placeholder_modifier - save_scope_as = newly_created_artifact - } - } - scope:newly_created_artifact = { - set_variable = { name = relic_religion value = religion:hellenism_religion } - } - finalize_starting_unique_relic_effect = yes -} - -create_starting_relic_ife_akom_effect = { - set_artifact_rarity_illustrious = yes - scope:relic_owner = { - create_artifact = { - # spear_court renders a region-appropriate haft (African asset - # for the ife region) — matches an obelisk/staff better than - # the reliquary box the branch_relic visual would render. - name = artifact_relic_opa_oranmiyan_name - description = artifact_relic_opa_oranmiyan_desc - type = pedestal - template = branch_general_template - visuals = spear_court - wealth = scope:wealth - quality = scope:quality - history = { type = created_before_history } - modifier = artifact_placeholder_modifier - save_scope_as = newly_created_artifact - } - } - scope:newly_created_artifact = { - set_variable = { name = relic_religion value = religion:akom_religion } - } - finalize_starting_unique_relic_effect = yes -} - -create_starting_relic_ife_orisha_effect = { - set_artifact_rarity_illustrious = yes - scope:relic_owner = { - create_artifact = { - name = artifact_relic_oshe_shango_name - description = artifact_relic_oshe_shango_desc - type = pedestal - template = branch_general_template - visuals = axe_court - wealth = scope:wealth - quality = scope:quality - history = { type = created_before_history } - modifier = artifact_placeholder_modifier - save_scope_as = newly_created_artifact - } - } - scope:newly_created_artifact = { - set_variable = { name = relic_religion value = religion:west_african_orisha_religion } - } - finalize_starting_unique_relic_effect = yes -} - -########################################## -# Generic per-religion relic fallback # -########################################## - -# Per-religion helpers vary names so sites do not clone the same Branch of the Tree of Life -create_starting_generic_relic_effect = { - if = { - limit = { - OR = { - OR = { - scope:relic_faith.religion = religion:christianity_religion - scope:relic_faith.religion = religion:catholic_religion - scope:relic_faith.religion = religion:protestant_religion - scope:relic_faith.religion = religion:eastern_orthodox_religion - scope:relic_faith.religion = religion:oriental_orthodox_religion - } - scope:relic_faith.religion = religion:catholic_religion - scope:relic_faith.religion = religion:protestant_religion - scope:relic_faith.religion = religion:eastern_orthodox_religion - scope:relic_faith.religion = religion:oriental_orthodox_religion - } - } - create_starting_generic_christian_relic_effect = { RARITY = $RARITY$ } - } - else_if = { - limit = { scope:relic_faith.religion = religion:islam_religion } - create_starting_generic_islamic_relic_effect = { RARITY = $RARITY$ } - } - else_if = { - limit = { scope:relic_faith.religion = religion:buddhism_religion } - create_starting_generic_buddhist_relic_effect = { RARITY = $RARITY$ } - } - else_if = { - limit = { scope:relic_faith.religion = religion:hinduism_religion } - create_starting_generic_hindu_relic_effect = { RARITY = $RARITY$ } - } - else_if = { - limit = { scope:relic_faith.religion = religion:zoroastrianism_religion } - create_starting_generic_zoroastr_relic_effect = { RARITY = $RARITY$ } - } - else_if = { - limit = { scope:relic_faith.religion = religion:germanic_religion } - create_starting_generic_germanic_relic_effect = { RARITY = $RARITY$ } - } - else_if = { - limit = { scope:relic_faith.religion = religion:slavic_religion } - create_starting_generic_slavic_relic_effect = { RARITY = $RARITY$ } - } - else_if = { - # Only Roog passes branch_boog_template is_holy_relic - limit = { scope:relic_faith.religion = religion:west_african_roog_religion } - create_starting_generic_west_african_relic_effect = { RARITY = $RARITY$ } - } - else = { - # No dedicated template: misc helper sets var:relic_religion on the artifact - create_starting_generic_misc_relic_effect = { RARITY = $RARITY$ } - } -} - -# Random ChristianRelicName flag so loc varies instead of one static relic name -create_starting_generic_christian_relic_effect = { - set_artifact_rarity_$RARITY$ = yes - random_list = { - 10 = { save_scope_value_as = { name = christian_relic_name value = flag:nail } } - 10 = { save_scope_value_as = { name = christian_relic_name value = flag:thorn } } - 10 = { save_scope_value_as = { name = christian_relic_name value = flag:sandals } } - 10 = { save_scope_value_as = { name = christian_relic_name value = flag:girdle } } - 10 = { save_scope_value_as = { name = christian_relic_name value = flag:skull } } - 10 = { save_scope_value_as = { name = christian_relic_name value = flag:arm } } - 10 = { save_scope_value_as = { name = christian_relic_name value = flag:loincloth } } - 10 = { save_scope_value_as = { name = christian_relic_name value = flag:cross } } - } - scope:relic_owner = { - create_artifact = { - name = artifact_pedestal_reliquary_christian_name - description = artifact_pedestal_reliquary_christian_description - type = pedestal - template = christian_artifact_template - visuals = pedestal_christian_relic - wealth = scope:wealth - quality = scope:quality - history = { type = created_before_history } - modifier = artifact_placeholder_modifier - save_scope_as = newly_created_artifact - } - } - finalize_starting_relic_effect = yes -} - -create_starting_generic_islamic_relic_effect = { - set_artifact_rarity_$RARITY$ = yes - random_list = { - 10 = { save_scope_value_as = { name = islam_relic_name value = flag:hair } } - 10 = { save_scope_value_as = { name = islam_relic_name value = flag:cloak } } - 10 = { save_scope_value_as = { name = islam_relic_name value = flag:hand } } - 10 = { save_scope_value_as = { name = islam_relic_name value = flag:keys } } - 10 = { save_scope_value_as = { name = islam_relic_name value = flag:tooth } } - 10 = { save_scope_value_as = { name = islam_relic_name value = flag:seal } } - 10 = { save_scope_value_as = { name = islam_relic_name value = flag:banner } } - } - scope:relic_owner = { - create_artifact = { - name = artifact_pedestal_reliquary_islam_name - description = artifact_pedestal_reliquary_islam_description - type = pedestal - template = islam_artifact_template - visuals = pedestal_islamic_relic - wealth = scope:wealth - quality = scope:quality - history = { type = created_before_history } - modifier = artifact_placeholder_modifier - save_scope_as = newly_created_artifact - } - } - finalize_starting_relic_effect = yes -} - -create_starting_generic_buddhist_relic_effect = { - set_artifact_rarity_$RARITY$ = yes - random_list = { - 10 = { save_scope_value_as = { name = buddhism_relic_name value = flag:tooth } } - 10 = { save_scope_value_as = { name = buddhism_relic_name value = flag:bone } } - 10 = { save_scope_value_as = { name = buddhism_relic_name value = flag:robe } } - 10 = { save_scope_value_as = { name = buddhism_relic_name value = flag:bowl } } - 10 = { save_scope_value_as = { name = buddhism_relic_name value = flag:tongue } } - 10 = { save_scope_value_as = { name = buddhism_relic_name value = flag:hair } } - 10 = { save_scope_value_as = { name = buddhism_relic_name value = flag:sarira } } - } - scope:relic_owner = { - create_artifact = { - name = artifact_pedestal_reliquary_buddhism_name - description = artifact_pedestal_reliquary_buddhism_description - type = pedestal - template = buddhism_artifact_template - visuals = pedestal_buddhism_relic - wealth = scope:wealth - quality = scope:quality - history = { type = created_before_history } - modifier = artifact_placeholder_modifier - save_scope_as = newly_created_artifact - } - } - finalize_starting_relic_effect = yes -} - -# Each helper sets branch_name, and the BranchTree custom loc turns it into a sacred tree -create_starting_generic_hindu_relic_effect = { - set_artifact_rarity_$RARITY$ = yes - save_scope_value_as = { name = branch_name value = flag:kalpavriksha } - scope:relic_owner = { - create_artifact = { - name = artifact_pedestal_branch_name - description = artifact_pedestal_branch_description - type = pedestal - template = branch_hinduism_template - visuals = pedestal_branch_relic_hinduism - wealth = scope:wealth - quality = scope:quality - history = { type = created_before_history } - modifier = artifact_placeholder_modifier - save_scope_as = newly_created_artifact - } - } - finalize_starting_relic_effect = yes -} - -create_starting_generic_zoroastr_relic_effect = { - set_artifact_rarity_$RARITY$ = yes - random_list = { - 50 = { save_scope_value_as = { name = branch_name value = flag:haoma } } - 50 = { save_scope_value_as = { name = branch_name value = flag:cypress } } - } - scope:relic_owner = { - create_artifact = { - name = artifact_pedestal_branch_name - description = artifact_pedestal_branch_description - type = pedestal - template = branch_zoroastr_template - visuals = pedestal_branch_relic_zoroastr - wealth = scope:wealth - quality = scope:quality - history = { type = created_before_history } - modifier = artifact_placeholder_modifier - save_scope_as = newly_created_artifact - } - } - finalize_starting_relic_effect = yes -} - -create_starting_generic_germanic_relic_effect = { - set_artifact_rarity_$RARITY$ = yes - random_list = { - 50 = { save_scope_value_as = { name = branch_name value = flag:thor } } - 50 = { save_scope_value_as = { name = branch_name value = flag:uppsala } } - } - scope:relic_owner = { - create_artifact = { - name = artifact_pedestal_branch_name - description = artifact_pedestal_branch_description - type = pedestal - template = branch_germanic_template - visuals = pedestal_branch_relic_germanic - wealth = scope:wealth - quality = scope:quality - history = { type = created_before_history } - modifier = artifact_placeholder_modifier - save_scope_as = newly_created_artifact - } - } - finalize_starting_relic_effect = yes -} - -create_starting_generic_slavic_relic_effect = { - set_artifact_rarity_$RARITY$ = yes - save_scope_value_as = { name = branch_name value = flag:alatyr } - scope:relic_owner = { - create_artifact = { - name = artifact_pedestal_branch_name - description = artifact_pedestal_branch_description - type = pedestal - template = branch_slavic_template - visuals = pedestal_branch_relic_slavic - wealth = scope:wealth - quality = scope:quality - history = { type = created_before_history } - modifier = artifact_placeholder_modifier - save_scope_as = newly_created_artifact - } - } - finalize_starting_relic_effect = yes -} - -create_starting_generic_west_african_relic_effect = { - set_artifact_rarity_$RARITY$ = yes - save_scope_value_as = { name = branch_name value = flag:somb } - scope:relic_owner = { - create_artifact = { - name = artifact_pedestal_branch_name - description = artifact_pedestal_branch_description - type = pedestal - template = branch_boog_template - visuals = pedestal_branch_relic_boog - wealth = scope:wealth - quality = scope:quality - history = { type = created_before_history } - modifier = artifact_placeholder_modifier - save_scope_as = newly_created_artifact - } - } - finalize_starting_relic_effect = yes -} - -create_starting_generic_misc_relic_effect = { - set_artifact_rarity_$RARITY$ = yes - random_list = { - 25 = { - # No imagery allowed - modifier = { - scope:relic_faith.main_rite = { - rite_has_tenet = tenet_aniconism - } - add = -25 - } - scope:relic_owner = { - create_artifact = { - name = artifact_misc_relic_idol_name - description = artifact_misc_relic_idol_desc - type = pedestal - template = branch_general_template - visuals = reliquary - wealth = scope:wealth - quality = scope:quality - history = { type = created_before_history } - modifier = artifact_placeholder_modifier - save_scope_as = newly_created_artifact - } - } - } - 25 = { - scope:relic_owner = { - create_artifact = { - name = artifact_misc_relic_stele_name - description = artifact_misc_relic_stele_desc - type = pedestal - template = branch_general_template - visuals = reliquary - wealth = scope:wealth - quality = scope:quality - history = { type = created_before_history } - modifier = artifact_placeholder_modifier - save_scope_as = newly_created_artifact - } - } - } - 25 = { - # No imagery allowed - modifier = { - scope:relic_faith.main_rite = { - rite_has_tenet = tenet_aniconism - } - add = -25 - } - scope:relic_owner = { - create_artifact = { - name = artifact_misc_relic_mask_name - description = artifact_misc_relic_mask_desc - type = pedestal - template = branch_general_template - visuals = reliquary - wealth = scope:wealth - quality = scope:quality - history = { type = created_before_history } - modifier = artifact_placeholder_modifier - save_scope_as = newly_created_artifact - } - } - } - 25 = { - scope:relic_owner = { - create_artifact = { - name = artifact_misc_relic_banner_name - description = artifact_misc_relic_banner_desc - type = pedestal - template = branch_general_template - visuals = reliquary - wealth = scope:wealth - quality = scope:quality - history = { type = created_before_history } - modifier = artifact_placeholder_modifier - save_scope_as = newly_created_artifact - } - } - } - } - scope:newly_created_artifact = { - set_variable = { name = relic_religion value = scope:relic_faith.religion } - } - finalize_starting_relic_effect = yes -} - - -finalize_starting_unique_relic_effect = { - scope:newly_created_artifact = { - set_variable = { name = historical_unique_artifact value = yes } - } - finalize_starting_relic_effect = yes -} - -# Shared finalizer: modifiers + enshrinement -finalize_starting_relic_effect = { - # A holy site only has the three holy_relic_* slots, and a relic past that would sit unenshrined and assert on equip - if = { - limit = { scope:relic_site = { holy_site_artifact_count >= 3 } } - destroy_artifact = scope:newly_created_artifact - } - else = { - scope:newly_created_artifact = { - scope:relic_owner = { save_scope_as = owner } # Required for the 'add_scaled_artifact_' scripted effects - add_scaled_artifact_modifier_piety_effect = yes - add_scaled_artifact_modifier_grandeur_small_effect = yes - if = { - limit = { - OR = { - rarity = famed - rarity = illustrious - } - } - add_2_scaled_artifact_modifier_devotion_effect = yes - } - else = { - add_scaled_artifact_modifier_devotion_effect = yes - } - add_artifact_modifier = artifact_monthly_prestige_penalty_modifier # overwrite default creation modifier - } - - scope:newly_created_artifact = { - # Enshrine without history (setting owner & equipping = enshrining), skipping 'can_enshrine_artifact' rules) - set_holy_site_owner = { - target = scope:relic_site - generate_history = no - } - equip_artifact_to_owner = yes - } - } -} diff --git a/common/scripted_effects/NEOW_religion_effects.txt b/common/scripted_effects/NEOW_religion_effects.txt index fa3f0bb04..6e9191f05 100644 --- a/common/scripted_effects/NEOW_religion_effects.txt +++ b/common/scripted_effects/NEOW_religion_effects.txt @@ -199,7 +199,6 @@ restore_patriarch_scripted_effect = { add_trait = education_learning_3 add_trait = zealous add_trait = intellect_good_1 - add_trait = devoted random_list = { 1 = { add_trait = humble } diff --git a/common/scripted_effects/NEOW_saint_effects.txt b/common/scripted_effects/NEOW_saint_effects.txt deleted file mode 100644 index c9c860edb..000000000 --- a/common/scripted_effects/NEOW_saint_effects.txt +++ /dev/null @@ -1,894 +0,0 @@ -############################################ -# Canonizing Saints - scripted effects -# pam_commit_canonization_effect -# pam_canonize_saint_effect -# pam_pick_actor_consecration_province_effect -# pam_pick_founder_burial_province_effect -# pam_grant_dulia_canonization_faith_bonus_effect -# pam_extract_relic_from_saint_effect -# create_relic_artifact_effect -# create_appropriate_relic_artifact_from_character_effect -# pam_add_dulia_extra_relic_modifier_effect -# pam_grant_dulia_relic_dynasty_prestige_effect -# pam_show_dulia_relic_blessing_effect -############################################ - -# Canonizer is root, and this expects scope:saint_candidate and consecration_province already saved -pam_commit_canonization_effect = { - if = { - limit = { pam_needs_hof_approval_for_canonization_trigger = yes } - faith.religious_head = { save_scope_as = petition_recipient } - # Pick the wording here so saint_candidate / consecration_province / petition_recipient stay reachable in the loc key (SelectLocalization would drop them). - if = { - limit = { - OR = { - faith.religion = religion:christianity_religion - faith.religion = religion:catholic_religion - faith.religion = religion:protestant_religion - faith.religion = religion:eastern_orthodox_religion - faith.religion = religion:oriental_orthodox_religion - } - } - custom_tooltip = pam_canonize_saint_petition_sent_tt_saint - } - else = { - custom_tooltip = pam_canonize_saint_petition_sent_tt_va - } - # Players acknowledge via event 0001, whose option starts the HoF's clock (0002 -> 0003/0004). The AI never sees that event, so schedule the HoF decision directly for it. - if = { - limit = { is_ai = no } - trigger_event = pam_saint_events.0001 - } - else = { - hidden_effect = { - scope:petition_recipient = { - trigger_event = { - id = pam_saint_events.0002 - days = 30 - } - } - } - } - } - else = { - custom_tooltip = pam_canonize_saint_decision_canonize_tt - pam_canonize_saint_effect = { - CANONIZER = root - CANDIDATE = scope:saint_candidate - CONSECRATION_PROVINCE = scope:consecration_province - PRESET = no - } - # No HoF (or self-HoF): canonization is done, so show the finalization event now (players only). - if = { - limit = { is_ai = no } - trigger_event = pam_saint_events.0003 - } - } -} - -# The actual canonization. -# CANONIZER - the ruler putting the saint forward (not root; also run from the HoF approval event). -# CANDIDATE - the dead character being canonized. -# CONSECRATION_PROVINCE - where they are consecrated / buried. -# PRESET - yes for history burials, so the tomb gives the lighter travel homage. -pam_canonize_saint_effect = { - $CANDIDATE$ = { - add_trait = saint - } - # Register on the canonizer's faith for the Saints-list UI and faith-split; add_saint needs the saint trait (added above) and a burial province with a holding. - $CANONIZER$.faith ?= { - hidden_effect = { - add_saint = { - character = $CANDIDATE$ - burial_province = $CONSECRATION_PROVINCE$ - } - } - } - - if = { - limit = { - $CANDIDATE$ = { - is_alive = no - has_dead_character_variable = no_corpse_left - } - } - $CONSECRATION_PROVINCE$ = { - set_variable = no_corpse_left - } - } - - # The engine's saint registry (add_saint, above) owns the saint->province link (saint_burial_location) and the relic charges (remaining_saint_relics). All we keep is the buried-saint travel PoI, plus a thin province list the PoI builder iterates. - $CONSECRATION_PROVINCE$ = { - # Only readable through the tomb PoI, so skip provinces that will never get one - if = { - limit = { - $PRESET$ = yes - NOT = { has_variable = hide_location_for_saint } - } - set_variable = pam_preset_buried_saint - } - if = { - limit = { - NOR = { - has_variable = hide_location_for_saint - has_travel_point_of_interest = poi_buried_saint - } - } - add_to_global_variable_list = { - name = pam_buried_saint_poi_list - target = $CONSECRATION_PROVINCE$ - } - add_travel_point_of_interest = poi_buried_saint - } - } - - if = { - limit = { - $CANONIZER$ = { is_alive = yes } - $CANONIZER$.rite ?= { rite_has_parameter = tenet_dulia_canonization_faith_bonus } - } - pam_grant_dulia_canonization_faith_bonus_effect = { - CANONIZER = $CANONIZER$ - CANDIDATE = $CANDIDATE$ - } - } - - # Cost of the next canonization scales with how many saints the dynasty has. - $CANDIDATE$.dynasty ?= { - if = { - limit = { has_variable = pam_dynasty_saint_count } - change_variable = { - name = pam_dynasty_saint_count - add = 1 - } - } - else = { - set_variable = { - name = pam_dynasty_saint_count - value = 1 - } - } - } -} - -# Character scope. Saves consecration_province from a free cathedral, holy site, or adjacent county capital. -pam_pick_actor_consecration_province_effect = { - save_scope_as = pam_burial_site_actor - if = { - limit = { pam_has_free_primary_site_trigger = yes } - if = { - limit = { pam_faith_uses_cathedrals_trigger = yes } - if = { - limit = { - pam_character_has_cathedral_trigger = yes - domicile ?= { domicile_location = { pam_province_is_free_burial_site_trigger = yes } } - } - domicile = { domicile_location = { save_scope_as = consecration_province } } - } - else = { - random_realm_province = { - limit = { - pam_province_is_free_burial_site_trigger = yes - any_province_domicile = { owner = { pam_character_has_cathedral_trigger = yes } } - } - save_scope_as = consecration_province - } - } - } - else = { - random_realm_province = { - limit = { - barony ?= { is_holy_site_of = scope:pam_burial_site_actor.faith } - pam_province_is_free_burial_site_trigger = yes - } - save_scope_as = consecration_province - } - } - } - else_if = { - limit = { pam_has_free_adjacent_site_trigger = yes } - random_realm_province = { - limit = { - is_county_capital = yes - pam_province_is_free_burial_site_trigger = yes - county = { - any_neighboring_county = { - pam_county_has_actor_primary_site_trigger = { ACTOR = scope:pam_burial_site_actor } - } - } - } - save_scope_as = consecration_province - } - } -} - -# Root = the dying monastic founder. Saves consecration_province if a free burial site exists. -pam_pick_founder_burial_province_effect = { - if = { - limit = { - exists = capital_province - capital_province = { pam_province_is_free_burial_site_trigger = yes } - } - capital_province = { save_scope_as = consecration_province } - } - if = { - limit = { - NOT = { exists = scope:consecration_province } - exists = location - location = { pam_province_is_free_burial_site_trigger = yes } - } - location = { save_scope_as = consecration_province } - } - if = { - limit = { - NOT = { exists = scope:consecration_province } - faith = { - any_faith_holy_order = { - leader = root - holy_order_patron ?= { is_alive = yes } - } - } - } - faith = { - random_faith_holy_order = { - limit = { - leader = root - holy_order_patron ?= { is_alive = yes } - } - holy_order_patron = { save_scope_as = pam_founder_burial_patron } - } - } - scope:pam_founder_burial_patron ?= { - pam_pick_actor_consecration_province_effect = yes - } - } - if = { - limit = { - NOT = { exists = scope:consecration_province } - faith = { - any_holy_site_barony = { - title_province ?= { pam_province_is_free_burial_site_trigger = yes } - } - } - } - faith = { - random_holy_site_barony = { - limit = { - title_province ?= { pam_province_is_free_burial_site_trigger = yes } - } - title_province = { save_scope_as = consecration_province } - } - } - } -} - -# CANONIZER - the ruler whose faith gains the saint. -# CANDIDATE - the newly canonized saint, shown as the message's portrait. -pam_grant_dulia_canonization_faith_bonus_effect = { - $CANDIDATE$ = { save_scope_as = pam_new_saint } - custom_tooltip = { - text = pam_dulia_canonization_faith_bonus_tt - $CANONIZER$.faith ?= { - every_faith_character = { - limit = { is_ruler = yes } - add_character_modifier = { - modifier = pam_dulia_new_saint_modifier - years = 5 - } - if = { - limit = { this != $CANONIZER$ } - send_interface_message = { - type = msg_pam_new_saint_canonized - title = pam_dulia_new_saint_message_t - desc = pam_dulia_new_saint_message_desc - left_icon = $CANDIDATE$ - show_as_tooltip = { - add_character_modifier = { - modifier = pam_dulia_new_saint_modifier - years = 5 - } - } - } - } - } - } - } -} - -create_relic_artifact_effect = { - create_artifact = { - name = pam_saint_relic_$NAME$_name - description = pam_saint_relic_$NAME$_desc - visuals = $VISUAL$ - type = $TYPE$ - creator = scope:creator - template = pam_saint_relic_template - modifier = artifact_placeholder_modifier - save_scope_as = newly_created_artifact - wealth = scope:wealth - quality = scope:quality - } - scope:relic_site = { set_variable = pam_relic_drawn_$NAME$ } -} - -create_appropriate_relic_artifact_from_character_effect = { - $CREATOR$ = { save_scope_as = creator } - $OWNER$ = { save_scope_as = owner } - get_artifact_quality_effect = yes - get_artifact_wealth_effect = yes - $OWNER$ = { - random_list = { - 20 = { - trigger = { - 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 - religion = religion:oriental_orthodox_religion - religion = religion:dualism_religion - religion = religion:yazidi_religion - religion = religion:buddhism_religion - } - } - NOT = { scope:relic_site = { has_variable = pam_relic_drawn_finger } } - } - create_relic_artifact_effect = { NAME = finger TYPE = pedestal VISUAL = reliquary } - } - 15 = { - trigger = { - 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 - religion = religion:oriental_orthodox_religion - religion = religion:dualism_religion - religion = religion:yazidi_religion - religion = religion:buddhism_religion - } - } - scope:relic_site = { - has_none_of_variables = { - name = pam_relic_drawn_tooth - name = pam_relic_drawn_tooth_buddhism - } - } - } - if = { - limit = { religion = religion:buddhism_religion } - create_relic_artifact_effect = { NAME = tooth_buddhism TYPE = pedestal VISUAL = reliquary } - } - else = { - create_relic_artifact_effect = { NAME = tooth TYPE = pedestal VISUAL = reliquary } - } - } - 15 = { - trigger = { - 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 - religion = religion:oriental_orthodox_religion - religion = religion:dualism_religion - religion = religion:yazidi_religion - religion = religion:buddhism_religion - religion = { is_in_family = rf_pagan } - rite_has_parameter = cremation_funeral - AND = { - religion = religion:zoroastrianism_religion - rite_has_doctrine = doctrine_polytheist - } - } - } - scope:relic_site = { - has_none_of_variables = { - name = pam_relic_drawn_rib - name = pam_relic_drawn_rib_buddhism - } - } - } - if = { - limit = { religion = religion:buddhism_religion } - create_relic_artifact_effect = { NAME = rib_buddhism TYPE = pedestal VISUAL = reliquary } - } - else = { - create_relic_artifact_effect = { NAME = rib TYPE = pedestal VISUAL = reliquary } - } - } - 15 = { - trigger = { - 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 - religion = religion:oriental_orthodox_religion - religion = religion:buddhism_religion - religion = religion:dualism_religion - religion = religion:yazidi_religion - } - } - NOT = { scope:relic_site = { has_variable = pam_relic_drawn_hair } } - } - create_relic_artifact_effect = { NAME = hair TYPE = pedestal VISUAL = reliquary } - } - 10 = { - trigger = { - rite = { - OR = { - religion = religion:christianity_religion - religion = religion:catholic_religion - religion = religion:protestant_religion - religion = religion:eastern_orthodox_religion - religion = religion:oriental_orthodox_religion - religion = religion:dualism_religion - religion = religion:yazidi_religion - } - } - NOT = { scope:relic_site = { has_variable = pam_relic_drawn_vestment } } - } - create_relic_artifact_effect = { NAME = vestment TYPE = pedestal VISUAL = reliquary } - } - 8 = { - trigger = { - scope:creator = { has_corpse_trigger = yes } - 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 - religion = religion:oriental_orthodox_religion - religion = religion:dualism_religion - religion = religion:yazidi_religion - } - } - NOT = { scope:relic_site = { has_variable = pam_relic_drawn_hand } } - } - create_relic_artifact_effect = { NAME = hand TYPE = pedestal VISUAL = reliquary } - } - 8 = { - trigger = { - scope:creator = { has_corpse_trigger = yes } - 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 - religion = religion:oriental_orthodox_religion - religion = religion:dualism_religion - religion = religion:yazidi_religion - } - } - NOT = { scope:relic_site = { has_variable = pam_relic_drawn_arm } } - } - create_relic_artifact_effect = { NAME = arm TYPE = pedestal VISUAL = reliquary } - } - 5 = { - trigger = { - 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 - religion = religion:oriental_orthodox_religion - religion = religion:buddhism_religion - religion = { is_in_family = rf_pagan } - rite_has_parameter = cremation_funeral - AND = { - religion = religion:zoroastrianism_religion - rite_has_doctrine = doctrine_polytheist - } - } - } - scope:relic_site = { - has_none_of_variables = { - name = pam_relic_drawn_skull - name = pam_relic_drawn_skull_buddhism - } - } - } - if = { - limit = { religion = religion:buddhism_religion } - create_relic_artifact_effect = { NAME = skull_buddhism TYPE = pedestal VISUAL = reliquary } - } - else = { - create_relic_artifact_effect = { NAME = skull TYPE = pedestal VISUAL = reliquary } - } - } - 3 = { - trigger = { - 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 - religion = religion:oriental_orthodox_religion - religion = religion:dualism_religion - religion = religion:yazidi_religion - rite_has_parameter = mummification_funeral - } - NOT = { rite_has_parameter = cremation_funeral } - } - NOT = { scope:relic_site = { has_variable = pam_relic_drawn_blood } } - } - create_relic_artifact_effect = { NAME = blood TYPE = pedestal VISUAL = reliquary } - } - 1 = { - trigger = { - scope:creator = { has_corpse_trigger = yes } - 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 - religion = religion:oriental_orthodox_religion - religion = religion:dualism_religion - religion = religion:yazidi_religion - } - } - NOT = { scope:relic_site = { has_variable = pam_relic_drawn_heart } } - } - create_relic_artifact_effect = { NAME = heart TYPE = pedestal VISUAL = reliquary } - } - 10 = { - trigger = { - scope:creator = { has_corpse_trigger = yes } - religion = religion:buddhism_religion - NOT = { scope:relic_site = { has_variable = pam_relic_drawn_sarira } } - } - create_relic_artifact_effect = { NAME = sarira TYPE = pedestal VISUAL = reliquary } - } - 10 = { - trigger = { - rite = { - OR = { - religion = religion:confucianism_religion - religion = religion:islam_religion - religion = religion:judaism_religion - rite_has_tenet = tenet_pursuit_of_knowledge - rite_has_tenet = tenet_scholasticism - } - } - NOT = { scope:relic_site = { has_variable = pam_relic_drawn_letter } } - } - create_relic_artifact_effect = { NAME = letter TYPE = pedestal VISUAL = reliquary } - } - 10 = { - trigger = { - rite = { - OR = { - religion = religion:confucianism_religion - rite_has_tenet = tenet_pursuit_of_knowledge - } - } - faith_is_aniconic_trigger = no - NOT = { scope:relic_site = { has_variable = pam_relic_drawn_drawing } } - } - create_relic_artifact_effect = { NAME = drawing TYPE = pedestal VISUAL = reliquary } - } - 10 = { - trigger = { - rite = { - OR = { - religion = religion:confucianism_religion - rite_has_tenet = tenet_pursuit_of_knowledge - } - } - NOT = { scope:relic_site = { has_variable = pam_relic_drawn_stationery } } - } - create_relic_artifact_effect = { NAME = stationery TYPE = pedestal VISUAL = reliquary } - } - 10 = { - trigger = { - scope:creator = { has_corpse_trigger = yes } - rite = { - rite_has_parameter = cremation_funeral - } - NOT = { scope:relic_site = { has_variable = pam_relic_drawn_ash } } - } - create_relic_artifact_effect = { NAME = ash TYPE = pedestal VISUAL = urn } - } - 10 = { - trigger = { - scope:creator = { has_corpse_trigger = yes } - rite = { - rite_has_parameter = mummification_funeral - } - NOT = { scope:relic_site = { has_variable = pam_relic_drawn_canopic_jar } } - } - create_relic_artifact_effect = { NAME = canopic_jar TYPE = pedestal VISUAL = urn } - } - 10 = { - trigger = { - OR = { - broadly_dharmic_faith_trigger = yes - rite = { rite_has_tenet = tenet_mendicant_preachers } - scope:creator = { has_trait = pilgrim } - } - NOT = { scope:relic_site = { has_variable = pam_relic_drawn_staff } } - } - create_relic_artifact_effect = { NAME = staff TYPE = pedestal VISUAL = spear_court } - } - 10 = { - trigger = { - OR = { - broadly_dharmic_faith_trigger = yes - rite = { rite_has_tenet = tenet_mendicant_preachers } - } - NOT = { scope:relic_site = { has_variable = pam_relic_drawn_water_filter } } - } - create_relic_artifact_effect = { NAME = water_filter TYPE = pedestal VISUAL = reliquary } - } - 10 = { - trigger = { - OR = { - broadly_dharmic_faith_trigger = yes - rite = { rite_has_tenet = tenet_mendicant_preachers } - } - NOT = { scope:relic_site = { has_variable = pam_relic_drawn_bowl } } - } - create_relic_artifact_effect = { NAME = bowl TYPE = pedestal VISUAL = bowl } - } - 10 = { - trigger = { - broadly_dharmic_faith_trigger = yes - NOT = { scope:relic_site = { has_variable = pam_relic_drawn_robe } } - } - create_relic_artifact_effect = { NAME = robe TYPE = pedestal VISUAL = reliquary } - } - 1 = { - trigger = { - rite = { - OR = { - religion = religion:taoism_religion - NOT = { rite_has_parameter = pacifist } - } - } - NOT = { scope:relic_site = { has_variable = pam_relic_drawn_sword } } - } - modifier = { - add = 5 - rite = { rite_has_parameter = sanctify_artifacts_weapons } - } - modifier = { - add = 9 - religion = religion:taoism_religion - } - create_relic_artifact_effect = { NAME = sword TYPE = pedestal VISUAL = sword_court } - } - 10 = { - trigger = { - religion = religion:taoism_religion - NOT = { scope:relic_site = { has_variable = pam_relic_drawn_talisman } } - } - create_relic_artifact_effect = { NAME = talisman TYPE = pedestal VISUAL = reliquary } - } - 10 = { - trigger = { - religion = religion:taoism_religion - NOT = { scope:relic_site = { has_variable = pam_relic_drawn_pellet } } - } - create_relic_artifact_effect = { NAME = pellet TYPE = pedestal VISUAL = flask } - } - 10 = { - trigger = { - religion = religion:islam_religion - NOT = { scope:relic_site = { has_variable = pam_relic_drawn_footprint } } - } - create_relic_artifact_effect = { NAME = footprint TYPE = pedestal VISUAL = rock } - } - 10 = { - trigger = { - faith_is_aniconic_trigger = no - NOT = { scope:relic_site = { has_variable = pam_relic_drawn_effigy } } - } - if = { - limit = { - religion = { - is_in_family = rf_pagan - this != religion:hellenism_religion - } - rite = { - rite_has_doctrine = unreformed_faith_doctrine - } - } - create_relic_artifact_effect = { NAME = effigy TYPE = pedestal VISUAL = statue } - } - else = { - create_relic_artifact_effect = { NAME = effigy TYPE = pedestal VISUAL = statue_roman_woman } - } - } - 10 = { - trigger = { - religion = religion:zoroastrianism_religion - NOT = { scope:relic_site = { has_variable = pam_relic_drawn_afarganyu } } - } - create_relic_artifact_effect = { NAME = afarganyu TYPE = pedestal VISUAL = urn } - } - 10 = { - trigger = { - OR = { - religion = religion:zoroastrianism_religion # zorostrian seal - religion = religion:yazidi_religion - rite = { rite_has_parameter = sanctify_artifacts_luxurious } - } - NOT = { scope:relic_site = { has_variable = pam_relic_drawn_ring } } - } - create_relic_artifact_effect = { NAME = ring TYPE = pedestal VISUAL = ring_court } - } - 10 = { - trigger = { - OR = { - religion = religion:zoroastrianism_religion - religion = religion:yazidi_religion - rite = { rite_has_parameter = sanctify_artifacts_luxurious } - } - NOT = { scope:relic_site = { has_variable = pam_relic_drawn_bracelet } } - } - create_relic_artifact_effect = { NAME = bracelet TYPE = pedestal VISUAL = oxus_bracelet } - } - 10 = { - trigger = { - OR = { - religion = religion:judaism_religion - rite = { rite_has_tenet = tenet_scholasticism } - } - NOT = { scope:relic_site = { has_variable = pam_relic_drawn_commentary } } - } - create_relic_artifact_effect = { NAME = commentary TYPE = pedestal VISUAL = book } - } - 10 = { - trigger = { - religion = religion:judaism_religion - NOT = { scope:relic_site = { has_variable = pam_relic_drawn_tzitzit } } - } - create_relic_artifact_effect = { NAME = tzitzit TYPE = pedestal VISUAL = reliquary } - } - # the final fallback. should never pick this at least in vanilla game - 0 = { - create_relic_artifact_effect = { NAME = relic TYPE = pedestal VISUAL = reliquary } - } - } - hidden_effect_new_object = { - if = { - limit = { has_royal_court = no } - scope:newly_created_artifact = { reforge_artifact = { type = miscellaneous quality = scope:quality wealth = scope:wealth } } - } - scope:newly_created_artifact = { - set_variable = { name = relic_religion value = scope:relic_creator_saint.religion } - add_scaled_artifact_modifier_piety_effect = yes - add_scaled_artifact_modifier_devotion_effect = yes - add_scaled_artifact_modifier_grandeur_small_effect = yes - remove_artifact_modifier = artifact_placeholder_modifier - } - } - } -} -# Run from the extracting ruler (root) -# $SITE$ is the burial province to extract from -pam_extract_relic_from_saint_effect = { - $SITE$ = { - save_scope_as = relic_site - saint_in_province = { save_scope_as = relic_creator_saint } - } - save_scope_as = extractor - # Set the relic's tier from the saint before the charge is spent. - scope:relic_creator_saint = { - save_scope_value_as = { - name = quality - value = pam_saint_relic_quality_value - } - } - # Spend one of the saint's relic charges; the engine checks faith, realm and remaining charges. - hidden_effect = { consume_saint_relic_charge = scope:relic_creator_saint } - # Religion-appropriate relic creation (hidden_effect_new_object; saves scope:newly_created_artifact). - create_appropriate_relic_artifact_from_character_effect = { - OWNER = scope:extractor - CREATOR = scope:relic_creator_saint - } - # Surface + rename the drawn relic (no repeated type per saint). - if = { - limit = { exists = scope:newly_created_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 = { - name = pam_saint_relic_saint - value = scope:relic_creator_saint - } - } - } - - # Dulia: relics carry one extra blessing. Hidden so the on-site option tooltip doesn't pre-spoil the random roll. - if = { - limit = { rite = { rite_has_parameter = tenet_dulia_extra_relic_modifier } } - hidden_effect = { pam_add_dulia_extra_relic_modifier_effect = yes } - } - # Dulia: a relic from one's own dynast glorifies the house. - if = { - limit = { - rite = { rite_has_parameter = tenet_dulia_dynasty_prestige_from_relics } - exists = dynasty - exists = scope:relic_creator_saint.dynasty - scope:relic_creator_saint.dynasty = dynasty - } - pam_grant_dulia_relic_dynasty_prestige_effect = yes - } - } -} - -# Dulia: grants dynasty prestige for a kin relic so events can echo it via show_as_tooltip -pam_grant_dulia_relic_dynasty_prestige_effect = { - custom_tooltip = pam_dulia_relic_dynasty_prestige_tt - dynasty = { add_dynasty_prestige = medium_dynasty_prestige_gain } -} - -# Rolls one random blessing (even odds across seven) onto a freshly drawn relic (scope:relic_artifact). Dulia only. -pam_add_dulia_extra_relic_modifier_effect = { - scope:relic_artifact = { - random_list = { - 10 = { add_artifact_modifier = pam_dulia_relic_piety_level_impact_modifier } - 10 = { add_artifact_modifier = pam_dulia_relic_piety_per_dread_modifier } - 10 = { add_artifact_modifier = pam_dulia_relic_piety_per_knight_modifier } - 10 = { add_artifact_modifier = pam_dulia_relic_stress_loss_per_piety_modifier } - 10 = { add_artifact_modifier = pam_dulia_relic_piety_per_legitimacy_modifier } - 10 = { add_artifact_modifier = pam_dulia_relic_learning_per_piety_modifier } - 10 = { add_artifact_modifier = pam_dulia_relic_monthly_piety_modifier } - } - } -} - -# Tooltip-only echo of the blessing already rolled onto the relic; reads the relic's actual modifier so the exact rolled effect shows. -pam_show_dulia_relic_blessing_effect = { - scope:relic_artifact = { - if = { - limit = { has_artifact_modifier = pam_dulia_relic_piety_level_impact_modifier } - show_as_tooltip = { add_artifact_modifier = pam_dulia_relic_piety_level_impact_modifier } - } - else_if = { - limit = { has_artifact_modifier = pam_dulia_relic_piety_per_dread_modifier } - show_as_tooltip = { add_artifact_modifier = pam_dulia_relic_piety_per_dread_modifier } - } - else_if = { - limit = { has_artifact_modifier = pam_dulia_relic_piety_per_knight_modifier } - show_as_tooltip = { add_artifact_modifier = pam_dulia_relic_piety_per_knight_modifier } - } - else_if = { - limit = { has_artifact_modifier = pam_dulia_relic_stress_loss_per_piety_modifier } - show_as_tooltip = { add_artifact_modifier = pam_dulia_relic_stress_loss_per_piety_modifier } - } - else_if = { - limit = { has_artifact_modifier = pam_dulia_relic_piety_per_legitimacy_modifier } - show_as_tooltip = { add_artifact_modifier = pam_dulia_relic_piety_per_legitimacy_modifier } - } - else_if = { - limit = { has_artifact_modifier = pam_dulia_relic_learning_per_piety_modifier } - show_as_tooltip = { add_artifact_modifier = pam_dulia_relic_learning_per_piety_modifier } - } - else_if = { - limit = { has_artifact_modifier = pam_dulia_relic_monthly_piety_modifier } - show_as_tooltip = { add_artifact_modifier = pam_dulia_relic_monthly_piety_modifier } - } - } -} diff --git a/common/traits/zz_NEOW_traits.txt b/common/traits/zz_NEOW_traits.txt index dd41cc009..5184ed5ce 100644 --- a/common/traits/zz_NEOW_traits.txt +++ b/common/traits/zz_NEOW_traits.txt @@ -628,7 +628,7 @@ saint = { desc = trait_venerated_ancestor } triggered_desc = { - trigger = { faith = { OR = { religion_tag = christianity_religion religion_tag = eastern_orthodox_religion religion_tag = catholic_religion religion_tag = protestant_religion religion_tag = oriental_orthodox_religion } } } + trigger = { faith = { religion_tag = christianity_religion } } desc = trait_saint } triggered_desc = { diff --git a/gfx/portraits/portrait_animations/animations.txt b/gfx/portraits/portrait_animations/animations.txt index 5fa28614a..1c8056d8b 100644 --- a/gfx/portraits/portrait_animations/animations.txt +++ b/gfx/portraits/portrait_animations/animations.txt @@ -186,12 +186,7 @@ idle = { base = 0 modifier = { add = 100 - OR = { - religion = religion:eastern_orthodox_religion - religion = religion:oriental_orthodox_religion - religion = religion:catholic_religion - religion = religion:protestant_religion - } + religion = religion:christianity_religion any_held_title = { is_head_of_faith = yes } OR = { ai_honor < medium_negative_ai_value @@ -209,12 +204,7 @@ idle = { base = 0 modifier = { add = 100 - OR = { - religion = religion:eastern_orthodox_religion - religion = religion:oriental_orthodox_religion - religion = religion:catholic_religion - religion = religion:protestant_religion - } + religion = religion:christianity_religion any_held_title = { is_head_of_faith = yes } OR = { ai_greed <= high_negative_ai_value @@ -236,12 +226,7 @@ idle = { base = 0 modifier = { add = 100 - OR = { - religion = religion:eastern_orthodox_religion - religion = religion:oriental_orthodox_religion - religion = religion:catholic_religion - religion = religion:protestant_religion - } + religion = religion:christianity_religion any_held_title = { is_head_of_faith = yes } } } @@ -691,12 +676,7 @@ idle = { AND = { is_ruler = no government_has_flag = government_is_military_holy_order - OR = { - religion = religion:eastern_orthodox_religion - religion = religion:oriental_orthodox_religion - religion = religion:catholic_religion - religion = religion:protestant_religion - } + religion = religion:christianity_religion portrait_wear_armor_currently_in_army_trigger = yes } } @@ -719,12 +699,7 @@ idle = { AND = { is_ruler = no government_has_flag = government_is_military_holy_order - OR = { - religion = religion:eastern_orthodox_religion - religion = religion:oriental_orthodox_religion - religion = religion:catholic_religion - religion = religion:protestant_religion - } + religion = religion:christianity_religion portrait_wear_armor_currently_in_army_trigger = yes } } @@ -747,12 +722,7 @@ idle = { AND = { is_ruler = no government_has_flag = government_is_military_holy_order - OR = { - religion = religion:eastern_orthodox_religion - religion = religion:oriental_orthodox_religion - religion = religion:catholic_religion - religion = religion:protestant_religion - } + religion = religion:christianity_religion portrait_wear_armor_currently_in_army_trigger = yes } } @@ -775,12 +745,7 @@ idle = { AND = { is_ruler = no government_has_flag = government_is_military_holy_order - OR = { - religion = religion:eastern_orthodox_religion - religion = religion:oriental_orthodox_religion - religion = religion:catholic_religion - religion = religion:protestant_religion - } + religion = religion:christianity_religion portrait_wear_armor_currently_in_army_trigger = yes } } @@ -6118,10 +6083,8 @@ war_over_win = { is_theocratic_lessee = yes government_has_flag = government_is_theocracy } - OR = { - religion = religion:catholic_religion - religion = religion:protestant_religion - } + religion = religion:christianity_religion + NOT = { faith = faith:orthodox } } } } diff --git a/history/titles/k_relgious_heads.txt b/history/titles/k_relgious_heads.txt index 7df214fa7..4c60ee0a3 100644 --- a/history/titles/k_relgious_heads.txt +++ b/history/titles/k_relgious_heads.txt @@ -1437,6 +1437,9 @@ k_orthodox = { 2530.1.10={ holder = nistria1030 liege = e_nistrenia + } + 2555.1.1 = { + holder = nistria1030 government = ecclesiastical_government faith:orthodox = { set_religious_head_title = title:k_orthodox } }