Scripted effect · The Royal Court files
create_artifact_pedestal_scroll_effect
create_artifact_pedestal_scroll_effect = { OWNER = … WRITER = … }game/common/scripted_effects/01_ep1_court_artifact_creation_effects.txt, line 2397 (26 lines). Parameters: $OWNER$, $WRITER$.
create_artifact_pedestal_scroll_effect is a scripted effect in Crusader Kings III, in the The Royal Court files, written at line 2397 of its file. A call passes 2 parameters: OWNER and WRITER. The game's script calls it in 1 place, among them … Laws (event debug.334). Patch 1.20.1.2, from game/common/scripted_effects/01_ep1_court_artifact_creation_effects.txt.
What it does
get_artifact_quality_effect = yesget_artifact_wealth_effect = yes- scope:owner: “Excellent Laws” Artifact is created
scope:newly_created_artifact:add_artifact_modifier = artifact_stewardship_per_stress_level_2_modifieradd_artifact_modifier = artifact_parochial_vassal_opinion_3_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 (26 lines of game script)
create_artifact_pedestal_scroll_effect = {
$OWNER$ = { save_scope_as = owner }
$WRITER$ = { save_scope_as = writer }
get_artifact_quality_effect = yes
get_artifact_wealth_effect = yes
scope:owner = {
create_artifact = {
name = artifact_pedestal_scroll_name
creator = scope:writer
description = artifact_pedestal_scroll_description
visuals = scroll
type = pedestal
modifier = artifact_monthly_prestige_4_modifier
save_scope_as = newly_created_artifact
wealth = scope:wealth
quality = scope:quality
#decaying = no
}
}
scope:newly_created_artifact = {
add_artifact_modifier = artifact_stewardship_per_stress_level_2_modifier
add_artifact_modifier = artifact_parochial_vassal_opinion_3_modifier
}
}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_scroll_effect.
Events (1)
- … Laws
debug.334
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.