====== Potion Of Liquid Flame Item - Code References ====== ===== Java Classes ===== * [[https://github.com/NYRDS/remixed-dungeon/blob/master/RemixedDungeon/src/main/java/com/watabou/pixeldungeon/items/potions/PotionOfLiquidFlame.java|PotionOfLiquidFlame.java]] - Main class implementation * [[https://github.com/NYRDS/remixed-dungeon/blob/master/RemixedDungeon/src/main/java/com/watabou/pixeldungeon/items/potions/UpgradablePotion.java|UpgradablePotion.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 potion class * [[https://github.com/NYRDS/remixed-dungeon/blob/master/RemixedDungeon/src/main/java/com/watabou/pixeldungeon/actors/blobs/LiquidFlame.java|LiquidFlame.java]] - Creates liquid flame blob on shatter * [[https://github.com/NYRDS/remixed-dungeon/blob/master/RemixedDungeon/src/main/java/com/watabou/pixeldungeon/items/weapon/missiles/Arrow.java|Arrow.java]] - Used for moistenArrow method * [[https://github.com/NYRDS/remixed-dungeon/blob/master/RemixedDungeon/src/main/java/com/watabou/pixeldungeon/items/weapon/missiles/FireArrow.java|FireArrow.java]] - Created when moistening arrows ===== JSON Configuration ===== This entity is implemented in Java, no JSON configuration exists ===== String Resources ===== * [[https://github.com/NYRDS/remixed-dungeon/blob/master/RemixedDungeon/src/main/res/values/strings_all.xml#L2208-L2209|PotionOfLiquidFlame_Name, PotionOfLiquidFlame_Info]] - Item name and description * English: "Potion of Liquid Flame" / "This flask contains an unstable compound which will burst violently into flame upon exposure to open air." ===== Lua Scripts ===== This entity is implemented in Java, no Lua script exists ===== Implementation Details ===== * **Label Index**: 1 (in potion array) * **Base Price**: 40 gold * **Shatter Effect**: Creates 10 × qualityFactor() units of LiquidFlame blob * **Moisten Effect**: Converts arrows to FireArrow when used in alchemy * **Sound**: Plays SND_SHATTER when shattered * **Known on Shatter**: Automatically sets potion as known when shattered ===== Related mr Entities ===== * [[mr:potion_item|Potion (Item)]] - Base potion type * [[mr:liquid_flame_blob|Liquid Flame (Blob)]] - Created effect * [[mr:fire_arrow_item|Fire Arrow (Item)]] - Created via moistening * [[mr:fire_trap|Fire Trap]] - Similar fire-based hazard * [[mr:burning_buff|Burning (Buff)]] - Fire damage over time effect