Shop System - AlexisBliesener/Bewitched GitHub Wiki

Status:

  • Concept
  • In development
  • Playable
  • Finalized

Description

What is the mechanic or system?

Placed throughout the level at certain locations is an altar for the witch to gather power at. Upon interacting with it, it will open up our shop UI, where the player will be presented with 5 options to buy from. These items are randomly chosen based on probability.

Players will also have the chance to sell a certain number of upgrades they have already gathered up to this point. The current number is set at 2 per shop.

  • Upgrades can be sold for the same amount as their rarity would be sold for.
  • If you sell an upgrade, you must sell your entire stock of the upgrade.

The shop has a reroll system to search for different upgrades. Upgrades are not guaranteed to not show up again, and the re-roll will cost more each time you use the option.

  • First reroll costs 10
  • Each reroll costs 10 more for every time after.
Upgrade Rarity Probability of showing up Cost of Upgrade
Common 50% 50
Uncommon 30% 80
Rare 15% 130
Ultra-rare 5% 200

Souls

Each enemy will drop a random number of souls based on their threat level. These amounts will be tweaked later on for balance, but their is a general concept to them.

Threat Level Amount of Souls to drop
Low 4-6
Medium 7-9
High 10-11
Boss 20
  • Current system uses a range system for all enemies. If this stay the case, range will be from 1 to 9.

Design Intent

What purpose does it serve?

Allows the player to customize their build to some degree, but still has a random element so that a certain build can not be forced every game.


Controls & Input

How does the player interact with it?

This UI should be able to be fully moved around with on controller. Hovering over a current upgrade would give the option to sell the stack for what it would currently be worth.


System Interaction

What other mechanics or systems does this connect to?


Success Criteria

How do we know itโ€™s working?

Players are able to understand what is going on simply by looking at the UI and not have to ask questions about how it works. Players will also make interesting decisions to sell their unwanted upgrades to try and synergize with other items that they have.