Class: Item

RPG.Item()

new Item()

The JSON data structure of an Item. Define to $dataItems as Array.
Properties:
Name Type Description
itypeIdThe Number item type ID. 1: Regular item 2: Key item
price Number The item's price.
consumable Boolean The truth value indicating whether the item disappears when used.

Extends