| 赞 | 2 |
| VIP | 50 |
| 好人卡 | 23 |
| 积分 | 1 |
| 经验 | 15845 |
| 最后登录 | 2018-11-11 |
| 在线时间 | 306 小时 |
Lv1.梦旅人
- 梦石
- 0
- 星屑
- 60
- 在线时间
- 306 小时
- 注册时间
- 2014-8-5
- 帖子
- 416
|
本帖最后由 夏末渐离 于 2016-3-4 17:22 编辑
- //在想要变成金钱的道具注释:<ItemGold:on>
- //增加1个这样的道具
- Window_ItemList.prototype.drawItemNumber = function(item, x, y, width) {
- if (this.needsNumber()) {
- this.drawText(':', x, y, width - this.textWidth('00'), 'right');
- if(item.meta.ItemGold=="on")
- this.drawText($gameParty.gold(), x, y, width, 'right');
- else
- this.drawText($gameParty.numItems(item), x, y, width, 'right');
- }
- };
复制代码 |
|