====== Candy Of Death Item ====== {{ rpd:images:candy_of_death_artifacts.png|Candy of Death }} Candy of Death is a debug/development item in Remixed Dungeon that instantly kills the character that consumes it. ==== Description ==== Candy of Death appears as a simple candy item, but has a deadly effect when consumed. It's primarily used for debugging purposes to test death mechanics, character resurrection items (like Ankh), and death penalties. This item is not intended for normal gameplay. ==== Properties ==== * **Type**: Food item (debug) * **Price**: 20 gold per unit * **Effect**: Instantly kills the character that eats it * **Purpose**: Debug and development testing ==== Mechanics ==== * When consumed, directly applies damage equal to the character's max HP (ht()) * Bypasses all resistances and armor * Instantly kills the character regardless of current HP * May trigger death-related mechanics and items (Ankh, Lich class abilities, etc.) ==== Acquisition ==== * Not normally available in standard gameplay * Likely only accessible through developer/debug modes * May appear in special test environments or levels ==== Usage Notes ==== * **Warning**: Consuming this item will cause immediate death * Useful for testing resurrection mechanics and death penalties * Not part of the normal game progression or item drops * Should only be used in debug/development contexts ==== Technical Details ==== * **Java Class**: [[https://github.com/NYRDS/remixed-dungeon/blob/master/RemixedDungeon/src/main/java/com/nyrds/pixeldungeon/items/common/debug/CandyOfDeath.java|com.nyrds.pixeldungeon.items.common.debug.CandyOfDeath]] * **Implementation**: Extends the Food base class * **Sprite**: Uses image index 21 from artifacts.png * **Damage Formula**: ``chr.damage(chr.ht(), this)`` (damage equals character's max HP) ==== Content Verification ==== * Information source: Java Class com.nyrds.pixeldungeon.items.common.debug.CandyOfDeath * Effect verified from _execute() method in CandyOfDeath.java * Price verified as 20 * quantity from price() method ==== Related ==== * [[rpd:candy_item|Candy]] - Regular candy item used in Scarecrow quest * [[rpd:food|Food]] - Other edible items in the game * [[rpd:ankh_item|Ankh]] - Item that can prevent death * [[rpd:quest_items|Quest Items]] - Other items used for quests {{tag> rpd items food debug death}}