Skip to content

Consumables v3

Hoid2 edited this page Jan 24, 2022 · 5 revisions

Consumables

Consumables are things that can be consumed by a consume action. These are the types:

Types

These are objects and look like:

{
  "type": "",
  "requireFull": false
  ***Other Fields***
}

Type (required)

This is the type of the consumable. This is a string.

Types
  • "Xp"
  • "Item"

Require Full (defaults to false)

Whether the full amount needs to be paid at once. (true->nothing is consumed until everything can be, false->will consume as much as possible). Regardless of choice, this consumable is not marked as done until the full amount has been consumed. This is a boolean.

Clone this wiki locally