en:rpd:potion_of_levitation_item
Table of Contents
Potion of Levitation
The Potion of Levitation is a common potion in Remixed Dungeon that allows the drinker to float over traps and certain terrain hazards.
Item Overview
- Type: Potion
- Rarity: Common
- Special Effect: Levitation effect for 20 turns, immunity to weight-based hazards
- Usage: Single use item (consumed upon drinking)
- Price: 35 gold when identified
- Identification: Becomes identified when consumed, shattered, or when seen in inventory after being identified
Special Mechanics
- Levitation Effect: Allows floating over chasms, fire traps, and other weight-based hazards for 20 turns (DURATION constant)
- Flame and Gas Immunity: Does NOT protect against gases or flames (those fill the air and still affect levitating character)
- Root Removal: Removes any existing Roots effect when applied (Roots.detach call in Levitation.java)
- Terrain Interaction: When the effect ends, triggers level.press() which can trigger any floor-based effects at the character's location
- Action Message: “You float into the air!” (from string resources)
- Identification: Becomes identified when consumed, shattered, or when seen in inventory after being identified
- Stacking: Multiple potions can be carried and used as needed
Strategy
- Essential for navigating areas with dangerous traps or chasms
- Best used when crossing hazardous terrain with pressure plates or weight-based traps
- Can't be used to avoid gas or flame hazards since they fill the air
- The levitation effect only lasts 20 turns by default
- Consider using before attempting difficult jumps or chasms
- Useful to avoid triggering mechanical traps when escaping enemies
- Should be conserved for critical navigation situations
- The effect ends immediately if you take damage from non-weight-based hazards
Obtaining
- Found throughout dungeon levels
- Dropped by various enemies
- Found in containers and special rooms
- Alchemically crafted (recipe not specified in current codebase)
Effect
When consumed, the Potion of Levitation grants the Levitation status effect for 20 turns, allowing the character to float over weight-based hazards like chasms and traps while being immune to their effects. However, gases and flames still affect the character since they fill the air.
According to the game's string resources: “Drinking this curious liquid will cause you to hover in the air, able to drift effortlessly over traps. Flames and gases fill the air, however, and cannot be bypassed while airborne.”
Code References
- Java Implementation: PotionOfLevitation.java
- Potion Base Class: Potion.java
- Levitation Buff Implementation: Levitation.java - Duration constant = 20f
- Duration Constant: Levitation.DURATION - Set to 20f
- Roots Removal: Levitation.java#L14 - Roots.detach() called when attaching
- Level Press: Levitation.java#L19-L22 - level.press() called when the effect ends
- Apply Message: PotionOfLevitation.java#L15 - Uses string resource for “You float into the air!” message
- Price Configuration: PotionOfLevitation.java#L24-L26 - Base price is 35 gold
- Moistening Implementation: PotionOfLevitation.java#L28-L48 - Can moisten arrows, scrolls, and rotten food
- Treasury Configuration: Treasury.json#L140 - Potion spawn probability
- English String Resources: PotionOfLevitation_Name, PotionOfLevitation_Info, PotionOfLevitation_Apply (PotionOfLevitation_Name, PotionOfLevitation_Info, and PotionOfLevitation_Apply)
- Russian String Resources: PotionOfLevitation strings (Russian localization)
- Spanish String Resources: PotionOfLevitation strings (Spanish localization)
- French String Resources: PotionOfLevitation strings (French localization)
- German String Resources: PotionOfLevitation strings (German localization)
- Chinese String Resources: PotionOfLevitation strings (Chinese localization)
- Stats verification: Extracted directly from PotionOfLevitation.java and Levitation.java class methods
- Effect descriptions: Based on code analysis and string resources
- mr: namespace: Check Potion Of Levitation Item - Code References for machine-readable data
Related Items
- Potions - General information about potions
- Levitation Buff - The status effect applied by this potion
- Potion - Base potion class
- Game Mechanics - General game mechanics
- Hero - Main playable character
- Items - All items in the game
- Consumables - Consumable items
- Traps - Information about traps this potion helps avoid
en/rpd/potion_of_levitation_item.txt · Last modified: by 127.0.0.1

