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_pedestal_human_skull_effect

create_artifact_pedestal_human_skull_effect = { CREATOR = … DESKULLED = … OWNER = … }

game/common/scripted_effects/01_ep1_court_artifact_creation_effects.txt, line 2530 (41 lines). Parameters: $CREATOR$, $DESKULLED$, $OWNER$.

create_artifact_pedestal_human_skull_effect is a scripted effect in Crusader Kings III, in the The Royal Court files, written at line 2530 of its file. A call passes 3 parameters: CREATOR, DESKULLED and OWNER. The game's script calls it in 3 places, among them A Rival is Forever (event artifact.7000), Inspiration: Bandits on the Road (event fund_inspiration.9000) and … Skull (event debug.337). 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 (41 lines of game script)
create_artifact_pedestal_human_skull_effect = {
	$OWNER$ = { save_scope_as = owner }
	
	$CREATOR$ = { save_scope_as = creator }
	
	$DESKULLED$ = { save_scope_as = killed }

	get_artifact_quality_effect = yes
	get_artifact_wealth_effect = yes

	scope:owner = {
		create_artifact = {
			name = artifact_pedestal_human_skull_name
			creator = scope:creator
			description = artifact_pedestal_human_skull_description
			visuals = human_skull
			type = pedestal
			modifier = artifact_dread_gain_mult_1_modifier
			save_scope_as = newly_created_artifact
			wealth = scope:wealth
			quality = scope:quality
			#decaying = no
		}
	}
	scope:newly_created_artifact = {
		add_scaled_artifact_modifier_grandeur_small_effect = yes
		add_scaled_artifact_modifier_minor_prestige_effect = yes
		if = {
			limit = {
				rarity = illustrious
			}
			add_artifact_modifier = artifact_dread_baseline_add_2_modifier
		}
		else_if = {
			limit = {
				rarity = famed
			}
			add_artifact_modifier = artifact_dread_baseline_add_1_modifier
		}
	}
}

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

Events (3)

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?