Dark Plasma アイテムの売却価格を変更 - DarkPlasma_CustomSellingPrice.js
シェア用テキスト:
▼Dark Plasma アイテムの売却価格を変更(DarkPlasma様作) - DarkPlasma_CustomSellingPrice.js
https://plugin.fungamemake.com/archives/23860
売却価格セットは複数指定することができ、それぞれに対して有効条件をスイッチや変数の値について決めることができます。
ふりがな:アイテムのばいきゃくかかくをへんこう
機能概要: 売却価格セットは複数指定することができ、それぞれに対して有効条件をスイッチや変数の値について決めることができます。
利用規約(ライセンス): MITライセンス
作者:DarkPlasma
作者サイト:https://elleonard.github.io/DarkPlasma-MZ-Plugins/index.html
解説ページ:https://github.com/elleonard/RPGtkoolMV-Plugins
ダウンロードページ:https://raw.githubusercontent.com/elleonard/RPGtkoolMV-…
ファイル名:DarkPlasma_CustomSellingPrice.js
プラグインのヘルプ:
/*:
* @plugindesc アイテムの売却価格を変更するプラグイン
* @author DarkPlasma
* @license MIT
*
* @param Custom Price Setting
* @desc 売却価格設定
* @text 売却価格セット
* @type struct<CustomPriceSetting>[]
* @default []
*
* @help
* アイテムの売却価格を設定できます。
*
* 売却価格セットは複数指定することができ、
* それぞれに対して有効条件をスイッチや変数の値について決めることができます。
*
* 有効条件はスイッチと変数の組を1単位とし、1単位の中ですべての条件を満たす場合に、
* その単位の有効条件が満たされたものとみなします。
*
* 有効条件を複数設定することができますが、そのいずれか1単位さえ満たされていれば
* 条件が満たされていると判定します。
*
* 同じIDのアイテムに対して複数の有効なセットで売却価格が設定されている場合、
* 売却価格セットの上のほうに定義されたものが優先されます。
*/
/*~struct~CustomPriceSetting:
*
* @param Item Prices
* @desc アイテムの売却価格設定
* @text アイテム価格
* @type struct<ItemPrice>[]
* @default []
*
* @param Weapon Prices
* @desc 武器の売却価格設定
* @text 武器価格
* @type struct<WeaponPrice>[]
* @default []
*
* @param Armor Prices
* @desc 防具の売却価格設定
* @text 防具価格
* @type struct<ArmorPrice>[]
* @default []
*
* @param Conditions
* @desc この価格設定が有効な条件リスト
* @text 有効条件
* @type struct<Condition>[]
* @default []
*/
/*~struct~ItemPrice:
*
* @param Id
* @desc アイテム
* @text アイテム
* @type item
* @default 0
*
* @param Selling Price
* @desc 基本売却価格(基本売却価格変更がONのときに有効)
* @text 基本売却価格
* @type number
* @default 0
*
* @param Change Base Selling Price
* @desc 基本売却価格を変更する(変更しない場合、基本売却価格はデータベースで設定した価格の半分)
* @text 基本売却価格変更
* @type boolean
* @default true
*
* @param Selling Price Rate
* @desc 売却価格倍率(%) 基本売却価格にこの倍率をかけたものが最終的な売却価格
* @text 売却価格倍率(%)
* @type number
* @default 100
*/
/*~struct~WeaponPrice:
*
* @param Id
* @desc 武器
* @text 武器
* @type weapon
* @default 0
*
* @param Selling Price
* @desc 基本売却価格(基本売却価格変更がONのときに有効)
* @text 基本売却価格
* @type number
* @default 0
*
* @param Change Base Selling Price
* @desc 基本売却価格を変更する
* @text 基本売却価格変更
* @type boolean
* @default true
*
* @param Selling Price Rate
* @desc 売却価格倍率(%) 基本売却価格にこの倍率をかけたものが最終的な売却価格
* @text 売却価格倍率(%)
* @type number
* @default 100
*/
/*~struct~ArmorPrice:
*
* @param Id
* @desc 防具
* @text 防具
* @type armor
* @default 0
*
* @param Selling Price
* @desc 基本売却価格(基本売却価格変更がONのときに有効)
* @text 基本売却価格
* @type number
* @default 0
*
* @param Change Base Selling Price
* @desc 基本売却価格を変更する
* @text 基本売却価格変更
* @type boolean
* @default true
*
* @param Selling Price Rate
* @desc 売却価格倍率(%) 基本売却価格にこの倍率をかけたものが最終的な売却価格
* @text 売却価格倍率(%)
* @type number
* @default 100
*/
/*~struct~Condition:
*
* @param Switch
* @desc このスイッチがONなら有効
* @text スイッチ
* @type switch
* @default 0
*
* @param Variable
* @desc この変数が指定された値の範囲にあれば有効
* @text 変数
* @type variable
* @default 0
*
* @param Variable Upper Limit
* @desc 指定変数がこの値以下であれば有効
* @text 上限値
* @type struct<VariableLimit>
* @default {"Enabled": "true", "Variable Limit": "0"}
*
* @param Variable Lower Limit
* @desc 指定変数がこの値以上であれば有効
* @text 下限値
* @type struct<VariableLimit>
* @default {"Enabled": "true", "Variable Limit": "0"}
*/
/*~struct~VariableLimit:
*
*
* @param Enabled
* @desc この限界値を有効にするかどうか
* @text 限界値有効
* @type boolean
* @default true
*
* @param Variable Limit
* @desc 指定変数の限界値
* @text 限界値
* @type number
* @default 0
*/