Changes

Jump to navigation Jump to search
→‎Custom museum donations & rewards: update for build 22346 (remove ID)
Line 982: Line 982:     
====Format====
 
====Format====
The data asset consists of a string → model lookup, where the key matches the <samp>ID</samp> field and the value is a model with these fields:
+
The data asset consists of a string → model lookup, where...
 +
* The key is a unique identifier for the reward group. The ID should only contain alphanumeric/underscore/dot characters. For custom reward entries, this should be prefixed with your mod ID like <samp>Example.ModId_RewardName</samp>.
 +
* The value is a model with the fields listed below.
    
{| class="wikitable"
 
{| class="wikitable"
Line 988: Line 990:  
! field
 
! field
 
! effect
 
! effect
|-
  −
| <samp>ID</samp>
  −
| A key which uniquely identifies the reward group (i.e. a set of items and the reward once they're all donated). The ID should only contain alphanumeric/underscore/dot characters. For custom entries, this should be prefixed with your mod ID like <samp>Example.ModId_GroupName</samp>.
   
|-
 
|-
 
| <samp>TargetContextTags</samp>
 
| <samp>TargetContextTags</samp>
translators
8,456

edits

Navigation menu