User Tools

Site Tools


en:rpd:pumpkin_pie_item

Differences

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

Link to this comparison view

Both sides previous revisionPrevious revision
en:rpd:pumpkin_pie_item [2026/01/04 07:15] – Update pumpkin_pie_item.txt with detailed code references and mechanics mikeen:rpd:pumpkin_pie_item [2026/01/04 07:22] (current) – external edit 127.0.0.1
Line 1: Line 1:
 +====== Pumpkin Pie ======
  
 +{{ rpd:images:pumpkin_pie_item.png|Pumpkin Pie }}
 +
 +==== Description ====
 +A delicious pumpkin pie, perfect for special occasions. This [[en:rpd:food_item|food item]] is a seasonal treat that restores your hunger completely.
 +
 +==== Stats ====
 +  * **Nutrition Value**: Restores complete hunger (Hunger.STARVING amount = 395 units)
 +  * **Energy**: Hunger.STARVING (completely satiates hunger to maximum level)
 +  * **Price**: 30 gold per pie (30 * quantity())
 +  * **Image**: Index 9 in food.png sprite sheet
 +  * **Sprite File**: items/food.png (defined in imageFile variable)
 +  * **Type**: Food item (inherits from Food class)
 +
 +==== Mechanics ====
 +  * **Satiates Hunger**: Completely restores the hunger bar when consumed (equivalent to Hunger.STARVING units)
 +  * **Spoilage**: Can spoil and turn into Rotten Pumpkin Pie over time (standard food spoilage mechanics)
 +  * **Transformation**: When poisoned, transforms into Rotten Pumpkin Pie using poison() method
 +  * **Pricing**: Price is calculated as 30 * quantity() in the price() method
 +
 +==== Code References ====
 +  * **Java Class:** [[https://github.com/NYRDS/remixed-dungeon/blob/master/RemixedDungeon/src/main/java/com/nyrds/pixeldungeon/items/food/PumpkinPie.java|PumpkinPie.java]]
 +  * **Constructor Implementation:** [[https://github.com/NYRDS/remixed-dungeon/blob/master/RemixedDungeon/src/main/java/com/nyrds/pixeldungeon/items/food/PumpkinPie.java#L7-L11|PumpkinPie.java#L7-L11]] - Sets image, energy, and sprite properties
 +  * **Base Class:** [[https://github.com/NYRDS/remixed-dungeon/blob/master/RemixedDungeon/src/main/java/com/watabou/pixeldungeon/items/food/Food.java|Food.java]] - General food mechanics
 +  * **Hunger Mechanics:** [[https://github.com/NYRDS/remixed-dungeon/blob/master/RemixedDungeon/src/main/java/com/watabou/pixeldungeon/actors/buffs/Hunger.java|Hunger.java]] - Hunger system implementation
 +  * **Spoilage Handling:** Uses Food class poison() method to transform to RottenPumpkinPie
 +  * **Price Calculation:** [[https://github.com/NYRDS/remixed-dungeon/blob/master/RemixedDungeon/src/main/java/com/nyrds/pixeldungeon/items/food/PumpkinPie.java#L13-L15|PumpkinPie.java#L13-L15]] - Price method implementation
 +
 +==== String Resources ====
 +  * [[https://github.com/NYRDS/remixed-dungeon/blob/master/RemixedDungeon/src/main/res/values/strings_all.xml#L1427|PumpkinPie_Name]] - "Pumpkin pie"
 +  * [[https://github.com/NYRDS/remixed-dungeon/blob/master/RemixedDungeon/src/main/res/values/strings_all.xml#L1428|PumpkinPie_Info]] - "Delicious pumpkin pie, mmm, just like mom used to make."
 +  * [[https://github.com/NYRDS/remixed-dungeon/blob/master/RemixedDungeon/src/main/res/values/strings_all.xml#L1429|PumpkinPie_Info]] - "Rotten pumpkin pie"
 +  * [[https://github.com/NYRDS/remixed-dungeon/blob/master/RemixedDungeon/src/main/res/values/strings_all.xml#L1430|PumpkinPie_Info]] - "Even with mom's love, this is no good to eat."
 +
 +==== Strategy ====
 +  * Useful for completely restoring hunger when at low levels
 +  * More expensive than regular food but provides full satiation
 +  * Better to consume before it spoils
 +  * Good for emergency situations when you need to fully satisfy hunger quickly
 +
 +==== Related Items ====
 +  * [[en:rpd:rotten_pumpkin_pie_item|Rotten Pumpkin Pie]] - What it becomes when spoiled
 +  * [[en:rpd:ration_item|Ration]] - Standard food item
 +  * [[en:rpd:overpriced_ration_item|Overpriced Ration]] - Another expensive food option
 +  * [[en:rpd:food_item|Food]] - Parent class and general information about food items
 +
 +{{tag> rpd items food }}
en/rpd/pumpkin_pie_item.txt · Last modified: by 127.0.0.1