Changes

Jump to navigation Jump to search
→‎Item data changes: + lowercase flavor name tokens
Line 282: Line 282:  
| ''(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>
<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>
+
<li>In <samp>Strings/Objects</samp>:
 +
* Flavor name translations like <code>Wine_Flavored_Name</code> can use a new <samp>{1}</samp> token for the lowercase name.
 +
* You can now customize the display name for specific flavor items. For example, the <code>Wine_Flavored_(O)282_Name</code> translation ("Cranberry Wine") overrides <code>Wine_Flavored_Name</code> ("{0} Wine").</li>
 +
<li>For C# mods, the <samp>Object.displayNameFormat</samp> field can now use two new tokens: <samp>%DISPLAY_NAME_LOWERCASE</samp> and <samp>%PRESERVED_DISPLAY_NAME_LOWERCASE</samp>.
 
</ul>
 
</ul>
  
manager
8,549

edits

Navigation menu