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_agitation_effect

random_gift_artifact_agitation_effect = { CREATOR = … OWNER = … }

game/common/scripted_effects/gdp_republic_effects.txt, line 3761 (41 lines). Parameters: $CREATOR$, $OWNER$.

random_gift_artifact_agitation_effect is a scripted effect in Crusader Kings III, in the Silk and Silver files, written at line 3761 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 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 (41 lines of game script)
random_gift_artifact_agitation_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_armor_effect = {
				OWNER = $OWNER$
				CREATOR = $CREATOR$
				SET_ARMOR_TYPE = flag:armor_type_scale
			}
			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_agitation_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?