MZ用プラグイン

NUUN TMコスト表示拡張 - NUUN_TMCostShow.js

シェア用テキスト:
▼NUUN TMコスト表示拡張(NUUN様作) - NUUN_TMCostShow.js
https://plugin-mz.fungamemake.com/archives/2759
MP消費とTP消費が両方設定されたスキルのコストを無理やり両方表示します。

ふりがな:TMこすとひょうじかくちょう

機能概要: MP消費とTP消費が両方設定されたスキルのコストを無理やり両方表示します。

利用規約(ライセンス): MITライセンス

作者:NUUN

作者サイト:https://github.com/nuun888

ダウンロードページ:https://raw.githubusercontent.com/nuun888/mz/master/tom…

ファイル名:NUUN_TMCostShow.js

プラグインのヘルプ:

/*:
 * @target MZ
 * @plugindesc  コスト表示拡張
 * @author tomoaky  改変 NUUN
 * @version 1.0.0
 * 
 * @help
 * MP消費とTP消費が両方設定されたスキルのコストを無理やり両方表示します。
 * 
 * 
 * 使い方:
 * 
 *   スキル名が長い場合や、コストの桁数が多い場合にはスキル名とコストが
 *   重なって表示されてしまいます。
 *
 *   パラメータ costWidthText の文字数を変更することで
 *   スキル名の表示幅に上限を設けることができます。
 *   たとえば costWidthText が 00000 の場合、コストの表示幅として
 *   半角の 0 5文字分を確保し、スキル名の表示幅をその分だけ狭くします。
 *
 *   TMSkillCostEx を併用している場合、消費HP、経験値、お金も
 *   コスト表示されるようになります。
 * 
 *   プラグインコマンドはありません。
 * 
 * 
 *   このプラグインはMITライセンスのもとに配布しています、商用利用、
 *   改造、再配布など、自由にお使いいただけます。
 * 
 * 
 * 更新履歴
 * 2021/5/1 Ver 1.0.0
 * 初版
 * 
 * @param mpCostHeader
 * @desc 消費MPの頭につける文字列
 * @text 消費MP頭文字列
 * @type string
 * @default MP
 *
 * @param tpCostHeader
 * @desc 消費TPの頭につける文字列
 * @text 消費TP頭文字列
 * @type string
 * @default TP
 *
 * @param conjunction
 * @desc コストとコストの間につける文字列
 * @text コスト間文字列
 * @type string
 * @default /
 *
 * @param costWidthText
 * @desc コストの幅として参照する文字列
 * @text コスト幅
 * @type string
 * @default 000
 *
 * @param maxCostNum
 * @desc 同時に表示するコストの上限
 * @text 同時表示コスト上限
 * @type number
 * @default 2
 *
 * @param ---TMSkillCostEx---
 * @default 以下はTMSkillCostEx併用時に利用
 *
 * @param hpCostHeader
 * @desc 消費HPの頭につける文字列
 * @text 消費HP頭文字列
 * @default HP
 * @type string
 * @parent ---TMSkillCostEx---
 *
 * @param expCostHeader
 * @desc 消費経験値の頭につける文字列
 * @text 消費経験値頭文字列
 * @default EXP
 * @type string
 * @parent ---TMSkillCostEx---
 *
 * @param expCostFooter
 * @desc 消費経験値のお尻につける文字列
 * @text 消費経験値接尾文字列
 * @default
 * @type string
 * @parent ---TMSkillCostEx---
 *
 * @param goldCostHeader
 * @desc 消費お金の頭につける文字列
 * @text 消費お金頭文字列
 * @default
 * @type string
 * @parent ---TMSkillCostEx---
 *
 * @param goldCostFooter
 * @desc 消費お金のお尻につける文字列
 * @text 消費お金接尾文字列
 * @default G
 * @parent ---TMSkillCostEx---
 *
 * @param hpCostColor
 * @desc 消費HPの文字色番号
 * @text 消費HP文字列番号
 * @default 21
 * @type number
 * @parent ---TMSkillCostEx---
 *
 * @param expCostColor
 * @desc 消費経験値の文字色番号
 * @text 消費経験値文字列番号
 * @default 16
 * @type number
 * @parent ---TMSkillCostEx---
 *
 * @param goldCostColor
 * @desc 消費お金の文字色番号
 * @text 消費お金文字列番号
 * @default 0
 * @type number
 * @parent ---TMSkillCostEx---
 * 
 */

スポンサードリンク

スポンサードリンク

-MZ用プラグイン

Copyright© #ツクプラMZ , 2026 All Rights Reserved.