====== Consumables Mechanic ====== **Consumables** are items that are destroyed after being used once. They provide various effects that can be crucial for survival in Remixed Dungeon. ==== Categories ==== * **Potions**: Liquid items consumed for various effects * [[rpd:potion_of_healing_item|Potion of Healing]] - Restores health * [[rpd:potion_of_strength_item|Potion of Strength]] - Increases strength permanently * [[rpd:potion_of_invisibility_item|Potion of Invisibility]] - Makes the hero temporarily invisible * [[rpd:potion_of_might_item|Potion of Might]] - Increases strength and health permanently * [[rpd:potion_of_experience_item|Potion of Experience]] - Provides experience points * **Scrolls**: Magical parchments with one-time effects * [[rpd:scroll_of_identify_item|Scroll of Identify]] - Identifies items * [[rpd:scroll_of_teleportation_item|Scroll of Teleportation]] - Teleports to a random location * [[rpd:scroll_of_magic_mapping_item|Scroll of Magic Mapping]] - Reveals the level layout * [[rpd:scroll_of_upgrade_item|Scroll of Upgrade]] - Improves an item * [[rpd:scroll_of_recharging_item|Scroll of Recharging]] - Recharges wands and artifacts * **Food**: Items that satisfy hunger * [[rpd:ration_item|Food Ration]] - Standard food that satisfies hunger * [[rpd:overpriced_ration_item|Overpriced Ration]] - Expensive but more filling than standard ration * [[rpd:pasty_item|Pasty]] - Special food that also provides fullness and healing * **Bombs**: Explosive items with various effects * [[rpd:regrowth_bomb_item|Regrowth Bomb]] - Grows grass and plants in an area * [[rpd:shockwave_bomb_item|Shockwave Bomb]] - Pushes enemies away from the blast * [[rpd:disintegration_bomb_item|Disintegration Bomb]] - Damages enemies and destroys walls * **Seeds**: Plantable items that grow into useful plants * [[rpd:firebloom_seed|Firebloom Seeds]] - Grow into fireblooms that ignite adjacent cells * [[rpd:icecap_seed|Icecap Seeds]] - Grow into icecaps that freeze adjacent cells * [[rpd:sungrass_seed|Sungrass Seeds]] - Grow into sungrass that heals standing characters ==== Usage ==== * **Inventory**: Consumables are stored in the main inventory * **Quick Use**: Can be assigned to quickslots for rapid use * **Stacking**: Many consumables can stack in inventory * **Identification**: Most consumables start unidentified and must be used to learn their effect ==== Identification ==== * **Unknown Effects**: Unidentified consumables have unknown effects until used * **First Use**: Effect is revealed upon first use of a type of consumable * **Curses**: Some cursed consumables have negative effects ==== Code References ==== * [[https://github.com/NYRDS/remixed-dungeon/blob/master/RemixedDungeon/src/main/java/com/watabou/pixeldungeon/items/food/Food.java|Food.java]] - Base food implementation * [[https://github.com/NYRDS/remixed-dungeon/blob/master/RemixedDungeon/src/main/java/com/watabou/pixeldungeon/items/potions/Potion.java|Potion.java]] - Base potion implementation * [[https://github.com/NYRDS/remixed-dungeon/blob/master/RemixedDungeon/src/main/java/com/watabou/pixeldungeon/items/scrolls/Scroll.java|Scroll.java]] - Base scroll implementation * [[https://github.com/NYRDS/remixed-dungeon/blob/master/RemixedDungeon/src/main/java/com/watabou/pixeldungeon/items/Heap.java|Heap.java]] - Item heap management ==== JSON Configuration ==== * ''RemixedDungeon/src/main/assets/itemsDesc/'' - Configuration files for various consumables * ''RemixedDungeon/src/main/assets/levelsDesc/Shop.json'' - Shop spawn configurations ==== String Resources ==== * Consumable-related strings can be found in ''RemixedDungeon/src/main/res/values-ru/strings_all.xml'' and other language resource files ==== See Also ==== * [[rpd:items|Items]] - General information about items * [[rpd:potions|Potions]] - Detailed information about potions * [[rpd:scrolls|Scrolls]] - Detailed information about scrolls * [[rpd:food|Food]] - Detailed information about food items {{tag> rpd items consumables mechanics }}