How to make a shop that refreshes items and store all items bought?

Hi!

Recently I’ve been working on my game using the Low Poly Shooter Pack from Infima Games, and I was wondering how I would go about making a shop that has a random rotation for weapons. Say every 20 minutes the shop refreshes with new items. And after buying those items in the shop, is there a way I can store all acquired weapons, like an inventory system similar to Destiny or Warhammer 40k Darktide? Any help would be appreciated!

Thank you!

Hey @SplitReaLityZ!

You’ll want to start with an inventory system, because without the inventory a shop wouldn’t matter, so first things first!

This is something you’ll likely have to put together yourself, however there is TONS of stuff like this in the learning area of this site!

Here’s a link to an inventory tutorial- start there, and then a shop will be a snap! As far as the rotation, you can get random items from an array and populate the shop with that, on a 20 minute timer. But that comes last.

Hope this helps! :slight_smile: