en:rpd:shops_mechanic
Table of Contents
Shops
Shops are special rooms in the dungeon where players can purchase items, equipment, and services from NPCs. Each shop specializes in different types of items.
Types of Shops
- General Shop - Basic equipment, potions, scrolls
- Wand Shop - Wands and related items
- Armor Shop - Various types of armor
- Weapon Shop - Different weapons
- Food Shop - Food items for sustenance
Shop Mechanics
- Shops appear randomly on floors, usually in special shop rooms
- Items in shops rotate with each visit
- Prices can vary based on game state and character stats
- Ring of Haggler can reduce prices by 25% when the hero has the Haggling buff
- Gold is required for all purchases
- Shopkeepers stock different types of items based on level depth
Shop Inventory
- Weapons and armor are usually upgraded to a random level
- Potions and scrolls are typically identified
- Special items may appear on occasion
- Shops often include a mix of useful consumables and equipment upgrades
Strategy
- Early game: Focus on basic equipment upgrades
- Mid game: Prioritize useful consumables
- Late game: Look for rare or unique items that may appear
- Always keep some gold for emergency purchases
- Consider the Ring of Haggler for significant savings
Source Code References
- Shop Room Painter: ShopPainter.java
- Shopkeeper Implementation: Shopkeeper.java
- Shop Transactions: WndTradeItem.java
- Haggling Mechanic: RingOfHaggler.Haggling class
- Shop Inventory: ShopPainter.fillInventory method
See Also
- Gold - Currency used in shops
- Items - Items that can be purchased
- NPCs - The shopkeepers themselves
- Ring of Haggler - Reduces shop prices
- Shopkeeper - The shop NPC
- Last Shop Level - Final shop level before the boss
en/rpd/shops_mechanic.txt · Last modified: by 127.0.0.1
