# Get the character the artifact is being made for.
$OWNER$ = { save_scope_as = owner }
# Not really used, but if we don't set the scopes we get errors in the feature selection
set_artifact_rarity_illustrious = yes
# Create the artifact
create_artifact = {
name = artifact_crown_name
description = placeholder # Will be updated in the post-creation effects
type = helmet
visuals = crown
wealth = scope:wealth
quality = scope:quality
history = {
type = created_before_history
}
modifier = artifact_domain_tax_mult_4_modifier
save_scope_as = newly_created_artifact
decaying = no
}
scope:newly_created_artifact = {
#Decorate it fancy
get_artifact_feature_references_effect = yes
set_artifact_description = artifact_crown_description
#Income
#One from artifact creation
add_artifact_modifier = artifact_domain_tax_mult_4_modifier
#Build Cost
add_artifact_modifier = artifact_build_gold_cost_8_modifier
#Build Time (Each is 25%)
add_artifact_modifier = artifact_build_time_4_modifier
add_artifact_modifier = artifact_build_time_4_modifier
set_variable = {
name = quality
value = scope:quality
}
set_variable = {
name = wealth
value = scope:wealth
}
}
{"html5":"htmlmixed","css":"css","javascript":"javascript","php":"php","python":"python","ruby":"ruby","lua":"text\/x-lua","bash":"text\/x-sh","go":"go","c":"text\/x-csrc","cpp":"text\/x-c++src","diff":"diff","latex":"stex","sql":"sql","xml":"xml","apl":"apl","asterisk":"asterisk","c_loadrunner":"text\/x-csrc","c_mac":"text\/x-csrc","coffeescript":"text\/x-coffeescript","csharp":"text\/x-csharp","d":"d","ecmascript":"javascript","erlang":"erlang","groovy":"text\/x-groovy","haskell":"text\/x-haskell","haxe":"text\/x-haxe","html4strict":"htmlmixed","java":"text\/x-java","java5":"text\/x-java","jquery":"javascript","mirc":"mirc","mysql":"sql","ocaml":"text\/x-ocaml","pascal":"text\/x-pascal","perl":"perl","perl6":"perl","plsql":"sql","properties":"text\/x-properties","q":"text\/x-q","scala":"scala","scheme":"text\/x-scheme","tcl":"text\/x-tcl","vb":"text\/x-vb","verilog":"text\/x-verilog","yaml":"text\/x-yaml","z80":"text\/x-z80"}