Shops for the "Princess trainer Jasmine" game

The game will have lots of shops, every shop represents a shop keeper character, basically every character in the game will have the ability to sell you something or buy from you.

Anything that has lots of use in games have a tendency to become a pain to deal with. The grinding for xp or money is inconvenience enough, I'm designing the shop interface with ease of use in mind, nobody enjoys spending five minutes of clicking, just to sell what they spent time grinding. To achieve that, the shop interface wouldn't have a buy and a sell menu or tab! buying and selling happen simultaneously in the same screen.

the basics

  • Showing shop keeper and the player character on the side gives us a nice feeling that it's a human interaction that seems to be missing in lots of other games.
  • The player, and shops inventory will be open at the same time.
  • To sell items player simply click them and they will be placed in a "to sell" list, once the player have chosen all of the items to sell, he/she can verify the list and price before pushing one button to finish the deal.
  • The same process happens for buying. select the items and push the trade button.
  • You can even buy and sell at the same time.
  • The items would be infinitely stack-able and the inventories would have no limit for how many items they can hold.
  • The shops have a markup for their prices that can change, We can use this option if you become friendly with shops and get a discount.

More controls

  • A, "sell the stack", and "sell all" button will be added to make it easy selling lots of items.
  • I might add a control to enter the number of items to sell if necessary.
  • A "Keep" list will be added for the items you want to keep, they will not be shown in your sell inventory.
  • Maybe sorting items by price, type and other specifications, it's too early to make any decisions about this one.
  • The shops don't have infinite number of items, they run out and re-stock periodically. I intend to add an algorithm to let them stock more of the items that sell better.
  • They don't have infinite money to buy either, they will tell you how much money they have if the things you want to sell them is more than what they can afford.
  • I might add haggling, it is very prevalent in the area.

The current progress

  • The unit class is added, we can add new NPC characters to the game using one line of code: default akbar = unit("Akbar", 8, 80, mup = 1.1, items = [[wood, 20], [thorns, 14], [snake_bite_remedy, 5], [bread, 3]])
  • And new items: default bread = item("Naan bread", 50, "items/bread.png")
  • The shop screen is being designed and the code is halfway done.
  • I'm staying on top of items to make sure they fit the stories geo location and time period.

Visit our patreon: https://www.patreon.com/StudioDanza