Changes

Jump to navigation Jump to search
→‎Dialogue changes: update for build 24025 (added dialogue.sideEffects)
Line 5,976: Line 5,976:  
</syntaxhighlight>
 
</syntaxhighlight>
 
</li>
 
</li>
 +
<li>For C# mods, added a <samp>dialogue.sideEffects</samp> field to run code when the dialogue is displayed.</li>
 
<li>The 'reveal taste' dialogue command now uses the format <samp>%revealtaste:{{t|npc name}}:{{t|item ID}}</samp> to support item IDs. (The previous <samp>%revealtaste{{t|npc name}}{{t|item index}}</samp> format still works to support old content packs, but the item index can only be a number.)</li>
 
<li>The 'reveal taste' dialogue command now uses the format <samp>%revealtaste:{{t|npc name}}:{{t|item ID}}</samp> to support item IDs. (The previous <samp>%revealtaste{{t|npc name}}{{t|item index}}</samp> format still works to support old content packs, but the item index can only be a number.)</li>
 
<li>NPCs no longer override the portrait for a gift taste dialogue that uses a portrait command explicitly.</li>
 
<li>NPCs no longer override the portrait for a gift taste dialogue that uses a portrait command explicitly.</li>
translators
8,445

edits

Navigation menu