Skip to content

Conversation

@elleonard
Copy link

@elleonard elleonard commented Oct 14, 2020

不要と思しきデッドコードを消したり、簡易版盗賊の鼻として定義されていた仕様を整理してはいかがでしょう、という提案です。

古いコードのようなので、リファクタの余地は大いにありそうでしたが、まずは不要なものを削除するところから、という判断のもと、既存のロジックには手を入れていません。

* イベントコマンドを書くのが面倒という人向け
* @type boolean
* @default false
*
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

このパラメータはワンボタンで起動することを想定した簡易版盗賊の鼻のために書かれたもののようです。

ワンボタンで起動する盗賊の鼻は長らくWIPの状態で放置されている上、以前お話した際にワンボタンコモンで実現可能であるため積極的に実装するつもりはないと仰っていたので、実際に使われているメッセージ周りの設定以外を削除しています。

* @desc キーボードの割り当てです
* キーコードは各自調べてください
* @type number
* @command showChestCountMessage
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

MV用プラグインコマンドの CountChest と同じ処理を行うMZ用コマンドです。

}
return {
countChestEmptyText:String(params.CountChestEmptyText),
inputDefine :createCommonDefine(params.CountChestinputSetting),
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

CountChestinputSetting はパラメータには存在せず、簡易版盗賊の鼻設定をONにするとプラグインごと動かなくなっていました。
ワンボタン起動用のものと判断し、削除しています。

@Sigureya
Copy link
Owner

2年前のプルリクエストですが、おいおい対応します。
その時期は忙しくて対応できていませんでした。
後回しにしていて、忘れた形です。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants