====== Potion ====== Potion is the base class for all potion items in Remixed Dungeon. ==== Description ==== Potions are consumable items that provide various beneficial or harmful effects when consumed. Some potions can only be consumed, while others can be thrown at enemies or terrain to create area effects. ==== Base Properties ==== * **Stackable**: Yes - potions can be stacked up to 6 items per slot * **Type**: Consumable item with various effects * **Storage**: Can be stored in Potion Belt if available * **Identification**: Most potions start unidentified and must be used to become known ==== Potion Types ==== * **Beneficial Potions** - Provide positive effects like healing or stat boosts * **Harmful Potions** - Create negative effects that can be useful against enemies * **Utility Potions** - Provide special environmental or situational effects ==== Common Mechanics ==== * **Identifying**: Potions become identified after being used (consumed or thrown) * **Throwing**: Most potions can be thrown to create area effects * **Alchemy**: Some potions can be used in alchemy recipes * **Brewing**: Potions can be combined with seeds to create new items ==== Code References ==== * Java Base Class: [[https://github.com/NYRDS/remixed-dungeon/blob/master/RemixedDungeon/src/main/java/com/watabou/pixeldungeon/items/potions/Potion.java|Potion.java]] - Base implementation * Upgradable Base: [[https://github.com/NYRDS/remixed-dungeon/blob/master/RemixedDungeon/src/main/java/com/watabou/pixeldungeon/items/potions/UpgradablePotion.java|UpgradablePotion.java]] - Base for upgradable potions * Item System: [[https://github.com/NYRDS/remixed-dungeon/blob/master/RemixedDungeon/src/main/java/com/watabou/pixeldungeon/items/Item.java|Item.java]] - General item mechanics * Blob Effects: [[https://github.com/NYRDS/remixed-dungeon/blob/master/RemixedDungeon/src/main/java/com/watabou/pixeldungeon/actors/blobs/Blob.java|Blob.java]] - Environmental effects from thrown potions * Sprite System: [[https://github.com/NYRDS/remixed-dungeon/blob/master/RemixedDungeon/src/main/java/com/watabou/pixeldungeon/sprites/ItemSpriteSheet.java|ItemSpriteSheet.java]] - Potion sprites * String Resources: [[https://github.com/NYRDS/remixed-dungeon/blob/master/RemixedDungeon/src/main/res/values/strings_all.xml|strings_all.xml]] - All potion names and descriptions ==== Common Potions ==== * [[en:rpd:potion_of_healing_item|Potion of Healing]] * [[en:rpd:potion_of_experience_item|Potion of Experience]] * [[en:rpd:potion_of_liquid_flame_item|Potion of Liquid Flame]] * [[en:rpd:potion_of_paralytic_gas_item|Potion of Paralytic Gas]] * [[en:rpd:potion_of_frost_item|Potion of Frost]] * [[en:rpd:potion_of_mind_vision_item|Potion of Mind Vision]] * [[en:rpd:potion_of_purity_item|Potion of Purity]] * [[en:rpd:potion_of_strength_item|Potion of Strength]] * [[en:rpd:potion_of_invisibility_item|Potion of Invisibility]] ==== See Also ==== * [[en:rpd:items|Items]] * [[en:rpd:consumables|Consumables]] * [[en:rpd:alchemy_mechanic|Alchemy]] * [[en:rpd:scrolls|Scrolls]] * [[en:rpd:wands|Wands]] {{tag> rpd items potions base_class }}