| 
 
| 赞 | 31 |  
| VIP | 0 |  
| 好人卡 | 0 |  
| 积分 | 46 |  
| 经验 | 0 |  
| 最后登录 | 2025-10-23 |  
| 在线时间 | 564 小时 |  
 Lv3.寻梦者 
	梦石0 星屑4564 在线时间564 小时注册时间2018-11-12帖子131 | 
| 随手写的,把下面代码复制粘贴到任意插件 最下面,可实现你的截图想法。希望对你有帮助。 
 var _window_ShopSell_drawItem = Window_ItemList.prototype.drawItem;
 Window_ShopSell.prototype.drawItem = function(index) {
 _window_ShopSell_drawItem.call(this,index);
 var item = this._data[index];
 if (item) {
 var numberWidth = this.numberWidth();
 var rect = this.itemRect(index);
 rect.width -= this.textPadding();
 this.changePaintOpacity(this.isEnabled(item));
 var dw = TextManager.currencyUnit;
 var sj = Math.floor(item.price / 2);
 var cd = this.textWidth($gameParty.maxItems(item))+20;
 this.resetTextColor();
 this.drawText(sj, rect.x - cd - this.textWidth(dw), rect.y, rect.width,'right');//
 this.changeTextColor(this.systemColor());
 this.drawText(dw, rect.x - cd, rect.y, rect.width,'right');
 this.resetTextColor();
 this.changePaintOpacity(1);
 };
 };
 | 
 |