Shops - Orhu/Summer2023Project GitHub Wiki

Overview

Shops are a class of special room that contain items the player can purchase using the gold they have collected while exploring the dungeon. There are three kinds of shops that spawn as special rooms in the dungeon and one shop which is found in the post-boss room on each floor, each of which serves a different purpose.

Only one shop may spawn per floor, effectively capping the number of shops that can spawn to 2, with one spawning in the post-boss room of each floor. However, some dungeon effects (i.e. Marketplace) allow for all three shop types to spawn on a single floor.

Shop Types

There are three kinds of shops in the game: Raccoon's Shop, Crow's Gallery, and the Card Printer.

Raccoon's Shop

Raccoon's Shop is a reliable source of stat boosts in the game. The Raccoon sells pickups like hearts, cards, and stat boosting items that raise max health, attack, movement speed, and cooldown rate. The shop sells 5 items at a time, 2 of which are always stat boosting items, 1 of which is always a full heart (and refreshes when the player buys it, allowing the player an unlimited source of hearts so long as they have gold to buy them), and the remaining 2 are a two single cards picked randomly from the pool of all unlocked cards (including rare cards).

Crow's Gallery

Crow's Gallery sells special booster packs that the player is able to keep as many cards from as they want, but also will buy various cards from the player based on the Crow's Buylist which is generated when the player enters the shop for the first time. The Crow's Buylist is consists of 3 cards, two of which are random cards, and the third a random card from the player's deck. If the player has a card in the Buylist, they can sell it for 50% of its value. The Crow will only buy cards on the Buylist.

The Foil Forge [CUT]

The Foil Forge is a shop where the player can upgrade ("foil") their cards, increasing their power in various ways. This comes at a flat cost to the player. Cards can only be foiled one time.

The Card Printer

The Card Printer is a shop found in the post-boss room of each floor. The Card Printer allows the player to both remove cards from their deck and duplicate cards already in their deck, both in exchange for some gold.