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

Scripted effect

create_artifact_easteregg_henry_longsword_effect

create_artifact_easteregg_henry_longsword_effect = { ARTIFACT_NAME = … CREATOR = … }

game/common/scripted_effects/easteregg_historical_artifact_creation_effects.txt, line 1 (25 lines). Parameters: $ARTIFACT_NAME$, $CREATOR$.

create_artifact_easteregg_henry_longsword_effect is a scripted effect in Crusader Kings III, written at line 1 of its file. A call passes 2 parameters: ARTIFACT_NAME and CREATOR. The game's script calls it in 2 places, among them easteregg_henry_kobyla (history) and easteregg_henry_kobyla_late (history). Patch 1.20.1.2, from game/common/scripted_effects/easteregg_historical_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 (25 lines of game script)
create_artifact_easteregg_henry_longsword_effect = {
	save_scope_as = owner
	set_artifact_rarity_illustrious = yes

	create_artifact = {
		name = $ARTIFACT_NAME$
		description = artifact_radzig_kobyla_longsword_description
		template = general_unique_template
		creator = $CREATOR$
		type = sword
		visuals = easteregg_radzig_sword
		wealth = scope:wealth
		quality = scope:quality
		modifier = easteregg_henry_longsword_modifier
		history = {
			type = created_before_history
		}
		save_scope_as = newly_created_artifact
		decaying = no
	}

	scope:newly_created_artifact = {
		set_variable = { name = historical_unique_artifact value = yes }
	}
}

As written in game/common/scripted_effects/easteregg_historical_artifact_creation_effects.txt.

Where it is used

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

History files (the start of the game) (2)

  • easteregg_henry_kobyla (characters)
  • easteregg_henry_kobyla_late (characters)

Source: game/common/scripted_effects/easteregg_historical_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?