en:rpd:rotten_pasty_item
Table of Contents
Rotten Pasty
The Rotten Pasty is a spoiled food item that has gone bad after being left unused for too long in the dungeon environment.
Description
A once edible pasty that has spoiled. It has a very unpleasant smell and appearance. The hero can eat this item but will suffer consequences.
Effects
- Partial Nutrition: Provides 60 energy (half a normal meal) when consumed
- Negative Effect: Eating displays “Disgusting!� message and has a 75% chance to spawn a gas cloud on the hero's position:
- Confusion Gas (25% chance)
- Paralytic Gas (25% chance)
- Toxic Gas (25% chance)
- No effect (25% chance)
- Purification: Can be purified back into a regular Pasty using a Potion of Purity or similar means
- Throwing Risk: When thrown, has a 75% chance to be consumed by a gas burst instead of landing
Acquisition
- Deterioration: A regular Pasty transforms into a Rotten Pasty when left unused for too long (via the `molder` hook)
- Dungeon: Sometimes found in dungeon containers as part of natural spoilage
- Mimic Loot: Dropped by Mimic Pie enemies
Mechanics
- Regular pasties left in the hero's inventory for extended periods will eventually become rotten
- The transformation happens automatically over time via the `molder` hook
- Food items in general have a shelf life in the dungeon environment
- Rotten foods are identified by the `isRotten()` method returning true
Strategy
- Consume pasties before they become rotten
- Consider purification options if you don't need immediate food
- Store food in a safe location if you don't plan to use it immediately
- If forced to eat a rotten pasty, be prepared for gas effects
Content Verification
- Information source: Lua Script scripts/items/RottenPasty.lua and scripts/lib/rotten_food.lua
- Implementation details: Data-driven food kind (was RottenPasty.java), uses rotten_food library
- String resources:
See Also
- Pasty - The original unpreserved food
- Food - General information about food items
- Hunger - Mechanics of hunger in the dungeon
- Rotten Ration - Other rotten food type
- Rotten Meat - Other rotten food type
en/rpd/rotten_pasty_item.txt · Last modified: by 127.0.0.1

