User Tools

Site Tools


mr:candy_item

Differences

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

Link to this comparison view

Both sides previous revisionPrevious revision
mr:candy_item [2026/03/09 22:42] – Wiki maintenance: Fix link namespaces, image references, and enhance mr: page Qwen Assistantmr:candy_item [2026/03/09 22:47] (current) – external edit 127.0.0.1
Line 1: Line 1:
 +====== Candy Item - Code References ======
 +
 +===== Java Classes =====
 +  * [[https://github.com/NYRDS/remixed-dungeon/blob/master/RemixedDungeon/src/main/java/com/nyrds/pixeldungeon/items/food/Candy.java|com.nyrds.pixeldungeon.items.food.Candy]]
 +  * **Package:** com.nyrds.pixeldungeon.items.food
 +  * **Extends:** [[https://github.com/NYRDS/remixed-dungeon/blob/master/RemixedDungeon/src/main/java/com/watabou/pixeldungeon/items/food/Food.java|com.watabou.pixeldungeon.items.food.Food]]
 +  * **Image:** items/artifacts.png (frame 21)
 +  * **Price:** 20 gold per unit
 +  * **Action:** Eat (CommonActions.AC_EAT)
 +
 +===== JSON Configuration =====
 +This entity is implemented in Java, no JSON configuration exists
 +
 +===== String Resources =====
 +<code xml>
 +<string name="Candy_Name">candy</string>
 +<string name="Candy_Info">This candy looks so pretty and it smells good too. Do you really need to give it to someone else?</string>
 +<string name="Candy_Warning_1">You shouldn't have eaten that candy. You promised to give it to someone else. It doesn't seem to affected you in any way though, your hunger wont go away, it\'s just candy after all.</string>
 +<string name="Candy_Warning_2">Now you really had to much. Your tummy hurts because you ate to much candy.</string>
 +</code>
 +
 +===== Lua Scripts =====
 +This entity is implemented in Java, no Lua script exists
 +
 +===== Behavior =====
 +  * **Consumption:** When eaten, displays warning message (Candy_Warning_1)
 +  * **Hunger:** Does not satisfy hunger (unlike regular food)
 +  * **Visual Effect:** Shows FOOD spell sprite when consumed
 +  * **Sound:** Plays SND_EAT sound effect
 +  * **Time to Eat:** Uses Food.TIME_TO_EAT constant
 +
 +===== Related mr Entities =====
 +  * [[mr:scarecrow_npc|Scarecrow NPC]] - Quest giver related to candy
 +  * [[mr:pumpkin_pie_item|Pumpkin Pie (Item)]] - Similar food item
 +  * [[mr:food_item|Food Item]] - Base food category
  
mr/candy_item.txt · Last modified: by 127.0.0.1