====== Scroll Item ====== {{ rpd:images:scroll.png|Scroll Item }} ==== Description ==== Scrolls are consumable items that provide various magical effects when read. Each scroll has a unique effect and can be identified through various means. ==== Common Scrolls ==== * [[en:rpd:scroll_of_identify_item|Scroll of Identify]] - Identifies items * [[en:rpd:scroll_of_teleportation_item|Scroll of Teleportation]] - Teleports to random location * [[en:rpd:scroll_of_remove_curse_item|Scroll of Remove Curse]] - Removes curses from items * [[en:rpd:scroll_of_magic_mapping_item|Scroll of Magic Mapping]] - Maps the current level * [[en:rpd:scroll_of_recharging_item|Scroll of Recharging]] - Recharges wands and other items * [[en:rpd:scroll_of_lullaby_item|Scroll of Lullaby]] - Puts enemies to sleep * [[en:rpd:scroll_of_psionic_blast_item|Scroll of Psionic Blast]] - Damages all enemies on the level * [[en:rpd:scroll_of_mirror_image_item|Scroll of Mirror Image]] - Creates mirror images of the player * [[en:rpd:scroll_of_terror_item|Scroll of Terror]] - Frightens enemies * [[en:rpd:scroll_of_amok_item|Scroll of Amok]] - Causes enemies to attack randomly * [[en:rpd:scroll_of_enchantment_item|Scroll of Enchantment]] - Adds enchantment to weapons or glyphs to armor * [[en:rpd:scroll_of_upgrade_item|Scroll of Upgrade]] - Upgrades an item * [[en:rpd:scroll_of_weapon_upgrade_item|Scroll of Weapon Upgrade]] - Upgrades a weapon specifically * [[en:rpd:scroll_of_mind_vision_item|Scroll of Mind Vision]] - Allows seeing through walls ==== Mechanics ==== * Scrolls can be identified by reading them or through certain other items/abilities * Reading a scroll consumes it and activates its effect * Identified scrolls can be used directly for their effect * Most scrolls become "Unclassified" when the player has not seen them before * Scrolls have random titles when unidentifed ==== Identification ==== * [[en:rpd:alchemy|Alchemy]] - Can be used to identify scrolls through brewing * [[en:rpd:scroll_of_identify_item|Scroll of Identify]] - Identifies another item ==== Technical Details ==== * **Java Class:** [[https://github.com/NYRDS/remixed-dungeon/blob/master/RemixedDungeon/src/main/java/com/watabou/pixeldungeon/items/scrolls/Scroll.java|com.watabou.pixeldungeon.items.scrolls.Scroll]] * **Base Class:** Extends Item class * **Implementation:** Abstract class with specific implementations for each scroll type ==== Code References ==== * [[https://github.com/NYRDS/remixed-dungeon/blob/master/RemixedDungeon/src/main/java/com/watabou/pixeldungeon/items/scrolls/Scroll.java|Scroll.java]] - Base class for all scrolls * [[https://github.com/NYRDS/remixed-dungeon/blob/master/RemixedDungeon/src/main/java/com/watabou/pixeldungeon/items/scrolls/|scroll package]] - All scroll implementations * [[https://github.com/NYRDS/remixed-dungeon/blob/master/RemixedDungeon/src/main/java/com/watabou/pixeldungeon/items/Item.java|Item.java]] - Base item class ==== String Resource References ==== * [[https://github.com/NYRDS/remixed-dungeon/blob/master/RemixedDungeon/src/main/res/values/strings_all.xml|Scroll-related strings]] ==== See Also ==== * [[en:rpd:items|Items]] - General information about items * [[en:rpd:alchemy|Alchemy]] - Creating scrolls through brewing * [[en:rpd:potion_item|Potions]] - Similar consumable items with different effects * [[en:rpd:wands|Wands]] - Other magical items with charges {{tag> rpd items scrolls}}