grungewitch

Warper
Member
Joined
Oct 29, 2021
Messages
1
Reaction score
1
First Language
english
Primarily Uses
RMMV
I want to make a realistic shopping part in my game, I want the player to go to different shelves in the store and pick things to buy. I am completely unsure of how to do this. I can explain more in detail exactly what I would like to achieve in part of my game but at this point am still unsure of how to even make this work.
 

BK-tdm

Manga Maker
Veteran
Joined
Jun 21, 2018
Messages
323
Reaction score
1,041
First Language
English
Primarily Uses
RMMV
For classic settings you could display all items in shop as events, with a confirmation to outright buy it (posed as a question from the shopkeeper) or grab it to "pay at register" the latter would include a switch/variable flipping to add a price and item to be added once the player goes to the checkout.

In the case of shelves on a more modern setting having multiple items you would need a text explanation of whats on the shelf, their price and ask the player what to grab for their shopping cart/basket then adjust switches/variables as needed adding price and "to be added to inventory items" properly organized so when player pays for them the money gets deducted and the items added properly.

Its a tad more complicated on the long run than simply adding a shopkeeper with a list of sellable goods or the display items and buy example above as you will require variable/switch management to make your own shopping system, totally doable on the base maker though.
 

ATT_Turan

Forewarner of the Black Wind
Veteran
Joined
Jul 2, 2014
Messages
2,827
Reaction score
1,651
First Language
English
Primarily Uses
RMMV
For an even more basic version than that: just put an event on each shelf in your shop. Make that event pop up its own shop processing with only the items you want to be on that shelf. Easy peasey.
 

Dev_With_Coffee

Veteran
Veteran
Joined
Jul 20, 2020
Messages
965
Reaction score
470
First Language
PT-BR
Primarily Uses
RM2k3
Hello welcome.
Will the player have to go through the cashier to pay at the end?

JRPG games in general are based on times before the industrial age, where this concept of the customer being able to touch products before purchase did not exist.
In this concept you want to remember a little GBC Zelda games:
Where the player took the desired item to the counter, but it was possible to trick the seller and rob the store, but the consequence was too bad. I just commented because it's really the only game I remember having this mechanism.

Another thing that would lose the sense of realism would be the ability to buy 99 of each item and get them all, and that number wouldn't even fit on a shelf.

Another thing would be that after the purchase you would have to wait a period of hours for the merchant to receive a new shipment of items.
 

Latest Threads

Latest Profile Posts


It's a Spanish devlog don't get scared!. (please)
Q:"Why don't you get a job?"
A: Posting statuses IS my job. It just so happens to not pay and happen periodically over the course of three months.
My new 49" monitor has been dispatched from the warehouse. Will it arrive tomorrow? The day after? I love that we can track packages now, even if it does only tell me when it's left that end and when it's arrived at the local centre. As long as it doesn't end up in Melbourne again, which has happened before ...
My friend's doing a surprise stream of my game Origin Hunt on Twitch here ! Feel free to stop by :yhappy:

Forum statistics

Threads
117,235
Messages
1,105,744
Members
153,393
Latest member
beregond2
Top