-
Notifications
You must be signed in to change notification settings - Fork 4
不要コードの削除 簡易版盗賊の鼻の整理 #1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Conversation
| * イベントコマンドを書くのが面倒という人向け | ||
| * @type boolean | ||
| * @default false | ||
| * |
There was a problem hiding this comment.
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 |
There was a problem hiding this comment.
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), |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
CountChestinputSetting はパラメータには存在せず、簡易版盗賊の鼻設定をONにするとプラグインごと動かなくなっていました。
ワンボタン起動用のものと判断し、削除しています。
|
2年前のプルリクエストですが、おいおい対応します。 |
不要と思しきデッドコードを消したり、簡易版盗賊の鼻として定義されていた仕様を整理してはいかがでしょう、という提案です。
古いコードのようなので、リファクタの余地は大いにありそうでしたが、まずは不要なものを削除するところから、という判断のもと、既存のロジックには手を入れていません。