Scripted effect · The Fate of Iberia files
create_artifact_various_bells_santiago
create_artifact_various_bells_santiago = { OWNER = … }game/common/scripted_effects/03_dlc_fp2_scripted_effects.txt, line 1667 (32 lines). Parameters: $OWNER$.
create_artifact_various_bells_santiago is a scripted effect in Crusader Kings III, in the The Fate of Iberia files, written at line 1667 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_illustrious = yes- scope:owner: “Bells of Santiago” 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 (32 lines of game script)
create_artifact_various_bells_santiago = {
$OWNER$ = { save_scope_as = owner }
set_artifact_rarity_illustrious = yes
scope:owner = {
create_artifact = {
name = fp2_santiago_bells
description = fp2_santiago_bells_desc
template = fp2_santiago_bells_template
type = miscellaneous_when_not_court
visuals = fp2_santiago_bells
wealth = scope:wealth
quality = scope:quality
modifier = bells_of_santiago_modifier
decaying = no
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
value = flag:iberian_struggle
}
}
}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_various_bells_santiago.
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.