ショップメニューの外観を一新し、多くの新しいショップオプションのフレームワークを提供するプラグイン – YEP_ShopMenuCore.js

タイトル
Revamps the shop menu appearance and provides theframework for many new shop options.
作者名
ヘルプ
============================================================================
Introduction
============================================================================

The shop menu in RPG Maker MV is the same as it was in RPG Maker VX and RPG
Maker VX Ace. It's relatively basic and provides adequate information, but
not really enough to let the player know what they're actually buying or
even selling. This plugin enables shops to show more than just the basic
information displayed in RPG Maker MV and even allows for custom commands to
be inserted into the command window.

This plugin also gives the player the option to tab between a parameter
comparison mode with the whole party displaying individual stats at a time
or individual actors displaying all stats at a time. The player can switch
between the two modes by pressing the 'tab' button on the keyboard or with
touch input on the name of the actor or parameter.

============================================================================
Instructions
============================================================================

You can add and remove commands from the Command Window by changing the
'Command Order' parameter. Here is a list of commands you may use:

Buy
- This is the buy item command.

Sell
- This is the sell item command.

Equip
- This is the equip command to directly access an actor's equipment.

Custom
- If you have any custom shop menu items, they will be displayed here.

Cancel
- This exits the shop.

============================================================================
Notetags
============================================================================

You can use the following notetag to alter various shop aspects

Item, Weapon, and Armor Notetag:

<Price: x>
This notetag allows you to exceed the default editor limit for item prices
of 999,999 gold.

<Sell Price: x>
This sets the selling price of the item to x.

<Cannot Sell>
This makes it so that the item cannot be sold.

<Can Sell>
This makes it so that the item can be sold even if it is at 0 gold.

============================================================================
Changelog
============================================================================

Version 1.03:
- Updated for RPG Maker MV version 1.1.0.

Version 1.02:
- Fixed a visual bug that listed actor stats in the wrong order.

Version 1.01a:
- Disabled LEFT/RIGHT movement from the status window while inputting an
item quantity to buy.
- Added a font reset on the number window upon refresh.
- Fixed a visual error with MP recovery displaying a 0 instead of ---.

Version 1.00:
- Finished Plugin!
パラメータ
param ---General---
default
param Command Order
desc This is the order in which the command menu will appear. Use
a space to separate the individual commands.
default Buy Sell Equip Custom Cancel

param Shop List Width
desc This allows you to adjust the formula to determine the window width
for the main shop list windows.
default Graphics.boxWidth / 2 + Graphics.boxWidth / 10

param Command Alignment
desc Text alignment used for the command windows.
left center right
default center

param ---Status Window---
default
param Default Mode
desc Display a comparison for all actors per stat or per actor?
default - All Actors actor - Individual Actors
default actor

param Stat Switching
desc Enable stat comparison switching by pressing left/right?
NO - false YES - true
default true

param Cannot Equip
desc If an actor cannot equip an item, this text is shown.
default Can't Equip

param Stat Font Size
desc The font size used for stat comparisons.
Default: 28
default 20

param Cannot Equip Font Size
desc The font size used for cannot equip text.
Default: 28
default 20

param ---Info Window---
default
param Show Icon
desc Show the icon in the info window?
NO - false YES - true
default true

param Icon Size
desc This will be the width and height of the icon to be drawn.
This is normally 4x the default Icon Width and Icon Height.
default 128

param Font Size
desc This changes the font size for description items.
Default: 28
default 20

param Recovery Format
desc This is the text format for HP/MP Recovery.
default %1 Heal

param Add State
desc This is the text for adding states.
default +State

param Add Buff
desc This is the text for adding buffs.
default +Buff

param Remove State
desc This is the text for remove states.
default -State

param Remove Buff
desc This is the text for remove buffs.
default -Buff

param Maximum Icons
desc Maximum number of icons drawn for states and buffs.
default 4

ライセンス表記
This notetag allows you to exceed the default editor limit for item prices

紹介ページ https://github.com/suppayami/yami-engine-delta/blob/master/demo/js/plugins/YEP_ShopMenuCore.js