Shop prices problem.

Like in the title. I'm working on farming game where protagonist can plant a seeds and then harvest and sell crops, but there's a problem. The game don't want to save the selling price. So in the game the seeds price is 2 golds. I set the crops price 5 gold so the player can make profits, however when I change the price, the shop processing event change only buying price, when I try to sell the crops it pays me the price of the seeds so this part of the game became useless.

Maybe there's some setting in the items menu?
Screenshot 2024-10-06 191803.png
Screenshot 2024-10-06 191835.png
As far as I know, RPG Maker is hard coded so the selling price will always be half the buying price. You'll need a plugin to set customized selling prices for your items.
As far as I know, RPG Maker is hard coded so the selling price will always be half the buying price. You'll need a plugin to set customized selling prices for your items.
But it's working just fine with other items. Like you can gather some wood and catch a fish in the game and the prices I set are working nice.
That's not a bug. You are only setting the buying price in the engine, not the selling price. By default the selling price is 50% of the buying price, rounded down. 50% of 5 is 2.5, rounds to 2 so you will get 2 when you sell it if you set it to 5 as you did in the picture.

What you need to do is rethink it some. Instead of thinking of selling prices, what you need to set in the database is the purchase price, which is double what you want to sell it at. So if you want to sell it for 5 G you set it for 10 G in the database.

Edit: Also make sure you didn't check the box to set a custom price when you put the item in the store. You can do that too.
That's not a bug. You are only setting the buying price in the engine, not the selling price. By default the selling price is 50% of the buying price, rounded down. 50% of 5 is 2.5, rounds to 2 so you will get 2 when you sell it if you set it to 5 as you did in the picture.

What you need to do is rethink it some. Instead of thinking of selling prices, what you need to set in the database is the purchase price, which is double what you want to sell it at. So if you want to sell it for 5 G you set it for 10 G in the database.
Ohh...Okay I will try it out.

That's not a bug. You are only setting the buying price in the engine, not the selling price. By default the selling price is 50% of the buying price, rounded down. 50% of 5 is 2.5, rounds to 2 so you will get 2 when you sell it if you set it to 5 as you did in the picture.

What you need to do is rethink it some. Instead of thinking of selling prices, what you need to set in the database is the purchase price, which is double what you want to sell it at. So if you want to sell it for 5 G you set it for 10 G in the database.

Edit: Also make sure you didn't check the box to set a custom price when you put the item in the store. You can do that too.
That works. Thank you!
Alternatively, there is the Items and Equips Core plugin by VisuStella, which also allows you to set selling prices.

Original thread: https://forums.rpgmakerweb.com/threads/shop-prices-problem.172410/