Scripted effect · By God Alone files
create_appropriate_relic_artifact_effect
create_appropriate_relic_artifact_effect = { CREATOR = … OWNER = … }game/common/scripted_effects/pam_effects.txt, line 67 (34 lines). Parameters: $CREATOR$, $OWNER$.
create_appropriate_relic_artifact_effect is a scripted effect in Crusader Kings III, in the By God Alone files, written at line 67 of its file. A call passes 2 parameters: CREATOR and OWNER. No file of common/, events/ or history/ calls it. Patch 1.20.1.2, from game/common/scripted_effects/pam_effects.txt.
What it does
Every line of it is script with no tooltip text: the script is below.
The script as written (34 lines of game script)
create_appropriate_relic_artifact_effect = {
hidden_effect_new_object = {
if = {
limit = { religion = religion:christianity_religion }
create_artifact_pedestal_reliquary_christian_effect = { OWNER = $OWNER$ }
}
else_if = {
limit = { religion = religion:islam_religion }
create_artifact_pedestal_reliquary_islam_effect = { OWNER = $OWNER$ }
}
else_if = {
limit = { religion = religion:buddhism_religion }
create_artifact_pedestal_reliquary_buddhism_effect = { OWNER = $OWNER$ }
}
else_if = {
limit = { religion = religion:judaism_religion }
create_artifact_pedestal_reliquary_judaism_effect = { OWNER = $OWNER$ }
}
else = {
create_artifact_sculpture_religious_effect = { OWNER = $OWNER$ CREATOR = $CREATOR$ }
}
scope:newly_created_artifact = {
set_variable = relic # Adds the Relic flag
}
if = { # Makes a regular character artifact if you don't have a Royal Court
limit = {
has_royal_court = no
}
scope:newly_created_artifact = {
reforge_artifact = { type = miscellaneous }
}
}
}
}As written in game/common/scripted_effects/pam_effects.txt.
Where it is used
No file of common/, events/ or history/ calls it.
Source: game/common/scripted_effects/pam_effects.txt and every file of common/, events/ and history/ that calls it, Crusader Kings III 1.20.1.2.