Changes

Jump to navigation Jump to search
Line 424: Line 424:     
===Custom big craftables===
 
===Custom big craftables===
You can now create/edit [[Modding:Items#Big craftables|big craftables]] by editing the new <samp>Data/BigCraftables</samp> asset, which replaces the previous slash-delimited <samp>Data/BigCraftablesInformation</samp>. Besides the format change, this also adds context tags (moved from the former <samp>Data/ObjectContextTags</samp> asset).
+
You can now create/edit [[Modding:Items#Big craftables|big craftables]] by editing the new <samp>Data/BigCraftables</samp> asset, which replaces the previous slash-delimited <samp>Data/BigCraftablesInformation</samp>.
 +
 
 +
Besides the format change, this adds...
 +
* context tags (moved from the former <samp>Data/ObjectContextTags</samp> asset);
 +
* [[#Custom data fields|custom fields]] to let framework mods support additional features.
    
This consists of a string → model lookup, where...
 
This consists of a string → model lookup, where...
Line 486: Line 490:  
"ContextTags": [ "light_source", "torch_item" ]
 
"ContextTags": [ "light_source", "torch_item" ]
 
</syntaxhighlight>
 
</syntaxhighlight>
 +
|}
 +
 +
====Advanced====
 +
{| class="wikitable"
 +
|-
 +
! field
 +
! purpose
 +
|-
 +
| <samp>CustomFields</samp>
 +
| ''(Optional)'' The [[#Custom data fields|custom fields]] for this entry.
 
|}
 
|}
  
translators
8,456

edits

Navigation menu