Scripted effect · The Royal Court files
create_artifact_poetry_effect
create_artifact_poetry_effect = { OWNER = … }game/common/scripted_effects/01_ep1_court_artifact_creation_effects.txt, line 7150 (27 lines). Parameters: $OWNER$.
create_artifact_poetry_effect is a scripted effect in Crusader Kings III, in the The Royal Court files, written at line 7150 of its file. A call passes 1 parameter: OWNER. The game's script calls it in 1 place, among them A Poetic Friendship (event bp1_yearly.4020). Patch 1.20.1.2, from game/common/scripted_effects/01_ep1_court_artifact_creation_effects.txt.
What it does
Every line of it is script with no tooltip text: the script is below.
The script as written (27 lines of game script)
create_artifact_poetry_effect = {
$OWNER$ = { save_scope_as = owner }
hidden_effect_new_object = {
get_artifact_quality_effect = yes
get_artifact_wealth_effect = yes
scope:owner = {
create_artifact = {
name = artifact_poetry_name
creator = scope:owner
description = artifact_poetry_description
visuals = scroll
type = miscellaneous
modifier = artifact_monthly_minor_prestige_1_modifier
save_scope_as = newly_created_artifact
wealth = scope:wealth
quality = scope:quality
}
}
scope:newly_created_artifact = {
add_scaled_artifact_modifier_minor_prestige_effect = yes
add_scaled_artifact_modifier_majesty_effect = yes
}
}
}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_poetry_effect.
Events (1)
- A Poetic Friendship
bp1_yearly.4020
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.