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: Java Class Shopkeeper.java
- Machine-readable data: mr:shopkeeper_npc
- Last updated: December 20, 2025
Additional Code References
- Shopkeeper.java - Main implementation
- ImpShopkeeper.java - Variant of shopkeeper NPC
- 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
- collect method - How shopkeeper accepts items into inventory
- String Resources: Shopkeeper-related strings
- interact method - How the shopkeeper interacts with the player
- collect method - Implementation for accepting items
Sprite Configuration
- Shopkeeper.json - Sprite configuration for the shopkeeper
en/rpd/shopkeeper_npc.txt · Last modified: by 127.0.0.1
