Class in reactor_windows.js

Window_ItemList

19 functions in 6 groups · hide internal

Windows draw every menu, list and status panel.

Familiar territory. Window_ItemList 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 2

initialize() Sets up a new instance.
makeItemList() Makes the item list.

Getting Information 4

maxCols() The maximum cols.
maxItems() The maximum items.
item() Item.
itemAt() Item at.

Checks (True / False) 3

isCurrentItemEnabled() Whether it is current item enabled.
needsNumber() Whether it needs number.
isEnabled() Whether it is enabled.

Actions 2

setCategory() Sets the category.
selectLast() Selects the last.

Updating & Drawing 4

drawItem() Draws the item.
drawItemNumber() Draws the item number.
updateHelp() Updates the help each frame.
refresh() Refresh.

Other 4

colSpacing() Col spacing.
includes() Includes.
rrNumberDigits() Higher Limits (System 2 > Limits) holds up to 9,999 of an item: room for four digits.
numberWidth() Number width.

Setup & Creation

initialize

method source
Window_ItemList.prototype.initialize(rect)

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

makeItemList

method source
Window_ItemList.prototype.makeItemList()

Makes the item list. (Same as the RPG Maker MZ method of this name.)

Getting Information

maxCols

method source
Window_ItemList.prototype.maxCols()

The maximum cols. (Same as the RPG Maker MZ method of this name.)

maxItems

method source
Window_ItemList.prototype.maxItems()

The maximum items. (Same as the RPG Maker MZ method of this name.)

item

method source
Window_ItemList.prototype.item()

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

itemAt

method source
Window_ItemList.prototype.itemAt(index)

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

Checks (True / False)

isCurrentItemEnabled

method source
Window_ItemList.prototype.isCurrentItemEnabled()

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

needsNumber

method source
Window_ItemList.prototype.needsNumber()

Whether it needs number. (Same as the RPG Maker MZ method of this name.)

isEnabled

method source
Window_ItemList.prototype.isEnabled(item)

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

Actions

setCategory

method source
Window_ItemList.prototype.setCategory(category)

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

selectLast

method source
Window_ItemList.prototype.selectLast()

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

Updating & Drawing

drawItem

method source
Window_ItemList.prototype.drawItem(index)

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

drawItemNumber

method source
Window_ItemList.prototype.drawItemNumber(item, x, y, width)

Draws the item number. (Same as the RPG Maker MZ method of this name.)

updateHelp

method source
Window_ItemList.prototype.updateHelp()

Updates the help each frame. (Same as the RPG Maker MZ method of this name.)

refresh

method source
Window_ItemList.prototype.refresh()

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

Other

colSpacing

method source
Window_ItemList.prototype.colSpacing()

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

includes

method source
Window_ItemList.prototype.includes(item)

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

rrNumberDigits

method source
Window_ItemList.prototype.rrNumberDigits()

Higher Limits (System 2 > Limits) holds up to 9,999 of an item: room for four digits.

numberWidth

method source
Window_ItemList.prototype.numberWidth()

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