====== Alchemy ====== {{ rpd:images:firebloom_seed_item.png|Alchemy Seeds }} Alchemy in Remixed Dungeon is a system for brewing potions by throwing seeds into the alchemy pot found in the [[en:rpd:sewers_level|Sewers]]. Unlike fixed recipes, the system randomly selects a potion based on the seeds thrown in. ==== Alchemy Mechanics ==== * Alchemy is performed at an alchemy pot (cauldron) found in the [[en:rpd:sewers_level|Sewers Level]] * Throw 3 or more seeds into the pot to trigger transmutation * The pot randomly picks one seed (weighted by quantity) and brews its associated potion * If the chosen seed has no alchemy class, a random potion is created from the treasury * Each seed type has an **alchemyClass** property defining its potion (e.g., Sungrass → Potion of Healing) * Seeds without an alchemy class (e.g., Rotberry) yield a random potion ==== Seed-to-Potion Mapping ==== * **Sungrass Seed** → [[en:rpd:potion_of_healing_item|Potion of Healing]] * **Firebloom Seed** → [[en:rpd:potion_of_liquid_flame_item|Potion of Liquid Flame]] * **Sorrowmoss Seed** → [[en:rpd:potion_of_paralytic_gas_item|Potion of Paralytic Gas]] or [[en:rpd:potion_of_invisibility_item|Potion of Invisibility]] (random) * **Dreamweed Seed** → [[en:rpd:potion_of_mind_vision_item|Potion of Mind Vision]] * **Earthroot Seed** / **Fadeleaf Seed** → [[en:rpd:potion_of_toxic_gas_item|Potion of Toxic Gas]] * **Icecap Seed** → [[en:rpd:potion_of_frost_item|Potion of Frost]] * **Rotberry Seed** → [[en:rpd:potion_of_purity_item|Potion of Purity]] (no alchemyClass, random treasury pick) * **Moongrace Seed** → Random potion (no alchemyClass defined) ==== Arrow Creation ==== * Specialized arrows can be created by combining regular arrows with potions: * [[en:rpd:fire_arrow_item|Fire Arrow]] - From arrows and [[en:rpd:potion_of_liquid_flame_item|Potion of Liquid Flame]] * [[en:rpd:health_arrow_item|Health Arrow]] - From arrows and [[en:rpd:potion_of_healing_item|Potion of Healing]] * [[en:rpd:paralysis_arrow_item|Paralysis Arrow]] - From arrows and [[en:rpd:potion_of_paralytic_gas_item|Potion of Paralytic Gas]] * [[en:rpd:poison_arrow_item|Poison Arrow]] - From arrows and [[en:rpd:potion_of_toxic_gas_item|Potion of Toxic Gas]] ==== Alchemy Ingredients ==== * [[en:rpd:seed_item|Seeds]] - Primary ingredient, obtained from plants * Water - Implicit ingredient (not an item) for most potion brewing ==== Strategy ==== * Collect multiple seeds of the same type to increase chance of desired potion * Sungrass seeds are most valuable for reliable healing potions * Throwing mixed seeds gives weighted random results * The alchemy pot in the Sewers is the only fixed location; some levels may have additional pots ==== Code References ==== * Alchemy implementation: [[https://github.com/NYRDS/remixed-dungeon/blob/master/RemixedDungeon/src/main/java/com/watabou/pixeldungeon/actors/blobs/Alchemy.java|Alchemy.java]] - Core transmutation mechanics * Recipe logic: [[https://github.com/NYRDS/remixed-dungeon/blob/master/RemixedDungeon/src/main/java/com/watabou/pixeldungeon/actors/blobs/Alchemy.java#L66-L100|Alchemy.java transmute()]] - Seed selection and potion creation * Alchemy pot object: [[https://github.com/NYRDS/remixed-dungeon/blob/master/RemixedDungeon/src/main/java/com/watabou/pixeldungeon/levels/features/AlchemyPot.java|AlchemyPot.java]] - Player interaction with the cauldron * Seed alchemy classes: [[https://github.com/NYRDS/remixed-dungeon/blob/master/RemixedDungeon/src/main/java/com/watabou/pixeldungeon/plants/Seed.java#L39|Seed.alchemyClass]] - Each plant defines its brewed potion * Example (Sungrass): [[https://github.com/NYRDS/remixed-dungeon/blob/master/RemixedDungeon/src/main/java/com/watabou/pixeldungeon/plants/Sungrass.java|Sungrass.java]] - alchemyClass = PotionOfHealing.class * Treasury system: [[https://github.com/NYRDS/remixed-dungeon/blob/master/RemixedDungeon/src/main/java/com/nyrds/pixeldungeon/items/Treasury.java|Treasury.java]] - Random potion selection fallback * Statistics: [[https://github.com/NYRDS/remixed-dungeon/blob/master/RemixedDungeon/src/main/java/com/watabou/pixeldungeon/Statistics.java|Statistics.potionsCooked]] - Tracks potions brewed ==== See Also ==== * [[en:rpd:potions|Potions]] - All potion types and effects * [[en:rpd:seeds_mechanic|Seeds]] - Seed types and properties * [[en:rpd:sewers_level|Sewers Level]] - Where the alchemy pot is located * [[en:rpd:alchemy_mechanic|Alchemy Mechanic]] - Detailed technical mechanics * [[en:rpd:plants|Plants]] - Sources of seeds for alchemy {{tag> rpd alchemy potions crafting seeds }}