| 赞 | 204 |
| VIP | 13 |
| 好人卡 | 7 |
| 积分 | 122 |
| 经验 | 52899 |
| 最后登录 | 2025-11-17 |
| 在线时间 | 4435 小时 |
Lv4.逐梦者
- 梦石
- 0
- 星屑
- 12161
- 在线时间
- 4435 小时
- 注册时间
- 2014-4-11
- 帖子
- 5955

|
找到 Window_ItemCategory
然后
Window_ItemCategory.prototype.maxCols = function() {
if (this._battle) {return 2;}
return 4;
};
这一段是设置一行有多少个选项。
if (this._battle) 是讲,当是战斗中的时候
return 4 是输出后面的数字
然后
Window_ItemCategory.prototype.makeCommandList = function() {
this.addCommand(TextManager.item, 'item');
this.addCommand(TextManager.weapon, 'weapon');
this.addCommand(TextManager.armor, 'armor');
this.addCommand(TextManager.keyItem, 'keyItem');
};
这一段,是讲选项都有哪些项目
不想要哪个就删哪个
this.addCommand(TextManager.item, 'item');
括号前面部分是显示的文字,后面部分是执行的代号 |
|