Facebook
From Small Goose, 1 Year ago, written in Plain Text.
Embed
Download Paste or View Raw
Hits: 565
  1. # Get the character the artifact is being made for.
  2. $OWNER$ = { save_scope_as = owner }
  3. # Not really used, but if we don't set the scopes we get errors in the feature selection
  4. set_artifact_rarity_illustrious = yes
  5.  
  6. # Create the artifact
  7. create_artifact = {
  8.     name = artifact_crown_name
  9.     description = placeholder # Will be updated in the post-creation effects
  10.     type = helmet
  11.     visuals = crown
  12.     wealth = scope:wealth
  13.     quality = scope:quality
  14.     history = {
  15.         type = created_before_history
  16.     }
  17.     modifier = artifact_domain_tax_mult_4_modifier
  18.     save_scope_as = newly_created_artifact
  19.     decaying = no
  20. }
  21.  
  22. scope:newly_created_artifact = {
  23.     #Decorate it fancy                         
  24.     get_artifact_feature_references_effect = yes
  25.     set_artifact_description = artifact_crown_description
  26.  
  27.     #Income
  28.     #One from artifact creation
  29.     add_artifact_modifier = artifact_domain_tax_mult_4_modifier  
  30.    
  31.     #Build Cost
  32.     add_artifact_modifier = artifact_build_gold_cost_8_modifier      
  33.    
  34.     #Build Time (Each is 25%)
  35.     add_artifact_modifier = artifact_build_time_4_modifier  
  36.     add_artifact_modifier = artifact_build_time_4_modifier    
  37.    
  38.     set_variable = {
  39.         name = quality
  40.         value = scope:quality
  41.     }
  42.     set_variable = {
  43.         name = wealth
  44.         value = scope:wealth
  45.     }
  46.    
  47. }