作成中に気が付いたのですが
アイテム売却画面の「大事なもの」を
添付画像のように選択不可にしたいと思ったのですが
どのようにしたら良いのでしょうか?
デフォルトでもそれくらいの機能はあるだろうと思ったのですが
見当たらないのですが・・・

コード: 全て選択
(function(){
'use strict';
Scene_Shop.prototype.createCategoryWindow = function() {
this._categoryWindow = new Window_ShopItemCategory();
this._categoryWindow.setHelpWindow(this._helpWindow);
this._categoryWindow.y = this._dummyWindow.y;
this._categoryWindow.hide();
this._categoryWindow.deactivate();
this._categoryWindow.setHandler('ok', this.onCategoryOk.bind(this));
this._categoryWindow.setHandler('cancel', this.onCategoryCancel.bind(this));
this.addWindow(this._categoryWindow);
};
class Window_ShopItemCategory extends Window_ItemCategory {
makeCommandList() {
this.addCommand(TextManager.item, 'item');
this.addCommand(TextManager.weapon, 'weapon');
this.addCommand(TextManager.armor, 'armor');
this.addCommand(TextManager.keyItem, 'keyItem', false);
}
}
}());