1675 lines
51 KiB
Text
1675 lines
51 KiB
Text
# 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
|
|
}
|
|
}
|
|
}
|