====== Artifact Item - Machine Readable Reference ====== ===== Java Classes ===== * [[https://github.com/NYRDS/remixed-dungeon/blob/master/RemixedDungeon/src/main/java/com/watabou/pixeldungeon/items/rings/Artifact.java|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 ===== * [[mr:spellbook_artifact|SpellBook (Artifact)]] - Spell container artifact * [[mr:ankh_item|Ankh (Item)]] - Resurrection artifact * [[mr:item|Item]] - Base item class ===== Content Verification ===== * Information source: Java code (Artifact.java and subclasses) * Last updated: Based on Remixed Dungeon source code analysis