アイテムの入手/消失を1行ウィンドウで表示 - TinyGetInfoWndMZ.js
シェア用テキスト:
▼アイテムの入手/消失を1行ウィンドウで表示(神無月サスケ (原案:ももまる)様作) - TinyGetInfoWndMZ.js
https://plugin-mz.fungamemake.com/archives/257
アイテムや装備、所持金の増減の際に、画面に1行ウィンドウを表示することを可能にします。
ふりがな:あいてむのにゅうしゅ/しょうしつを1ぎょううぃんどうでひょうじ
機能概要: アイテムや装備、所持金の増減の際に、画面に1行ウィンドウを表示することを可能にします。
利用規約(ライセンス): MITライセンス
作者:神無月サスケ (原案:ももまる)
作者サイト:https://twitter.com/ktakaki00
解説ページ:https://twitter.com/ktakaki00/status/130010473373504307…
直接ダウンロード:Zipファイルダウンロードページ:http://moonwhistle.org/tkoolMZ/TinyGetInfoWndMZ.zip
ファイル名:TinyGetInfoWndMZ.js
備考:
※最新版はダウンロードリンクから※
RPGツクールMZ準公式プラグイン。
C:/Program Files (x86)/Steam/steamapps/common/RPG Maker MZ/dlc
C:/Program Files/KADOKAWA/RPGMZ/dlc/BasicResources
プラグインのヘルプ:
/*:ja * @target MZ * @plugindesc アイテムの入手/消失を1行ウィンドウで表示します * @author 神無月サスケ (原案:ももまる) * * @param Event Command Switch * @text イベントコマンド用スイッチID * @desc このスイッチがONの時、イベントコマンドでアイテム類や * 所持金の増減を行った時ウィンドウ表示 * @type switch * @default 10 * * @param Y position type * @text 表示Y座標タイプ * @desc 複数のウィンドウを並べる位置(0:上部 1:下部) * @type select * @option 上部 * @value 0 * @option 下部 * @value 1 * @default 0 * * @param Window Duration * @text 表示フレーム時間 * @desc ウィンドウを表示するフレーム数 * ※1秒=60フレーム (既定値:200) * @type number * @min 0 * @default 200 * * @param textGainItem * @text 入手時表示タイトル * @desc アイテムを入手した時に表示するタイトル部分のテキスト。 * %1がアイテム種別(アイテム/武器/防具/お金)に置き換わる * @type string * @default %1入手! * * @param Display Loss * @text 消失時も表示? * @desc 消失時にもウィンドウを表示するか * @type boolean * @on する * @off しない * @default true * * @param textLoseItem * @parent Display Loss * @text 消失時表示タイトル * @desc アイテムを消失した時に表示するタイトル部分のテキスト。 * %1がアイテム種別(アイテム/武器/防具/お金)に置き換わる * @type string * @default %1消失……。 * * @param Display at Battle * @text 戦闘中も表示? * @desc 戦闘中にもウィンドウを表示するか * @type boolean * @on する * @off しない * @default true * * @param wordMoney * @text 「お金」用テキスト * @desc アイテム種別の「お金」を表すテキスト * @type string * @default お金 * * @param iconMoney * @text 「お金」用アイコンID * @desc お金入手/消失時に表示するアイコンID * @type number * @min 0 * @default 313 * * @param Item SE filename * @text アイテムSEファイル名 * @desc アイテムを入手した時に演奏されるSEのファイル名。 * 注意:消失した時は演奏されません。 * @default Evasion1 * @require 1 * @dir audio/se/ * @type file * * @param Item SE volume * @text アイテムSEボリューム * @parent Item SE filename * @desc アイテムを入手した時に演奏されるSEのボリューム * @type number * @min 0 * @default 90 * * @param Item SE pitch * @text アイテムSEピッチ * @parent Item SE filename * @desc アイテムを入手した時に演奏されるSEのピッチ * @type number * @max 100000 * @min 10 * @default 100 * * @param Weapon SE filename * @text 武器SEファイル名 * @desc 武器を入手した時に演奏されるSEのファイル名です。 * 注意:消失した時は演奏されません。 * @default Equip1 * @require 1 * @dir audio/se/ * @type file * * @param Weapon SE volume * @text 武器SEボリューム * @parent Weapon SE filename * @desc 武器を入手した時に演奏されるSEのボリューム * @type number * @min 0 * @default 90 * * @param Weapon SE pitch * @text 武器SEピッチ * @parent Weapon SE filename * @desc 武器を入手した時に演奏されるSEのピッチ * @type number * @max 100000 * @min 10 * @default 100 * * @param Armor SE filename * @text 防具SEファイル名 * @desc 防具を入手した時に演奏されるSEのファイル名。 * 注意:消失した時は演奏されません。 * @default Evasion2 * @require 1 * @dir audio/se/ * @type file * * @param Armor SE volume * @text 防具SEボリューム * @parent Armor SE filename * @desc 防具を入手した時に演奏されるSEのボリューム * @type number * @min 0 * @default 90 * * @param Armor SE pitch * @text 防具SEピッチ * @parent Armor SE filename * @desc 防具を入手した時に演奏されるSEのピッチ * @type number * @max 100000 * @min 10 * @default 100 * * @param Money SE filename * @text お金SEファイル名 * @desc お金を入手した時に演奏されるSEのファイル名。 * 注意:消失した時は演奏されません。 * @default Coin * @require 1 * @dir audio/se/ * @type file * * @param Money SE volume * @text お金SEボリューム * @parent Money SE filename * @desc お金を入手した時に演奏されるSEのボリューム * @type number * @min 0 * @default 90 * * @param Money SE pitch * @text お金SEピッチ * @parent Money SE filename * @desc お金を入手した時に演奏されるSEのピッチ * @type number * @max 100000 * @min 10 * @default 100 * * @command getItem * @text アイテムや装備の増減 * @desc アイテムを増減し1行ウィンドウで表示します。 * * @arg type * @text アイテム種別 * @desc item=アイテム, weapon=武器, armor=防具 * @type select * @option アイテム * @value item * @option 武器 * @value weapon * @option 防具 * @value armor * @default item * * @arg id * @text アイテムID * @desc アイテム(または武器防具)のID * @type number * @min 1 * @default 1 * * @arg number * @text 増減値 * @desc マイナス値を指定すると減少させることが出来ます。 * @type number * @min -999999 * @default 1 * * @command getVarItem * @text アイテムや装備の増減(変数指定) * @desc アイテムを増減し1行ウィンドウで表示します。 * 増減するアイテムIDや増減値を変数で指定します。 * * @arg type * @text アイテム種別 * @desc item=アイテム, weapon=武器, armor=防具 * @type select * @option アイテム * @value item * @option 武器 * @value weapon * @option 防具 * @value armor * @default item * * @arg varIdOfItemId * @text アイテム用変数ID * @desc アイテム(または装備)のIDを格納する変数ID * @type variable * @default 1 * * @arg varIdOfNumber * @text 増減値用変数ID * @desc 増減値を格納する変数ID * @type variable * @default 2 * * @command getGold * @text お金の増減 * @desc お金を増減し1行ウィンドウで表示します。 * * @arg value * @text 増減額 * @desc マイナス値を指定すると減少させることが出来ます。 * @type number * @min -9999999999 * @default 100 * * @command getVarGold * @text お金の増減(変数指定) * @desc お金を増減し1行ウィンドウで表示します。 * 増減額を変数で指定します。 * * @arg varIdOfValue * @text 増減額用変数ID * @desc 増減額を格納する変数ID * @type variable * @default 1 * * @command duration * @text 表示時間変更 * @desc アイテム増減1行ウィンドウの表示フレーム数変更 * * @arg frames * @text フレーム数 * @desc ウィンドウを表示するフレーム数 * ※1秒=60フレーム (既定値:200) * @type number * @min 0 * @default 200 * * @command durationVar * @text 表示時間変更(変数指定) * @desc アイテム増減1行ウィンドウの表示フレーム数変更 * フレーム数は変数で指定します。 * * @arg framesVarId * @text フレーム数の変数ID * @desc フレーム数を格納する変数ID * ※1秒=60フレーム (既定値:200フレーム) * @type variable * @default 1 * * @help * このプラグインは、RPGツクールMZに対応しています。 * * このプラグインは、アイテムや装備、所持金の増減の際に、 * 画面に1行ウィンドウを表示することを可能にします。 * * ■概要 * 画面に1行ウィンドウを表示させるには、以下のいずれかを行います。 * ◆ プラグインコマンドを呼び出す: * オプションで指定したアイテムや装備、お金の増減とともに、 * ウィンドウが表示されます。 * ◆ オプションのスイッチ「イベントコマンド用スイッチID」をONにする: * このスイッチがONの間、イベントコマンドで増減を行うと、 * 同時にウィンドウが表示されるようになります。 * * ■メモの書式 * <info:the_explanation> : the_explanation の文章が、アイテムの説明として * 入手/消失時に表示されます。省略した場合は、アイテムの説明の1行目が * 表示されます。 * * ■注意 * アイテムの消失は、所持している数に関連します。 * 例えば5個消失コマンドを実行して、3個しか持っていない場合「3個消失」と * 表示されます。また、該当アイテムをひとつも持っていない場合は、 * 消失ウィンドウは表示されません。 * * ■謝辞 * このプラグインは、ももまる様のRGSS2素材の仕様をベースに作られました。 * ももまる様に謝意を示します。 * * ■ライセンス表記 * このプラグインは MIT ライセンスで配布されます。 * ご自由にお使いください。 * http://opensource.org/licenses/mit-license.php * */
