User Tools

Site Tools


en:rpd:shops

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

en:rpd:shops [2026/01/01 19:45] – namespace move Mikeen:rpd:shops [2026/01/01 19:47] (current) – external edit 127.0.0.1
Line 1: Line 1:
 +====== Shops ======
  
 +Shops are areas in the dungeon where the hero can buy and sell items in Remixed Dungeon.
 +
 +==== Description ====
 +Shops are special areas of the dungeon where the hero can trade gold for useful items or sell unwanted equipment. They provide valuable services that can be crucial for survival.
 +
 +==== Shop Types ====
 +  * **General Stores** - Sell basic items like food and potions
 +  * **Wand Shops** - Specialized in magical wands
 +  * **Armor Shops** - Sell various types of armor
 +  * **Weapon Shops** - Specialized in weapons
 +  * **Rare Shops** - Feature unique or hard-to-find items
 +
 +==== Shop Mechanics ====
 +  * **Currency**: Items are bought and sold using gold
 +  * **Inventory**: Shops stock different items depending on the dungeon level
 +  * **Limited Supply**: Some items are available in limited quantities
 +  * **Quality**: Items in deeper shops are generally better quality
 +
 +==== Common Shop Items ====
 +  * **Potions**: Healing and utility potions
 +  * **Scrolls**: Various magical scrolls
 +  * **Food**: Rations and special food items
 +  * **Equipment**: Weapons and armor
 +  * **Upgrades**: Scrolls to enhance equipment
 +
 +==== Shopkeepers ====
 +  * **Shopkeeper NPCs**: Each shop is operated by a friendly NPC
 +  * **Services**: Shopkeepers provide information and services
 +  * **Locations**: Shops appear as special rooms in dungeon levels
 +
 +==== Code References ====
 +  * Shop System: [[https://github.com/NYRDS/remixed-dungeon/blob/master/RemixedDungeon/src/main/java/com/nyrds/pixeldungeon/levels/painters/ShopPainter.java|ShopPainter.java]] - How shops are created
 +  * Shop Items: [[https://github.com/NYRDS/remixed-dungeon/blob/master/RemixedDungeon/src/main/java/com/nyrds/pixeldungeon/levels/painters/ShopPainter.java#L30-L60|Shop inventory code]] - How items are stocked
 +  * Shopkeeper: [[https://github.com/NYRDS/remixed-dungeon/blob/master/RemixedDungeon/src/main/java/com/watabou/pixeldungeon/actors/mobs/npcs/Shopkeeper.java|Shopkeeper.java]] - NPC shop operator
 +  * Item Pricing: [[https://github.com/NYRDS/remixed-dungeon/blob/master/RemixedDungeon/src/main/java/com/watabou/pixeldungeon/items/Item.java#L90-L100|Item pricing code]] - How item prices are calculated
 +  * String Resources: [[https://github.com/NYRDS/remixed-dungeon/blob/master/RemixedDungeon/src/main/res/values/strings_all.xml|strings_all.xml]] - All shop-related text
 +
 +==== See Also ====
 +  * [[en:rpd:npc|NPCs]]
 +  * [[en:rpd:items|Items]]
 +  * [[en:rpd:gold_item|Gold]]
 +  * [[en:rpd:levels|Levels]]
 +
 +{{tag> rpd mechanics shops trading }}