mr:blacksmith_mob
Table of Contents
Blacksmith Mob - Code References
Java Classes
- Blacksmith.java - Main implementation
JSON Configuration
- Blacksmith.json - Sprite configuration
String Resources
<string name="Blacksmith_Gold1">I can forge a special item for you, but I need 15 dark gold coins and a pickaxe for the process</string> <string name="Blacksmith_Blood1">I can forge a special item for you, but I need a pickaxe covered with fresh blood of the cave dweller</string> <string name="Blacksmith_Txt2">Bring me a pickaxe! Forged in the depths of the dungeon!</string> <string name="Blacksmith_Txt3">These dark gold coins are of good quality. Now I can start the forging process!</string> <string name="Blacksmith_Txt4">Good blood! Fresh and warm! Now I can start forging!</string> <string name="Blacksmith_Completed">Great! The item is ready!</string> <string name="Blacksmith_GetLost">I've done my job, now leave me alone!</string> <string name="Blacksmith_Verify1">The items should be different!</string> <string name="Blacksmith_Verify2">The items should be of the same type!</string> <string name="Blacksmith_Verify3">I need to know exactly what I'm working with!</string> <string name="Blacksmith_Verify4">I don't work with cursed items!</string> <string name="Blacksmith_Verify5">This item is not suitable for reforge!</string> <string name="Blacksmith_Verify6">This item can't be upgraded!</string> <string name="Blacksmith_LooksBetter">%s looks better now!</string>
Lua Scripts
This entity is implemented in Java, no Lua script exists
Implementation Notes
- Class: Extends NPC (Non-Player Character)
- Role: Provides item reforge service
- Spawn: Appears in Caves level (depth > 11) with probability (15 - depth)
- Quest: Has a quest system requiring either dark gold coins or blood-stained pickaxe
- Functionality: Can upgrade two items of the same type to create a higher-level item, with a chance of receiving a Scroll of Upgrade
- Sprite: Uses sprite configuration defined in spritesDesc/Blacksmith.json
- Quest States: Has multiple quest states - given, completed, reforged
Entity Kind
- Entity Kind: Blacksmith
Related Files
- BlacksmithPainter.java - Room painter for Blacksmith room type
- WndBlacksmith.java - Window for the Blacksmith interaction
mr/blacksmith_mob.txt · Last modified: by 127.0.0.1
