I'm fairly sure this is a quick edit but I don't remember which file to edit, any clue? Thanks!
MZ Selling at 1/3 of the price instead of 1/2
Javascript/Plugin SupportVisuStella Items and Equip Core plugin settings has default Sell Price Rate setting.
I think you could just overwrite this part? Am on my iPhone right now so I may have noticed the below, but you can search for “sellingPrice” in your JS folder. In fact I’m kind of surprised that you ask for this…
Scene_Shop.prototype.sellingPrice = function () {
return Math.floor(this._item.price / (something));
};
Scene_Shop.prototype.sellingPrice = function () {
return Math.floor(this._item.price / (something));
};
Thanks both!
on this one,
I would say to maybe set up some sort of condition. Have the selling price be based on a switch or variable value. That way by default your shops buy at the normal "selling" price and instead you can do something like:
Scene_Shop.prototype.sellingPrice = function () {
return Math.floor(this._item.price / ($gameVariables.value(x)) * $gameVariables.value(y));
};
Would allow you some flexibility and create some special shops that possibly buy items for more than their regular value or at the very least their regular. Just make sure variable Y is at least set to 1
Just a thought.
Original thread: https://forums.rpgmakerweb.com/threads/selling-at-1-3-of-the-price-instead-of-1-2.168907/