Rooms - Orhu/Summer2023Project GitHub Wiki

Mechanics

General

Each floor of the dungeon is divided up into rooms. Each room has a type (boss, special, or normal) which determines what is generated within the room. The number and type of rooms that will be generated will be determined by the player's deck with the addition of one guaranteed start room and one guaranteed boss room.

Each room that contains enemies has a clear reward that appears after all enemies in the room are defeated. These rewards can be pickups like gold or healing items, and in very rare cases, booster packs or boons.

Room Types

Normal Rooms

Normal rooms are standard rooms that fill in the gaps between special rooms. Each normal room will have enemies, traps, and props. When entering a normal room, the player will be locked into the room until they have cleared it. Once they have, all unlocked doors will be opened.

Special Rooms

Special rooms can contain things like booster packs, boons, and shops. They do not lock when entered, and only very rarely (if ever) will have enemies or traps.

Treasure Rooms

Treasure rooms are rooms that contain a booster pack which have cards the player can choose to add to their deck. Treasure rooms are the main source cards throughout each run and so players will want to visit as many of these as possible to improve their decks.

Shops

Shops are special rooms where the player can spend gold they collect throughout the dungeon to buy cards, boons, and pick-up items. A maximum of one shop (either Raccoon's Shop or Crow's Gallery) will appear on each floor naturally. Some dungeon effects exist that may change this.

Cursed Rooms [CUT]

Cursed Rooms are special variants of Treasure Rooms that contain cursed packs that add a cursed card to the players deck when interacted with (players cannot choose not to take a cursed card once they open the pack like they can with normal booster packs; this makes the cursed cards you pick up more random rather than giving the player the choice of whether to take a curse card based on which one it is, changing the choice from taking a curse card based on what it is to whether or not to take a curse card at all). For every curse card in the players deck, an additional Treasure Room will appear on each floor.

Boss Rooms

Boss Rooms spawn once per floor. Boss rooms contain the floor boss and guard the entrance to the next floor of the dungeon. When the player defeats the boss, a few guaranteed pickups spawn, including a sideboard booster pack (the player can pick one of three cards), two card booster packs, and whatever drops spawn from the boss.

After the Boss Room is another room with the entrance to the next floor, blocked by the Dungeon Effect Altar where the player must select dungeon effects for the next floor before the entrance will open, and the Card Printer, a special shop where the player can pay to remove and duplicate cards from their deck in exchange for gold.

Starting Rooms

Starting Rooms are rooms that mark the entrance to the floor. They are placed in locations with the maximum amount of adjoining rooms and do not spawn enemies or items, and contain no obstacles. Otherwise, they are normal rooms.