Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface ItemDefinition

Define an item to use with the inventory using this pattern:

{
   name: "Name of the item", // also used to identify it,
   description: "Short description to show in the inventory",
   image: "path to the image to be used as icon",
   static: true // if the item can't be consumed
}

Hierarchy

  • ItemDefinition

Index

Properties

description

description: string

image

image: RequestInfo

name

name: string

Optional static

static: boolean

Generated using TypeDoc