mr:dewdrop_item
Table of Contents
Dewdrop Item - Code References
Overview
The Dewdrop is a consumable item in Remixed Dungeon that restores HP or can be collected by Dew Vial.
Java Implementation
- Class: Dewdrop.java
- Package: com.watabou.pixeldungeon.items
- Extends: Item
- Sprite: ItemSpriteSheet.DEWDROP
Key Methods
- doPickUp(Char hero): Handles dewdrop collection
- If hero has DewVial and it's not full: collects dew into vial
- If hero HP < max HP: heals hero for (1 + (depth - 1) / 5) HP per dewdrop
- Plays sound: Assets.SND_DEWDROP
- burn(int cell): Returns null (dewdrop cannot burn)
- announcePickUp(): Returns false (no announcement)
Properties
- stackable: true (can stack multiple dewdrops)
- image: ItemSpriteSheet.DEWDROP
- Healing Formula: min(hero.maxHP - hero.currentHP, (1 + (depth - 1) / 5 + buff bonuses) * quantity)
String Resources
- English:
- Name:
dewdrop(Dewdrop_Name) - Description:
A crystal clear dewdrop.(Dewdrop_Info)
- Russian:
- Name:
капля росы(Dewdrop_Name) - Description:
Кристально чистая капля росы.(Dewdrop_Info)
Related Items
Code References
- Dewdrop.java - Main implementation
- DewVial.java - Related item that collects dewdrops
- ItemSpriteSheet.java - Sprite definition
- strings_all.xml - String resources
mr/dewdrop_item.txt · Last modified: by 127.0.0.1

