mr:amulet_item
Table of Contents
Amulet of Yendor - Code References
Java Classes
- Amulet.java - Main item class; removes `AC_THROW`/`AC_DROP`, adds `AC_END`, always identified, not upgradable
- AmuletScene.java - Victory scene shown on pickup; displays `AmuletScene_Txt` text and the WIN button (`AmuletScene_Exit` / `AmuletScene_Stay`)
- ItemFactory.java - Registers `Amulet.class` in the item map
JSON Configuration
This entity is implemented in Java, no JSON configuration exists
String Resources
<string name="Amulet_Name">Amulet of Yendor</string> <string name="Amulet_Info">The Amulet of Yendor is the most powerful known artifact of unknown origin. It is said that the amulet is able to fulfill any wish if its owner\'s will-power is strong enough to \"persuade\" it to do it.</string> <string name="Amulet_ACEnd">END THE GAME</string> <string name="AmuletScene_Txt">You finally hold it in your hands, the Amulet of Yendor. Using its power you can take over the world or bring peace and prosperity to people or whatever. Anyway, your life will change forever and this game will end here. Or you can stay a mere mortal a little longer.</string> <string name="AmuletScene_Exit">Let\'s call it a day</string> <string name="AmuletScene_Stay">I\'m not done yet</string>
Lua Scripts
This entity is implemented in Java, no Lua script exists
Related mr Entities
- Scroll of Magic Mapping (Item) - Other basic items in the same code area
mr/amulet_item.txt · Last modified: by 127.0.0.1
