rpd:potion_mechanic
Differences
This shows you the differences between two versions of the page.
| rpd:potion_mechanic [2025/12/27 16:09] – Wiki maintenance: Rename potion.txt to potion_mechanic.txt, update potion_of_liquid_flame_item.txt with more code references mike | rpd:potion_mechanic [2025/12/27 16:14] (current) – external edit 127.0.0.1 | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| + | ====== Potion ====== | ||
| + | {{ rpd: | ||
| + | |||
| + | **Potions** are consumable items in Remixed Dungeon that provide various beneficial or harmful effects when drunk. | ||
| + | |||
| + | ==== Common Potions ==== | ||
| + | * [[rpd: | ||
| + | * [[rpd: | ||
| + | * [[rpd: | ||
| + | * [[rpd: | ||
| + | * [[rpd: | ||
| + | * [[rpd: | ||
| + | |||
| + | ==== Special Potions ==== | ||
| + | * [[rpd: | ||
| + | * [[rpd: | ||
| + | * [[rpd: | ||
| + | * [[rpd: | ||
| + | * [[rpd: | ||
| + | * [[rpd: | ||
| + | |||
| + | ==== Mechanics ==== | ||
| + | * **Drinking**: | ||
| + | * **Moistening**: | ||
| + | * **Alchemy**: | ||
| + | * **Identifying**: | ||
| + | * **Shattering**: | ||
| + | |||
| + | ==== Identification ==== | ||
| + | * Potions have different colors that hint at their effects | ||
| + | * Once identified, the color becomes fixed for that character | ||
| + | * Identification is permanent for that specific potion type | ||
| + | * Harmful potions (Liquid Flame, Frost, Toxic Gas, Paralytic Gas) default to throwing action when known | ||
| + | |||
| + | ==== Data Validation ==== | ||
| + | * Information source: [[https:// | ||
| + | * All potion types extend the base Potion class | ||
| + | |||
| + | ==== Source Code ==== | ||
| + | * [[https:// | ||
| + | * [[https:// | ||
| + | |||
| + | ==== Code References ==== | ||
| + | * **Base Class:** [[https:// | ||
| + | * **Potion Types Array:** [[https:// | ||
| + | * **Image Handling:** [[https:// | ||
| + | * **Color System:** [[https:// | ||
| + | * **Identification System:** [[https:// | ||
| + | * **Harmful Potions:** [[https:// | ||
| + | * **Drink Confirmation: | ||
| + | * **Throw Confirmation: | ||
| + | * **Shatter Mechanics: | ||
| + | * **Splash Effect:** [[https:// | ||
| + | * **Quality Factor:** [[https:// | ||
| + | * **Moistening System:** [[https:// | ||
| + | * **Potion Belt Integration: | ||
| + | * **String Resources: | ||
| + | * **Potion Colors:** [[https:// | ||
| + | * **Drink Action:** [[https:// | ||
| + | * **Moisten Action:** [[https:// | ||
| + | * **Shatter Sound:** [[https:// | ||
| + | * **Drink Sound:** [[https:// | ||
| + | * **Color Determination: | ||
| + | * **Price Calculation: | ||
| + | * **Stackability: | ||
| + | * **Item Overlay Labels:** [[https:// | ||
| + | * **Time to Drink:** [[https:// | ||
| + | * **Time to Moisten:** [[https:// | ||
| + | * **Badge Tracking:** [[https:// | ||
| + | * **Potion Images:** [[https:// | ||
| + | * **Potion Types Initialization: | ||
| + | * **Splash Colors:** [[https:// | ||
| + | * **Item Status Handler:** [[https:// | ||
| + | * **Frost Protection: | ||
| + | * **Moistenable Items:** [[https:// | ||
| + | * **Action System:** [[https:// | ||
| + | * **Default Action:** [[https:// | ||
| + | * **Machine-readable data:** [[mr: | ||
| + | |||
| + | ==== See Also ==== | ||
| + | * [[rpd: | ||
| + | * [[rpd: | ||
| + | * [[rpd: | ||
| + | |||
| + | {{tag> rpd items potions consumables}} | ||
