Changes

→‎Item data changes: + customizable flavored item names
Line 264: Line 264:     
===[[Modding:Items|Item data]] changes===
 
===[[Modding:Items|Item data]] changes===
1.6.9 adds a new field in <samp>Data/Objects</samp>:
+
<ul>
 +
<li>1.6.9 adds a new field in <samp>Data/Objects</samp>:
 
{| class="wikitable"
 
{| class="wikitable"
 
|-
 
|-
Line 272: Line 273:  
| <samp>ColorOverlayFromNextIndex</samp>
 
| <samp>ColorOverlayFromNextIndex</samp>
 
| ''(Optional)'' When drawn as a colored object, whether to apply the color to the next sprite in the spritesheet and draw that over the main sprite. If false, the color is applied to the main sprite instead. Default false.
 
| ''(Optional)'' When drawn as a colored object, whether to apply the color to the next sprite in the spritesheet and draw that over the main sprite. If false, the color is applied to the main sprite instead. Default false.
|}
+
|}</li>
 
+
<li>And for all [[Modding:Item queries#Item spawn fields|item spawn fields]]:
And for all [[Modding:Item queries#Item spawn fields|item spawn fields]]:
   
{| class="wikitable"
 
{| class="wikitable"
 
! field
 
! field
Line 281: Line 281:  
| <samp>Color</samp>
 
| <samp>Color</samp>
 
| ''(Optional)'' The tint color to apply to the produced item. Default none.
 
| ''(Optional)'' The tint color to apply to the produced item. Default none.
|}
+
|}</li>
 +
<li>You can now customize display names per flavored item in <samp>Strings/Objects</samp>. For example, the <code>Wine_Flavored_(O)282_Name</code> translation ("Cranberry Wine") overrides <code>Wine_Flavored_Name</code> ("{0} Wine").</li>
 +
</ul>
    
===[[Modding:Machines|Machine data]] changes===
 
===[[Modding:Machines|Machine data]] changes===
manager
8,549

edits