|Part of a number of articles on|
|Aqueduct • Archery tower • Atom smasher • Danger room • Dam • Garbage dump • Mass pit • Moat • Pit trap • Reservoir• Sally port • Swimming pool • Tower • Tree farm|
|Drowning chamber • Magma piston • Obsidian farm • Pump stack • Silk farm • Water reactor|
|This article is about the current version of DF.|
Magma pistons are used to move magma near the surface. This approach was developed by players as an alternative to pump stacks. Magma pistons are used because they require less time and fewer precious materials to construct than pump stacks. However, magma pistons are a bit more complicated than pump stacks, so it takes more time to understand how to operate and build them.
The piston method is based on a clever abuse of cave-in physics. The basic principle involves channeling out an area around a huge stone pillar, hundreds of z-levels tall, which will become the "piston" that drives magma to the top. Rest the piston on a single support, then carve out a tank at its base which will be filled with magma pumped from the magma sea. (Beware: building the piston directly over the magma sea will NOT work!) Once the tank has been filled, drop the piston by removing its support. Liquids displaced by a cave-in will "teleport" straight up to the nearest available space; here, the nearest available space will be the catchment area you thoughtfully prepared earlier atop the piston.
A simple magma piston works as shown in the following diagram:
Key: # = Wall ~ = Magma S = Support _ = Floor hatch or bridge (your choice)
When the support is destroyed, the wall sections in the middle will fall down into the magma. The magma will teleport to the top of the piston, as shown in the following diagram:
A magma piston is composed of 4-5 parts: the catchment area, the magma reservoir, the support, the piston, and the obsidian caster (optional).
- The catchment area is located at the top of the piston. After the piston is dropped, the magma will spread out around the catchment area. In a repeating magma piston, some of the magma is used to cast obsidian on top of the piston, in order to reuse it. The volume and size of the catchment area must be carefully calculated to ensure that you won't have too much or too little magma above the piston for casting. Ideally, you want the depth of the magma above the piston to be 2. If the depth is 1, then the magma might evaporate and you won't be able to repair your piston. If the depth is greater than 2, then you're wasting magma if you cast it into obsidian. You can also make the catchment area multiple z-levels deep. If you need a catchment area smaller than possible with bridges or floodgates, you may use a floor-less floodgate to prevent the magma entering that square, while keeping the piston free to fall.
- The magma reservoir is dug out near the magma sea. You can't actually drop the piston directly into the magma sea because the bottom of the magma sea is semi-molten rock, and it will completely destroy any piston dropped into it. The magma reservoir is artificial, so it won't have a floor made of semi-molten rock. This will allow the piston to rest on the floor of your reservoir. The magma reservoir needs three parts: a magma inlet, a magma drain, and an access corridor. After letting magma in, and dropping the piston, you'll want to dig out the bottom of the piston so you can drop it again. To do that, you need to drain any excess magma and let your workers in through the access corridor.
- The support is what prevents your piston from dropping until you decide to pull the firing lever. The support can be located either at the bottom of the piston, as shown in the simplified diagram, or at the side of the piston (shown in the following diagram). If the support is at the bottom of the piston, then the support and the mechanism it uses must both be magma-safe. If it's at the side, then neither need to be magma-safe. Here's an example of a side-mounted support:
# = Wall P = Piston X = Up/Down stairs S = Support _ = Floor hatch or bridge (your choice) = = Constructed floor
Side-mounted support X # # _ P P P _ # X # # P P P # X _ = = P P P # X S P P P # X # # P P P #
- In this diagram, you can see the catchment area at the top, and the piston in the middle of the shaft. The support structure is to the left. When the support element collapses, the two constructed floors will become unsupported, and then the piston will collapse. The stairs and hatch to the left of the constructed floors allows for convenient reconstruction of the support.
- The piston is the heart of the scheme. It may be 100-200 z-levels long, so it will take quite a while for your miners to dig it out. You may encounter trouble with caverns. Ideally, you should scout out the caverns and find a clear path straight down. If you can't find such a path, you can fix the problem as follows:
Cavern problem # X P P P X # # X P P P X # # X P P . . . # X P . . . . . . . . . . . . # # # . . . # # # # # # #
- First, smooth the top and bottom, like so:
# X P P P X # # X P P P X # . . . . . . . . . . . . . . . . . . . . . . . . . . . . # # # # # # #
- Now drop the top of the piston on to the floor of the cavern. You can use a cave-in to destroy the stairs quickly, if you remove all up-stairs first.
# P P P # # P P P # . . P P P . . . . P P P . . . . P P P . . . . P P P . . # # # # # # #
- The obsidian caster is what allows you to rebuild your piston and get more magma. It's an application of techniques drawn from obsidian farming. The caster just needs to precisely dump water into the catchment area in order to form obsidian. A caster is composed of two parts: a water inlet, and a retracting bridge. Here's a sample design:
# = Wall P = Piston F = Closed floodgate ± = Retracting bridge with water ± = Retracting bridge with magma ~ = Magma ~ = Water
Obsidian caster # ~ ~ ~ ~ ~ # # # # F # # # # # ± ± ± # # # # # ± ~ ~ ~ ± # # P P P #
- When you retract the bridge at the top, the water will fall straight down, and you'll get the following result:
# ~ ~ ~ ~ ~ # # # # F # # # # # # # # # # ± P P P ± # # P P P #
The general procedure for operating a repeatable magma piston is as follows:
- Pull your firing lever to collapse the side support, thus dropping the piston into the magma.
- In the magma reservoir, close the inlet and open the drain to empty the magma and allow workers in later.
- Retract the bridge of the obsidian caster to drop water onto magma and rebuild the piston.
- Extend the bridge of the obsidian caster and open the inlet floodgate, to refill your caster's water supply.
- Reconstruct the side support and re-link it to your firing lever.
- Pump/drain any magma you want to use out of the catchment area.
- Allow workers into the magma reservoir when it's safe and empty, and dig out the bottom of the piston.
- Get the workers out of the reservoir and lock the door.
- In the magma reservoir, close the drain and open the inlet to fill it with magma.
- Remember to close the inlet floodgate of your obsidian caster.
- Make sure that your side-support is clear.
- When the magma reservoir is full, use your firing lever to restart the process.
The original discussion of this trick, including how to make the piston reusable, can be found in this forum thread.