Scripted effect
create_starting_relic_antioch_christian_effect
create_starting_relic_antioch_christian_effect = yesgame/common/scripted_effects/02_starting_holy_site_relics_effects.txt, line 422 (39 lines). No parameters.
create_starting_relic_antioch_christian_effect is a scripted effect in Crusader Kings III, written at line 422 of its file. It takes no parameters: create_starting_relic_antioch_christian_effect = yes. The game's script calls it in 1 place, among them create_starting_holy_relic_eminent_effect (scripted effect). Patch 1.20.1.2, from game/common/scripted_effects/02_starting_holy_site_relics_effects.txt.
What it does
set_artifact_rarity_illustrious = yesscope:relic_owner:finalize_starting_unique_relic_effect = yes
• the game's own tooltip text · ◦ our reading of the script line · code the script where neither exists
“They” is whatever it runs on (the scope it is called in). The scripted triggers and effects it calls link to their own pages; $PARAMETERS$ stay as written: each call fills them in.
The script as written (39 lines of game script)
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
}As written in game/common/scripted_effects/02_starting_holy_site_relics_effects.txt.
Where it is used
Every place in common/, events/ and history/ that calls create_starting_relic_antioch_christian_effect.
Scripted effects (1)
Source: game/common/scripted_effects/02_starting_holy_site_relics_effects.txt and every file of common/, events/ and history/ that calls it, Crusader Kings III 1.20.1.2.