User Tools

Site Tools


mr:candy_of_death_item

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
mr:candy_of_death_item [2025/12/25 18:23] – auto lint fix Mikhaelmr:candy_of_death_item [2026/01/15 04:42] (current) – external edit 127.0.0.1
Line 1: Line 1:
 +====== Candy Of Death Item - Code References ======
 +
 +{{ rpd:images:candy_of_death_item.png|Candy of Death Item }}
 +
 +===== Java Classes =====
 +  * [[https://github.com/NYRDS/remixed-dungeon/blob/master/RemixedDungeon/src/main/java/com/nyrds/pixeldungeon/items/common/debug/CandyOfDeath.java|CandyOfDeath.java]] - Main implementation
 +
 +===== JSON Configuration =====
 +This entity is implemented in Java, no JSON configuration exists
 +
 +===== String Resources =====
 +<code xml>
 +<string name="CandyOfDeath_Name">Карамелька смерти</string>
 +<string name="CandyOfDeath_Info">Когда, не мудурствуя лукаво, нужно умертвить героя здесь и сейчас.</string>
 +</code>
 +
 +===== Lua Scripts =====
 +This entity is implemented in Java, no Lua script exists
 +
 +===== Implementation Notes =====
 +  * **Class:** Extends Food
 +  * **Special Ability:** When consumed, damages the character for their full HP (chr.damage(chr.ht(), this))
 +  * **Effect:** Instantly kills the character that eats it
 +  * **Usage:** Debug/development item for testing death mechanics
 +  * **Price:** 20 gold per item
 +  * **Sprite:** Uses index 21 from "items/artifacts.png"
 +
 +===== Entity Kind =====
 +  * Entity Kind: CandyOfDeath