Changes

Jump to navigation Jump to search
→‎Custom objects: update for build 23285 (added new buff fields)
Line 1,719: Line 1,719:  
| <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. Defaults to <samp>food</samp> or <samp>drink</samp> depending on the item's <samp>IsDrink</samp> field.
 +
|-
 +
| <samp>IsDebuff</samp>
 +
| ''(Optional)'' Whether this buff counts as a debuff, so its duration should be halved when wearing a Sturdy Ring. Default false.
 
|-
 
|-
 
| <samp>IconTexture</samp>
 
| <samp>IconTexture</samp>
Line 1,725: Line 1,728:  
| <samp>SpriteIndex</samp>
 
| <samp>SpriteIndex</samp>
 
| ''(Optional)'' The buff's icon index within the <samp>IconTexture</samp>, where 0 is the top-left icon. Default 0.
 
| ''(Optional)'' The buff's icon index within the <samp>IconTexture</samp>, where 0 is the top-left icon. Default 0.
 +
|-
 +
| <samp>GlowColor</samp>
 +
| ''(Optional)'' The glow color to apply to the player. See [[#Color fields|color format]]. Default none.
 
|-
 
|-
 
| <samp>CustomAttributes</samp>
 
| <samp>CustomAttributes</samp>
Line 1,741: Line 1,747:  
| ''(Optional)'' An amount applied to the player's [[attack]], [[defense]], [[Magnetism|magnetic radius]], maximum [[Energy|stamina]], or [[speed]] while the buff is active. This can be negative for a debuff. Default 0.
 
| ''(Optional)'' An amount applied to the player's [[attack]], [[defense]], [[Magnetism|magnetic radius]], maximum [[Energy|stamina]], or [[speed]] while the buff is active. This can be negative for a debuff. Default 0.
 
|}
 
|}
 +
|-
 +
| <samp>CustomFields</samp>
 +
| ''(Optional)'' The [[#Custom data fields|custom fields]] for this entry.
 
|}
 
|}
 
|}
 
|}
translators
8,438

edits

Navigation menu