Class in reactor_scenes.js

Scene_Shop

41 functions in 5 groups · hide internal

The Reactor One title screen.

Familiar territory. Scene_Shop 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 11

initialize() Sets up a new instance.
prepare() Prepare.
create() Create.
createGoldWindow() Creates the gold window.
createCommandWindow() Creates the command window.
createDummyWindow() Creates the dummy window.
createNumberWindow() Creates the number window.
createStatusWindow() Creates the status window.
createBuyWindow() Creates the buy window.
createCategoryWindow() Creates the category window.
createSellWindow() Creates the sell window.

Getting Information 2

maxBuy() The maximum buy.
maxSell() The maximum sell.

Actions 3

activateBuyWindow() Activate buy window.
activateSellWindow() Activate sell window.
endNumberInput() Ends the number input.

Events, Commands & Input 11

commandWindowRect() Runs the window rect command.
commandBuy() Runs the buy command.
commandSell() Runs the sell command.
onBuyOk() Called when buy ok happens.
onBuyCancel() Called when buy cancel happens.
onCategoryOk() Called when category ok happens.
onCategoryCancel() Called when category cancel happens.
onSellOk() Called when sell ok happens.
onSellCancel() Called when sell cancel happens.
onNumberOk() Called when number ok happens.
onNumberCancel() Called when number cancel happens.

Other 14

goldWindowRect() Gold window rect.
dummyWindowRect() Dummy window rect.
numberWindowRect() Number window rect.
statusWindowRect() Status window rect.
buyWindowRect() Buy window rect.
categoryWindowRect() Category window rect.
sellWindowRect() Sell window rect.
statusWidth() Status width.
doBuy() Do buy.
doSell() Do sell.
money() Money.
currencyUnit() Currency unit.
buyingPrice() Buying price.
sellingPrice() Selling price.

Setup & Creation

initialize

method source
Scene_Shop.prototype.initialize()

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

prepare

method source
Scene_Shop.prototype.prepare(goods, purchaseOnly)

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

create

method source
Scene_Shop.prototype.create()

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

createGoldWindow

method source
Scene_Shop.prototype.createGoldWindow()

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

createCommandWindow

method source
Scene_Shop.prototype.createCommandWindow()

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

createDummyWindow

method source
Scene_Shop.prototype.createDummyWindow()

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

createNumberWindow

method source
Scene_Shop.prototype.createNumberWindow()

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

createStatusWindow

method source
Scene_Shop.prototype.createStatusWindow()

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

createBuyWindow

method source
Scene_Shop.prototype.createBuyWindow()

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

createCategoryWindow

method source
Scene_Shop.prototype.createCategoryWindow()

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

createSellWindow

method source
Scene_Shop.prototype.createSellWindow()

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

Getting Information

maxBuy

method source
Scene_Shop.prototype.maxBuy()

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

maxSell

method source
Scene_Shop.prototype.maxSell()

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

Actions

activateBuyWindow

method source
Scene_Shop.prototype.activateBuyWindow()

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

activateSellWindow

method source
Scene_Shop.prototype.activateSellWindow()

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

endNumberInput

method source
Scene_Shop.prototype.endNumberInput()

Ends the number input. (Same as the RPG Maker MZ method of this name.)

Events, Commands & Input

commandWindowRect

method source
Scene_Shop.prototype.commandWindowRect()

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

commandBuy

method source
Scene_Shop.prototype.commandBuy()

Runs the buy command. (Same as the RPG Maker MZ method of this name.)

commandSell

method source
Scene_Shop.prototype.commandSell()

Runs the sell command. (Same as the RPG Maker MZ method of this name.)

onBuyOk

method source
Scene_Shop.prototype.onBuyOk()

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

onBuyCancel

method source
Scene_Shop.prototype.onBuyCancel()

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

onCategoryOk

method source
Scene_Shop.prototype.onCategoryOk()

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

onCategoryCancel

method source
Scene_Shop.prototype.onCategoryCancel()

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

onSellOk

method source
Scene_Shop.prototype.onSellOk()

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

onSellCancel

method source
Scene_Shop.prototype.onSellCancel()

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

onNumberOk

method source
Scene_Shop.prototype.onNumberOk()

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

onNumberCancel

method source
Scene_Shop.prototype.onNumberCancel()

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

Other

goldWindowRect

method source
Scene_Shop.prototype.goldWindowRect()

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

dummyWindowRect

method source
Scene_Shop.prototype.dummyWindowRect()

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

numberWindowRect

method source
Scene_Shop.prototype.numberWindowRect()

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

statusWindowRect

method source
Scene_Shop.prototype.statusWindowRect()

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

buyWindowRect

method source
Scene_Shop.prototype.buyWindowRect()

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

categoryWindowRect

method source
Scene_Shop.prototype.categoryWindowRect()

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

sellWindowRect

method source
Scene_Shop.prototype.sellWindowRect()

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

statusWidth

method source
Scene_Shop.prototype.statusWidth()

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

doBuy

method source
Scene_Shop.prototype.doBuy(number)

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

doSell

method source
Scene_Shop.prototype.doSell(number)

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

money

method source
Scene_Shop.prototype.money()

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

currencyUnit

method source
Scene_Shop.prototype.currencyUnit()

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

buyingPrice

method source
Scene_Shop.prototype.buyingPrice()

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

sellingPrice

method source
Scene_Shop.prototype.sellingPrice()

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