(要YEP_ItemCore.js)プレイヤーが自分の持ち物からアイテムを破棄できるようにするプラグイン – YEP_X_ItemDiscard.js

タイトル
(Requires YEP_ItemCore.js) Allow the player to discarditems from their inventory.
作者名
ヘルプ
============================================================================
Introduction
============================================================================

This plugin requires YEP_ItemCore.
Make sure this plugin is located under YEP_ItemCore in the plugin list.

Discarding items in RPG Maker MV isn't possible default. In order to get rid
of items, players must either use them or sell them but cannot directly
discard them. This plugin uses the extra menu commands provided by the Item
Core plugin by Yanfly to add a Discard option, allowing players to select
however many items they wish to discard and do so. The player can set the
quantity values by highlighting the Discard option and pressing left/right
to adjust the discard quantity.

This is a collaboration plugin by Sylvester and Yanfly to ensure
compatibility with the Yanfly Engine Plugins library.

NOTE: This plugin does not support touch screen only games as keyboard or
controller inputs are used to access the ability to adjust discard values.

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

There are a couple of notetags you can use with the Item Discard plugin.
They exist to allow you to offset the Default Discard option in the plugin's
parameter settings.

Item, Weapon, and Armor Notetags:

<Can Discard>
- This will set the item, weapon, or armor to be discardable regardless of
the Default Discard plugin parameter.

<Cannot Discard>
- This will set the item, weapon, or armor unable to be discarded
regardless of the Default Discard plugin parameter.

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

Version 1.02:
- Updated for RPG Maker MV version 1.5.0.

Version 1.01:
- Fixed a problem with the notetags not working.

Version 1.00:
- Finished Plugin!
パラメータ
param ---General---
default
param Discard Command
parent ---General---
desc The command text used for discarding items.
%1 - Item Name %2 - Quantity %3 - Stock
default Discard %1 %2/%3

param Default Discard
parent ---General---
type boolean
on YES
off NO
desc Can all items be discarded by default?
YES - true NO - false
default true

param ---Confirm---
default
param Confirm Discard
parent ---Confirm---
type boolean
on YES
off NO
desc Do you wish to display a confirmation message?
YES - true NO - false
default true

param Confirm Message
parent ---Confirm---
desc The command text used for discard confirmation.
%1 - Item Name %2 - Quantity
default Are you sure you want to discard %1 %2?

param Confirm Yes
parent ---Confirm---
desc The text used for "Yes" when discarding.
default Yes

param Confirm No
parent ---Confirm---
desc The text used for "No" when discarding.
default No

ライセンス表記

紹介ページ http://yanfly.moe/