Scripted effect · The Fate of Iberia files
create_artifact_goblet_chalice_of_dona_urraca
create_artifact_goblet_chalice_of_dona_urraca = { OWNER = … }game/common/scripted_effects/03_dlc_fp2_scripted_effects.txt, line 1601 (31 lines). Parameters: $OWNER$.
create_artifact_goblet_chalice_of_dona_urraca is a scripted effect in Crusader Kings III, in the The Fate of Iberia files, written at line 1601 of its file. A call passes 1 parameter: OWNER. The game's script calls it in 1 place, among them historical_artifacts.0023 (event). Patch 1.20.1.2, from game/common/scripted_effects/03_dlc_fp2_scripted_effects.txt.
What it does
set_artifact_rarity_famed = yes- scope:owner: “Chalice of Dona Urraca” Artifact is created
• 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 (31 lines of game script)
create_artifact_goblet_chalice_of_dona_urraca = {
$OWNER$ = { save_scope_as = owner }
set_artifact_rarity_famed = yes
scope:owner = {
create_artifact = {
name = fp2_chalice_dona_urraca
description = fp2_chalice_dona_urraca_desc
template = fp2_chalice_dona_urraca_template
type = miscellaneous_when_not_court
visuals = fp2_chalice_dona_urraca
wealth = scope:wealth
quality = scope:quality
modifier = chalice_of_dona_urraca_modifier
save_scope_as = newly_created_artifact
}
}
scope:newly_created_artifact = {
set_variable = {
name = dlc_potential_court_artifact
value = yes
}
set_variable = {
name = historical_unique_artifact
value = yes
}
set_variable = {
name = relic_religion
value = religion:christianity_religion
}
}
}As written in game/common/scripted_effects/03_dlc_fp2_scripted_effects.txt.
Where it is used
Every place in common/, events/ and history/ that calls create_artifact_goblet_chalice_of_dona_urraca.
Events (1)
Source: game/common/scripted_effects/03_dlc_fp2_scripted_effects.txt and every file of common/, events/ and history/ that calls it, Crusader Kings III 1.20.1.2.