Changes

Jump to navigation Jump to search
→‎Edibility: update for 1.6 build 24044 (food buffs can now last all day), mention buff ID can match any in Data/Buffs
Line 1,800: Line 1,800:  
|-
 
|-
 
| <samp>Duration</samp>
 
| <samp>Duration</samp>
| The buff duration measured in in-game minutes.
+
| The buff duration measured in in-game minutes. This can be set to value <samp>-2</samp> for a buff that should last for the rest of the day.
 
|-
 
|-
 
| <samp>BuffId</samp>
 
| <samp>BuffId</samp>
| ''(Optional)'' The buff ID to apply. Defaults to <samp>food</samp> or <samp>drink</samp> depending on the item's <samp>IsDrink</samp> field.
+
| ''(Optional)'' The buff ID to apply. If this matches an entry in [[#Custom buffs|<samp>Data/Buffs</samp>]], its data fields will be applied unless overridden by one of the other fields. Defaults to <samp>food</samp> or <samp>drink</samp> depending on the item's <samp>IsDrink</samp> field.
 
|-
 
|-
 
| <samp>IsDebuff</samp>
 
| <samp>IsDebuff</samp>
translators
8,445

edits

Navigation menu