User Tools

Site Tools


rpd:shopkeeper_npc

Differences

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

Link to this comparison view

Both sides previous revisionPrevious revision
rpd:shopkeeper_npc [2025/12/29 22:06] – Enhance shopkeeper_npc page with more code references mikerpd:shopkeeper_npc [2025/12/29 22:07] (current) – external edit 127.0.0.1
Line 1: Line 1:
 +====== Shopkeeper NPC ======
  
 +**Shopkeeper** is an NPC in Remixed Dungeon who operates shops on various dungeon levels.
 +
 +==== Role ====
 +  * Operates shops found throughout the dungeon
 +  * Buys items from the player at fair prices
 +  * Sells various useful items, equipment, and consumables
 +
 +==== Special Abilities ====
 +  * **Trading**: Buys and sells items at the shop
 +  * **Bag Disenchanting**: Can disenchant bag items for gold based on their type
 +  * **Item Identification**: Automatically identifies items in the shop for the player
 +
 +==== Interactions ====
 +  * Found in shop areas on various dungeon levels
 +  * Does not attack or provide combat assistance
 +  * Provides an essential economic system for the game
 +
 +==== Content Verification ====
 +  * Information source: Java Class [[https://github.com/NYRDS/remixed-dungeon/blob/master/RemixedDungeon/src/main/java/com/watabou/pixeldungeon/actors/mobs/npcs/Shopkeeper.java|Shopkeeper.java]]
 +  * Machine-readable data: [[mr:shopkeeper_npc|mr:shopkeeper_npc]]
 +  * Last updated: December 20, 2025
 +
 +==== Additional Code References ====
 +  * [[https://github.com/NYRDS/remixed-dungeon/blob/master/RemixedDungeon/src/main/java/com/watabou/pixeldungeon/actors/mobs/npcs/ImpShopkeeper.java|ImpShopkeeper.java]] - Variant of shopkeeper NPC
 +  * [[https://github.com/NYRDS/remixed-dungeon/blob/master/RemixedDungeon/src/main/java/com/watabou/pixeldungeon/windows/WndShopOptions.java|WndShopOptions.java]] - Shop interface window implementation
 +  * [[https://github.com/NYRDS/remixed-dungeon/blob/master/RemixedDungeon/src/main/java/com/watabou/pixeldungeon/items/bags/Bag.java|Bag.java]] - Bag handling for shop transactions
 +  * [[https://github.com/NYRDS/remixed-dungeon/blob/master/RemixedDungeon/src/main/java/com/nyrds/pixeldungeon/mechanics/Treasury.java|Treasury.java]] - Item generation mechanics for shops
 +  * [[https://github.com/NYRDS/remixed-dungeon/blob/master/RemixedDungeon/src/main/java/com/watabou/pixeldungeon/items/food/OverpricedRation.java|OverpricedRation.java]] - Special food item sold by shopkeeper
 +  * [[https://github.com/NYRDS/remixed-dungeon/blob/master/RemixedDungeon/src/main/java/com/watabou/pixeldungeon/actors/Char.java|Char.java]] - Base character class that handles interaction
 +  * [[https://github.com/NYRDS/remixed-dungeon/blob/master/RemixedDungeon/src/main/java/com/watabou/pixeldungeon/items/Item.java#L120-L122|collect method]] - How shopkeeper accepts items into inventory
 +  * String Resources: [[https://github.com/NYRDS/remixed-dungeon/blob/master/RemixedDungeon/src/main/res/values/strings_all.xml#L386-L389|Shopkeeper-related strings]]
 +
 +==== Sprite Configuration ====
 +  * [[https://github.com/NYRDS/remixed-dungeon/blob/master/RemixedDungeon/src/main/assets/spritesDesc/Shopkeeper.json|Shopkeeper.json]] - Sprite configuration for the shopkeeper
 +
 +{{tag> rpd npcs shop trading}}
rpd/shopkeeper_npc.txt · Last modified: by 127.0.0.1