Scripted effect · The Royal Court files
create_artifact_pedestal_reliquary_judaism_effect
create_artifact_pedestal_reliquary_judaism_effect = { OWNER = … }game/common/scripted_effects/01_ep1_court_artifact_creation_effects.txt, line 6691 (42 lines). Parameters: $OWNER$.
create_artifact_pedestal_reliquary_judaism_effect is a scripted effect in Crusader Kings III, in the The Royal Court files, written at line 6691 of its file. A call passes 1 parameter: OWNER. The game's script calls it in 7 places, among them A True Relic (event pilgrimage.6770), Disbelieve Mandala: All But a Forgery (event disbelieve_mandala_ongoing.0010) and Sacred Claims (event hold_court.8020). Patch 1.20.1.2, from game/common/scripted_effects/01_ep1_court_artifact_creation_effects.txt.
What it does
- 1 of 1 things will happen › 100%: Nothing else happens
get_artifact_quality_effect = yesget_artifact_wealth_effect = yes- scope:owner: “…” Artifact is created
scope:newly_created_artifact:
• 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 (42 lines of game script)
create_artifact_pedestal_reliquary_judaism_effect = {
$OWNER$ = { save_scope_as = owner }
random_list = {
15 = {
save_scope_value_as = {
name = judaism_relic_name
value = flag:menorah
}
}
}
get_artifact_quality_effect = yes
get_artifact_wealth_effect = yes
scope:owner = {
create_artifact = {
name = artifact_pedestal_reliquary_judaism_name
creator = scope:owner
description = artifact_pedestal_reliquary_judaism_description
visuals = reliquary
type = pedestal
template = judaism_relic_template
modifier = artifact_monthly_piety_3_modifier
save_scope_as = newly_created_artifact
wealth = scope:wealth
quality = scope:quality
#decaying = no
}
}
scope:newly_created_artifact = {
add_scaled_artifact_modifier_piety_effect = yes
add_scaled_artifact_modifier_devotion_effect = yes
add_scaled_artifact_modifier_grandeur_small_effect = yes
save_scope_as = epic
set_variable = {
name = relic_religion
value = religion:judaism_religion
}
}
}As written in game/common/scripted_effects/01_ep1_court_artifact_creation_effects.txt.
Where it is used
Every place in common/, events/ and history/ that calls create_artifact_pedestal_reliquary_judaism_effect.
Character interactions (1)
- Bestow Artifact
Events (4)
- A True Relic
pilgrimage.6770 - Disbelieve Mandala: All But a Forgery
disbelieve_mandala_ongoing.0010 - Sacred Claims
hold_court.8020 - debug.346
Source: game/common/scripted_effects/01_ep1_court_artifact_creation_effects.txt and every file of common/, events/ and history/ that calls it, Crusader Kings III 1.20.1.2.