mr:artifact_item
Table of Contents
Artifact Item - Machine Readable Reference
Java Classes
- Artifact.java - Base artifact class
- Extends: Item
- Key methods:
- `activate(Char ch)` / `deactivate(Char ch)` - Equip/unequip handling
- `isUpgradable()` - Artifacts can be upgraded
- `doPickUp(Hero hero)` - Special pickup logic for artifacts
- `price()` - Base price (often higher than regular items)
- Known Subclasses:
- SpellBook - Holds a spell, stored in ScrollHolder
- Ankh - Resurrection artifact
- MasterThievesArmband - Thief artifact
- And other unique artifacts
JSON Configuration
This entity is implemented in Java, no JSON configuration exists
String Resources
Artifacts use individual string resources per artifact type.
Lua Scripts
This entity is implemented in Java, no Lua script exists for base class.
Related mr Entities
- SpellBook (Artifact) - Spell container artifact
- Ankh (Item) - Resurrection artifact
- Item - Base item class
Content Verification
- Information source: Java code (Artifact.java and subclasses)
- Last updated: Based on Remixed Dungeon source code analysis
mr/artifact_item.txt · Last modified: by 127.0.0.1
