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
create_artifact_book_effect = { … }hidden_effect_new_object = { … }- You gain a Book Domicile Artifact
• 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.
Decisions (2)
Character interactions (1)
- Create Domicile Artifact
Events (5)
- …: Center of Commerce
gdp_merchant_luxury_contract.1131 - …: Nexus of Knowledge
gdp_merchant_luxury_contract.1631 - …: Religious Center
gdp_merchant_luxury_contract.1521 - …: Religious Center
gdp_merchant_luxury_contract.1561 - Craft Artifact: Success
craft_artifact_scheme.1000
Scripted effects (2)
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.