Changes

Jump to navigation Jump to search
305 bytes added ,  16:00, 21 June 2017
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.  The value in index 8 is the duration of the buff(s). (How duration is interpreted requires further investigation).
+
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).  
 +
 
 +
'''Buff Duration Number Calculation:'''
 +
Where X is equal to how many minutes you want the buff to last, and Y is the value in index 8.
 +
 
 +
(X minutes * 60)/.7 = Y
 +
 
 +
'''Health/Energy/Edibility:'''
 +
The 'Edibility' number determines how much health, and energy is restored.
 +
 
 +
For X being the value in index 2(Edibility):
 +
 
 +
Health Restored = X
 +
 
 +
Stamina Resotred = X * 2.5
 +
 
 +
 
 +
 
 +
 
    
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:

Navigation menu