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

Scripted effect · The Royal Court files

create_artifact_sculpture_religious_christian_effect

create_artifact_sculpture_religious_christian_effect = { OWNER = … }

game/common/scripted_effects/01_ep1_court_artifact_creation_effects.txt, line 6863 (27 lines). Parameters: $OWNER$.

create_artifact_sculpture_religious_christian_effect is a scripted effect in Crusader Kings III, in the The Royal Court files, written at line 6863 of its file. A call passes 1 parameter: OWNER. The game's script calls it in 1 place, among them Statue of … (event debug.348). Patch 1.20.1.2, from game/common/scripted_effects/01_ep1_court_artifact_creation_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 (27 lines of game script)
create_artifact_sculpture_religious_christian_effect = {
	$OWNER$ = { save_scope_as = owner }

	get_artifact_quality_effect = yes
	get_artifact_wealth_effect = yes

	scope:owner = {
		create_artifact = {
			name = artifact_sculpture_religious_christian_name
			description = artifact_sculpture_religious_christian_description
			visuals = statue
			creator = scope:owner
			type = sculpture
			template = christian_relic_template
			modifier = artifact_monthly_piety_3_modifier
			save_scope_as = newly_created_artifact
			wealth = scope:wealth
			quality = scope:quality
		}
	}

	scope:newly_created_artifact = {
		add_scaled_artifact_modifier_piety_effect = yes
		add_scaled_artifact_modifier_devotion_effect = yes
		add_scaled_artifact_modifier_grandeur_small_effect = yes
	}
}

As written in game/common/scripted_effects/01_ep1_court_artifact_creation_effects.txt.

Where it is used

Every place in common/, events/ and history/ that calls create_artifact_sculpture_religious_christian_effect.

Events (1)

Source: game/common/scripted_effects/01_ep1_court_artifact_creation_effects.txt and every file of common/, events/ and history/ that calls it, Crusader Kings III 1.20.1.2.

Spotted a mistake on this page?