Scripted effect · By God Alone files
create_artifact_pedestal_situla_effect
create_artifact_pedestal_situla_effect = { CREATOR = … OWNER = … }game/common/scripted_effects/pam_effects.txt, line 178 (37 lines). Parameters: $CREATOR$, $OWNER$.
create_artifact_pedestal_situla_effect is a scripted effect in Crusader Kings III, in the By God Alone files, written at line 178 of its file. A call passes 2 parameters: CREATOR and OWNER. The game's script calls it in 1 place, among them create_christian_religious_artifact_effect (scripted effect). Patch 1.20.1.2, from game/common/scripted_effects/pam_effects.txt.
What it does
get_artifact_quality_effect = yesget_artifact_wealth_effect = yes- scope:owner: “Excellent Situla” Artifact is created
scope:newly_created_artifact:add_scaled_artifact_modifier_devotion_effect = yesadd_scaled_artifact_modifier_grandeur_small_effect = yesIf
One of these
rarity = famedor
rarity = illustrious
Then
remove_artifact_modifier = artifact_placeholder_modifier
• 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 (37 lines of game script)
create_artifact_pedestal_situla_effect = {
$OWNER$ = { save_scope_as = owner }
$CREATOR$ = { save_scope_as = creator }
get_artifact_quality_effect = yes
get_artifact_wealth_effect = yes
scope:owner = {
create_artifact = {
name = artifact_pedestal_situla_name
creator = scope:creator
description = artifact_pedestal_situla_description
visuals = pam_situla
type = pedestal
template = cross_template
modifier = artifact_placeholder_modifier
save_scope_as = newly_created_artifact
wealth = scope:wealth
quality = scope:quality
}
}
scope:newly_created_artifact = {
add_scaled_artifact_modifier_devotion_effect = yes
add_scaled_artifact_modifier_grandeur_small_effect = yes
if = {
limit = {
OR = {
rarity = famed
rarity = illustrious
}
}
add_scaled_artifact_modifier_piety_effect = yes
}
remove_artifact_modifier = artifact_placeholder_modifier
}
}As written in game/common/scripted_effects/pam_effects.txt.
Where it is used
Every place in common/, events/ and history/ that calls create_artifact_pedestal_situla_effect.
Scripted effects (1)
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.