Class in reactor_objects.js

Game_Item

12 public functions in 5 groups · show internal (_) functions

Everything here is tracked by Game Objects: the party, the map, its events.

Familiar territory. Game_Item keeps the RPG Maker MZ API, so existing MZ knowledge, tutorials and plugin code apply. Reactor's additions are marked with descriptions below.

Quick Reference

Setup & Creation 1

initialize() Sets up a new instance.

Getting Information 1

itemId() Item id.

Checks (True / False) 7

isSkill() Whether it is skill.
isItem() Whether it is item.
isUsableItem() Whether it is usable item.
isWeapon() Whether it is weapon.
isArmor() Whether it is armor.
isEquipItem() Whether it is equip item.
isNull() Whether it is null.

Actions 2

setObject() Sets the object.
setEquip() Sets the equip.

Other 1

object() Object.

Setup & Creation

initialize

method source
Game_Item.prototype.initialize(item)

Sets up a new instance. (Same as the RPG Maker MZ method of this name.)

Getting Information

itemId

method source
Game_Item.prototype.itemId()

Item id. (Same as the RPG Maker MZ method of this name.)

Checks (True / False)

isSkill

method source
Game_Item.prototype.isSkill()

Whether it is skill. (Same as the RPG Maker MZ method of this name.)

isItem

method source
Game_Item.prototype.isItem()

Whether it is item. (Same as the RPG Maker MZ method of this name.)

isUsableItem

method source
Game_Item.prototype.isUsableItem()

Whether it is usable item. (Same as the RPG Maker MZ method of this name.)

isWeapon

method source
Game_Item.prototype.isWeapon()

Whether it is weapon. (Same as the RPG Maker MZ method of this name.)

isArmor

method source
Game_Item.prototype.isArmor()

Whether it is armor. (Same as the RPG Maker MZ method of this name.)

isEquipItem

method source
Game_Item.prototype.isEquipItem()

Whether it is equip item. (Same as the RPG Maker MZ method of this name.)

isNull

method source
Game_Item.prototype.isNull()

Whether it is null. (Same as the RPG Maker MZ method of this name.)

Actions

setObject

method source
Game_Item.prototype.setObject(item)

Sets the object. (Same as the RPG Maker MZ method of this name.)

setEquip

method source
Game_Item.prototype.setEquip(isWeapon, itemId)

Sets the equip. (Same as the RPG Maker MZ method of this name.)

Other

object

method source
Game_Item.prototype.object()

Object. (Same as the RPG Maker MZ method of this name.)