Scripted effect · All Under Heaven files
create_love_artifact_poetry_effect
create_love_artifact_poetry_effect = { OWNER = … }game/common/scripted_effects/10_dlc_tgp_japan_scripted_effects.txt, line 3769 (28 lines). Parameters: $OWNER$.
create_love_artifact_poetry_effect is a scripted effect in Crusader Kings III, in the All Under Heaven files, written at line 3769 of its file. A call passes 1 parameter: OWNER. The game's script calls it in 1 place, among them hunt.8211 (event). Patch 1.20.1.2, from game/common/scripted_effects/10_dlc_tgp_japan_scripted_effects.txt.
What it does
Every line of it is script with no tooltip text: the script is below.
The script as written (28 lines of game script)
create_love_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 = love_artifact_poetry_name
creator = scope:owner
description = love_artifact_poetry_description
visuals = scroll
type = miscellaneous
modifier = artifact_monthly_minor_prestige_1_modifier
modifier = artifact_attraction_opinion_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/10_dlc_tgp_japan_scripted_effects.txt.
Where it is used
Every place in common/, events/ and history/ that calls create_love_artifact_poetry_effect.
Events (1)
Source: game/common/scripted_effects/10_dlc_tgp_japan_scripted_effects.txt and every file of common/, events/ and history/ that calls it, Crusader Kings III 1.20.1.2.