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

create_library_artifact_effect

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

game/common/scripted_effects/gdp_domicile_artifact_creation_scripted_effects.txt, line 15 (15 lines). Parameters: $CREATOR$, $OWNER$, $SUBJECT$, $TOPIC$.

create_library_artifact_effect is a scripted effect in Crusader Kings III, in the Silk and Silver files, written at line 15 of its file. A call passes 4 parameters: CREATOR, OWNER, SUBJECT and TOPIC. The game's script calls it in 10 places, among them Solicit Patronage (decision), Spending Spree (decision) and …: Center of Commerce (event gdp_merchant_luxury_contract.1131). Its body carries 1 text of the game's own for the player. Patch 1.21.0, from game/common/scripted_effects/gdp_domicile_artifact_creation_scripted_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 (15 lines of game script)
create_library_artifact_effect = {
	create_artifact_book_effect = {
		OWNER = $OWNER$
		CREATOR = $CREATOR$
		SET_SUBJECT = $SUBJECT$
		SET_TOPIC = $TOPIC$
	}
	hidden_effect_new_object = {
		scope:newly_created_artifact ?= {
			reforge_artifact = { type = library_item }
			domicile_library_artifact_modifiers_effect = yes
		}
	}
	custom_tooltip = create_library_artifact
}

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

Where it is used

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

Character interactions (1)

  • Create Domicile Artifact

Events (5)

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