Changes

Jump to navigation Jump to search
246 bytes added ,  23:12, 5 May 2017
→‎Food & Drink: add note about tipsy and oil of garlic buffs that may or may not be appropriate for this page...
Line 638: Line 638:     
====Food & Drink====
 
====Food & Drink====
If the value in index 6 is "food" or "drink" then the numbers in index 7 represent the buffs given when the food/drink is consumed.
+
If the value in index 6 is "food" or "drink" then the numbers in index 7 represent the buffs given when the food/drink is consumed. The value in index 8 is the duration of the buff(s).  (How duration is interpreted requires further investigation).
 
  −
The value in index 8 is the duration of the buff(s).  (How it is interpreted requires further investigation).
      
From the constructor in <tt>Buff.cs</tt>, the numbers in index 7 (separated by spaces) are:
 
From the constructor in <tt>Buff.cs</tt>, the numbers in index 7 (separated by spaces) are:
Line 686: Line 684:     
Items that have a number in the "Crafting" field display buggy information in-game (''e.g.'', Bean Hotpot).  Items that have a number in the "Attack" field display the Attack icon and a number, but no description.  It's unclear how these buffs work (if at all).
 
Items that have a number in the "Crafting" field display buggy information in-game (''e.g.'', Bean Hotpot).  Items that have a number in the "Attack" field display the Attack icon and a number, but no description.  It's unclear how these buffs work (if at all).
 +
 +
Note:  The "Tipsy" Buff (from Beer, Wine, Mead, and Pale Ale) and the "Oil of Garlic" buff (from Oil of Garlic) are handled in the game code (<tt>BuffsDisplay::tryToAddDrinkBuff()</tt>), rather than through <tt>ObjectInformation.xnb</tt>.
    
====Geodes====
 
====Geodes====
107,288

edits

Navigation menu