Would anyone be willing to make a plugin that enables you to have different selling prices than buying prices? Even if it's a percentage thing... it needs to be less than how much you buy it for, this is pretty standard in every RPG.
Separate sell/buy prices
JS Plugin RequestsI'm currently working on Scene Shop. Maybe I could help you.
How much do you want this selling price? a half, a third? or it's a formula you want to declare by yourself?
Does this plugin affect all selling price of every kind of items? Or there will be an exception?
How much do you want this selling price? a half, a third? or it's a formula you want to declare by yourself?
Does this plugin affect all selling price of every kind of items? Or there will be an exception?
I want it to be 70% of the original price. Thanks mate 🙂
And yes. All items, weapons, armors, etc.
And yes. All items, weapons, armors, etc.
This would do it for you:
Save as .js file (any name) in your plugins folder.
Code:
Scene_Shop.prototype.sellingPrice = function() { return Math.floor(this._item.price * 0.7);};
Oh, thank you very much Shaz 🙂 that's quite simple haha.
Original thread: https://forums.rpgmakerweb.com/threads/separate-sell-buy-prices.50747/