Scripted effect · Silk and Silver files
random_gift_artifact_signorial_effect
random_gift_artifact_signorial_effect = { CREATOR = … OWNER = … }game/common/scripted_effects/gdp_republic_effects.txt, line 3708 (52 lines). Parameters: $CREATOR$, $OWNER$.
random_gift_artifact_signorial_effect is a scripted effect in Crusader Kings III, in the Silk and Silver files, written at line 3708 of its file. A call passes 2 parameters: CREATOR and OWNER. The game's script calls it in 1 place, among them Come Bearing Gifts (event yearly_republic.1018). Its body carries 4 texts of the game's own for the player. Patch 1.21.0, from game/common/scripted_effects/gdp_republic_effects.txt.
What it does
- 1 of 4 things will happen:
- 10%:
create_artifact_sculpture_religious_effect = { OWNER = $OWNER$ CREATOR = $CREATOR$ }hidden_effect_new_object = { … }- You gain a Curiosity Domicile Artifact
- 30%:
create_artifact_sculpture_effect = { OWNER = $OWNER$ SCULPTER = $CREATOR$ }hidden_effect_new_object = { … }- You gain a Curiosity Domicile Artifact
- 30%:
create_artifact_chest_effect = { OWNER = $OWNER$ CARPENTER = $CREATOR$ }hidden_effect_new_object = { … }- You gain a Curiosity Domicile Artifact
- 30%:
create_artifact_tapestry_effect = { OWNER = $OWNER$ WEAVER = $CREATOR$ }hidden_effect_new_object = { … }- You gain a Curiosity Domicile Artifact
- 10%:
• 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 (52 lines of game script)
random_gift_artifact_signorial_effect = {
random_list = {
10 = {
create_artifact_sculpture_religious_effect = {
OWNER = $OWNER$
CREATOR = $CREATOR$
}
hidden_effect_new_object = {
scope:newly_created_artifact = {
reforge_artifact = { type = curio }
}
}
custom_tooltip = create_curio_artifact
}
30 = {
create_artifact_sculpture_effect = {
OWNER = $OWNER$
SCULPTER = $CREATOR$
}
hidden_effect_new_object = {
scope:newly_created_artifact = {
reforge_artifact = { type = curio }
}
}
custom_tooltip = create_curio_artifact
}
30 = {
create_artifact_chest_effect = {
OWNER = $OWNER$
CARPENTER = $CREATOR$
}
hidden_effect_new_object = {
scope:newly_created_artifact = {
reforge_artifact = { type = curio }
}
}
custom_tooltip = create_curio_artifact
}
30 = {
create_artifact_tapestry_effect = {
OWNER = $OWNER$
WEAVER = $CREATOR$
}
hidden_effect_new_object = {
scope:newly_created_artifact = {
reforge_artifact = { type = curio }
}
}
custom_tooltip = create_curio_artifact
}
}
}As written in game/common/scripted_effects/gdp_republic_effects.txt.
Where it is used
Every place in common/, events/ and history/ that calls random_gift_artifact_signorial_effect.
Events (1)
- Come Bearing Gifts
yearly_republic.1018
Source: game/common/scripted_effects/gdp_republic_effects.txt and every file of common/, events/ and history/ that calls it, Crusader Kings III 1.21.0.