Scripted effect · By God Alone files
create_christian_religious_artifact_effect
create_christian_religious_artifact_effect = { CREATOR = … OWNER = … }game/common/scripted_effects/pam_effects.txt, line 254 (38 lines). Parameters: $CREATOR$, $OWNER$.
create_christian_religious_artifact_effect is a scripted effect in Crusader Kings III, in the By God Alone files, written at line 254 of its file. A call passes 2 parameters: CREATOR and OWNER. The game's script calls it in 2 places, among them Inspiration Realized (event pam_religious_artifact_events.0002) and Tending the Flock (event pam_decision_events.0032). 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 (38 lines of game script)
create_christian_religious_artifact_effect = {
hidden_effect_new_object = {
random_list = {
1 = {
create_artifact_pedestal_cross_effect = { OWNER = $OWNER$ CREATOR = $CREATOR$ }
}
1 = {
trigger = {
rite = {
NOT = { rite_has_tenet = tenet_aniconism }
}
}
create_artifact_pedestal_crucifix_effect = { OWNER = $OWNER$ CREATOR = $CREATOR$ }
}
1 = {
create_artifact_sculpture_religious_effect = { OWNER = $OWNER$ CREATOR = $CREATOR$ }
}
1 = {
create_artifact_pedestal_bible_effect = { OWNER = $OWNER$ CREATOR = $CREATOR$ }
}
1 = {
create_artifact_pedestal_thurible_effect = { OWNER = $OWNER$ CREATOR = $CREATOR$ }
}
1 = {
create_artifact_pedestal_situla_effect = { OWNER = $OWNER$ CREATOR = $CREATOR$ }
}
1 = {
create_artifact_pedestal_crozier_effect = { OWNER = $OWNER$ CREATOR = $CREATOR$ }
}
}
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
Every place in common/, events/ and history/ that calls create_christian_religious_artifact_effect.
Events (2)
- Inspiration Realized
pam_religious_artifact_events.0002 - Tending the Flock
pam_decision_events.0032
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.