Scripted effect · Tours and Tournaments files
generate_romantic_trinket_effect
generate_romantic_trinket_effect = { OWNER = … }game/common/scripted_effects/02_ep2_artifact_effects.txt, line 1 (80 lines). Parameters: $OWNER$.
generate_romantic_trinket_effect is a scripted effect in Crusader Kings III, in the Tours and Tournaments files, written at line 1 of its file. A call passes 1 parameter: OWNER. The game's script calls it in 1 place, among them A Night to Remember (event ep2_wedding.3030). Patch 1.20.1.2, from game/common/scripted_effects/02_ep2_artifact_effects.txt.
What it does
- 1 of 5 things will happen:
• 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 (80 lines of game script)
generate_romantic_trinket_effect = {
$OWNER$ = { save_scope_as = owner } #Will always exist!
random_list = {
50 = { #lock of hair
create_artifact = {
name = lock_of_hair
description = lock_of_hair.desc
type = miscellaneous
visuals = medallion
modifier = artifact_seduce_scheme_phase_duration_mult_1_modifier
modifier = artifact_spouse_opinion_add_3_modifier
save_scope_as = romantic_trinket
wealth = 20
quality = 20
max_durability = 30
generate_history = no
}
}
50 = { #ribbon with house embrodery
create_artifact = {
name = house_ribbon
description = house_ribbon.desc
type = miscellaneous
visuals = pocket_fancy_case
modifier = artifact_monthly_dynasty_prestige_2_modifier
modifier = artifact_spouse_opinion_add_1_modifier
save_scope_as = romantic_trinket
wealth = 25
quality = 25
max_durability = 30
generate_history = no
}
}
50 = { #necklace with initials
create_artifact = {
name = initials_necklace
description = initials_necklace.desc
type = miscellaneous
visuals = necklace
modifier = artifact_monthly_prestige_2_modifier
modifier = artifact_spouse_opinion_add_3_modifier
save_scope_as = romantic_trinket
wealth = 40
quality = 40
max_durability = 30
generate_history = no
}
}
50 = { #brooch with marriage prayer
create_artifact = {
name = marriage_prayer_brooch
description = marriage_prayer_brooch.desc
type = miscellaneous
visuals = brooch
modifier = artifact_monthly_piety_2_modifier
modifier = artifact_spouse_opinion_add_3_modifier
save_scope_as = romantic_trinket
wealth = 35
quality = 35
max_durability = 30
generate_history = no
}
}
10 = { #wooden phallus
create_artifact = {
name = wooden_phallus
description = wooden_phallus.desc
type = miscellaneous
visuals = small_box
modifier = artifact_fertility_gain_2_modifier
modifier = artifact_spouse_opinion_add_4_modifier
save_scope_as = romantic_trinket
wealth = 20
quality = 20
max_durability = 30
generate_history = no
}
}
}
}As written in game/common/scripted_effects/02_ep2_artifact_effects.txt.
Where it is used
Every place in common/, events/ and history/ that calls generate_romantic_trinket_effect.
Events (1)
- A Night to Remember
ep2_wedding.3030
Source: game/common/scripted_effects/02_ep2_artifact_effects.txt and every file of common/, events/ and history/ that calls it, Crusader Kings III 1.20.1.2.