en:rpd:shopkeeper_npc
Table of Contents
Shopkeeper NPC
Role
- Operates shops found throughout the dungeon
- Buys items from the player at fair prices
- Sells various useful items, equipment, and consumables
Special Abilities
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: JSON Configuration Shopkeeper.json and Lua Script Shopkeeper.lua
- Machine-readable data: mr:shopkeeper_npc
- Last updated: December 20, 2025
Additional Code References
- Shopkeeper.json - NPC configuration (HT=1, friendly, neutral)
- Shopkeeper.lua - NPC behavior (trading, stock management, bag disenchanting)
- TownShopkeeper.json - Town variant configuration
- ImpShopkeeper.json - Imp variant configuration
- WndShopOptions.java - Shop interface window implementation
- Bag.java - Bag handling for shop transactions
- Treasury.java - Item generation mechanics for shops
- OverpricedRation.java - Special food item sold by shopkeeper
- Char.java - Base character class that handles interaction
- String Resources: Shopkeeper-related strings
- MobFactory.java - Entity kind registration (Shopkeeper, TownShopkeeper, ImpShopkeeper)
Sprite Configuration
- Shopkeeper.json - Sprite configuration for the shopkeeper
en/rpd/shopkeeper_npc.txt · Last modified: by 127.0.0.1

