CK3 DatabaseCrusader Kings III · 1.21.0 “Florin” · unofficial
Silk & Silverout Tue, Nov 17What's free, what needs the DLC, price →Merch→

Scripted effect · Silk and Silver files

random_gift_artifact_communal_effect

random_gift_artifact_communal_effect = { CREATOR = … OWNER = … SUBJECT = … TOPIC = … }

game/common/scripted_effects/gdp_republic_effects.txt, line 3659 (48 lines). Parameters: $CREATOR$, $OWNER$, $SUBJECT$, $TOPIC$.

random_gift_artifact_communal_effect is a scripted effect in Crusader Kings III, in the Silk and Silver files, written at line 3659 of its file. A call passes 4 parameters: CREATOR, OWNER, SUBJECT and TOPIC. The game's script calls it in 1 place, among them Come Bearing Gifts (event yearly_republic.1018). Its body carries 3 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

• 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 (48 lines of game script)
random_gift_artifact_communal_effect = {
	random_list = {
		40 = {
			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_bowl_effect = {
				OWNER = $OWNER$
				SMITH = $CREATOR$
			}
			hidden_effect_new_object = {
				scope:newly_created_artifact = {
					reforge_artifact = { type = curio }
				}
			}
			custom_tooltip = create_curio_artifact
		}
		30 = {
			create_library_artifact_effect = {
				OWNER = $OWNER$
				CREATOR = $CREATOR$
				SUBJECT = $SUBJECT$
				TOPIC = $TOPIC$
			}
		}
	}
}

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_communal_effect.

Events (1)

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.

Spotted a mistake on this page, or have an idea for the site?