rpd:consumables_mechanic
Table of Contents
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
- Potion of Healing - Restores health
- Potion of Strength - Increases strength permanently
- Potion of Invisibility - Makes the hero temporarily invisible
- Potion of Might - Increases strength and health permanently
- Potion of Experience - Provides experience points
- Scrolls: Magical parchments with one-time effects
- Scroll of Identify - Identifies items
- Scroll of Teleportation - Teleports to a random location
- Scroll of Magic Mapping - Reveals the level layout
- Scroll of Upgrade - Improves an item
- Scroll of Recharging - Recharges wands and artifacts
- Food: Items that satisfy hunger
- Food Ration - Standard food that satisfies hunger
- Overpriced Ration - Expensive but more filling than standard ration
- Pasty - Special food that also provides fullness and healing
- Bombs: Explosive items with various effects
- Regrowth Bomb - Grows grass and plants in an area
- Shockwave Bomb - Pushes enemies away from the blast
- Disintegration Bomb - Damages enemies and destroys walls
- Seeds: Plantable items that grow into useful plants
- Firebloom Seeds - Grow into fireblooms that ignite adjacent cells
- Icecap Seeds - Grow into icecaps that freeze adjacent cells
- 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
- Food.java - Base food implementation
- Potion.java - Base potion implementation
- Scroll.java - Base scroll implementation
- Heap.java - Item heap management
JSON Configuration
RemixedDungeon/src/main/assets/itemsDesc/- Configuration files for various consumablesRemixedDungeon/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.xmland other language resource files
See Also
rpd/consumables_mechanic.txt · Last modified: by 127.0.0.1
