mr:scroll_of_teleportation_item
Table of Contents
Scroll of Teleportation - Code References
Java Classes
- ScrollOfTeleportation.java - Main scroll implementation
- Scroll.java - Parent class for all scrolls
- CharUtils.java - Contains teleportRandom() method (lines 165-177)
JSON Configuration
- Treasury.json - Scroll spawn rate in treasury levels
- SpidersTreasury.json - Scroll spawn rate in spider treasury
- Scrolls.json - Item configuration
String Resources
- ScrollOfTeleportation strings (English) - Name, Info, Teleport, NoTeleport
- ScrollOfTeleportation_Teleport2, NoTeleport2 (English) - Objective-based messages
Entity Properties
- Type: Scroll (consumable item)
- Price: 40 gold when identified
- Effect: Teleports user to random location on current level
- Usage: Single use (consumed upon reading)
- Time to Read: TIME_TO_READ (inherited from Scroll base class)
- Dispels: Invisibility buff on reader
- Sound: Plays Assets.SND_READ when used
- Registration: Registered in ItemFactory and Scroll class arrays
Related mr Entities
mr/scroll_of_teleportation_item.txt · Last modified: by 127.0.0.1
