Class in reactor_scenes.js

Scene_ItemBase

20 functions in 6 groups · hide internal

The Reactor One title screen.

Familiar territory. Scene_ItemBase 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 3

initialize() Sets up a new instance.
create() Create.
createActorWindow() Creates the actor window.

Getting Information 2

item() Item.
itemTargetActors() Item target actors.

Checks (True / False) 4

isCursorLeft() Whether it is cursor left.
isActorWindowActive() Whether it is actor window active.
canUse() Whether it can use.
isItemEffectsValid() Whether it is item effects valid.

Actions 5

showActorWindow() Shows the actor window.
hideActorWindow() Hides the actor window.
useItem() Use item.
activateItemWindow() Activate item window.
applyItem() Applies the item.

Events, Commands & Input 2

onActorOk() Called when actor ok happens.
onActorCancel() Called when actor cancel happens.

Other 4

actorWindowRect() Actor window rect.
user() User.
determineItem() Determine item.
checkCommonEvent() Check common event.

Setup & Creation

initialize

method source
Scene_ItemBase.prototype.initialize()

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

create

method source
Scene_ItemBase.prototype.create()

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

createActorWindow

method source
Scene_ItemBase.prototype.createActorWindow()

Creates the actor window. (Same as the RPG Maker MZ method of this name.)

Getting Information

item

method source
Scene_ItemBase.prototype.item()

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

itemTargetActors

method source
Scene_ItemBase.prototype.itemTargetActors()

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

Checks (True / False)

isCursorLeft

method source
Scene_ItemBase.prototype.isCursorLeft()

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

isActorWindowActive

method source
Scene_ItemBase.prototype.isActorWindowActive()

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

canUse

method source
Scene_ItemBase.prototype.canUse()

Whether it can use. (Same as the RPG Maker MZ method of this name.)

isItemEffectsValid

method source
Scene_ItemBase.prototype.isItemEffectsValid()

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

Actions

showActorWindow

method source
Scene_ItemBase.prototype.showActorWindow()

Shows the actor window. (Same as the RPG Maker MZ method of this name.)

hideActorWindow

method source
Scene_ItemBase.prototype.hideActorWindow()

Hides the actor window. (Same as the RPG Maker MZ method of this name.)

useItem

method source
Scene_ItemBase.prototype.useItem()

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

activateItemWindow

method source
Scene_ItemBase.prototype.activateItemWindow()

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

applyItem

method source
Scene_ItemBase.prototype.applyItem()

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

Events, Commands & Input

onActorOk

method source
Scene_ItemBase.prototype.onActorOk()

Called when actor ok happens. (Same as the RPG Maker MZ method of this name.)

onActorCancel

method source
Scene_ItemBase.prototype.onActorCancel()

Called when actor cancel happens. (Same as the RPG Maker MZ method of this name.)

Other

actorWindowRect

method source
Scene_ItemBase.prototype.actorWindowRect()

Actor window rect. (Same as the RPG Maker MZ method of this name.)

user

method source
Scene_ItemBase.prototype.user()

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

determineItem

method source
Scene_ItemBase.prototype.determineItem()

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

checkCommonEvent

method source
Scene_ItemBase.prototype.checkCommonEvent()

Check common event. (Same as the RPG Maker MZ method of this name.)