Buffs
Temporary
Name | Type | Info |
---|---|---|
name | string | The unique buff name in the mod. Default: The buff's JSON file name without extension |
displayName | string | The buff's displayed name. (Tooltips, etc.) |
texture | string | The texture path for the buff's icon. Default: The buff's JSON path, without extension |
code | string | Full type name for the ModBuff -extending class to be used for this buff.Default: {internalName}.Buffs.{filename} |
tip | string | The displayed tooltip for this buff when it is hovered over. |
debuff | bool | Wether or not the player can cancel this buff by right clicking it. Default: false (can be canceled) |
vanityPet | bool | Wether or not this buff represents a vanity pet. (Baby Hornet, Baby Snowman, etc.) Default: false |
lightPet | bool | Wether or not this buff represents a light pet. (Wisp, etc.) Default: false |
enchantment | bool | Wether or not this buff is a melee enchantment. Default: false |
noTimer | bool | Wether or not this buff has a timer displayed. (It still ticks down like any other buff) Default: false |
noSave | bool | Wether or not this buff should be saved to the player. This should be true for tile-dependent buffs that act like the Campfire buff, Heart Lantern buff, etc.
Default: false |