v50 Steam/Premium information for editors
  • v50 information can now be added to pages in the main namespace. v0.47 information can still be found in the DF2014 namespace. See here for more details on the new versioning policy.
  • Use this page to report any issues related to the migration.
This notice may be cached—the current version can be found here.

Magma piston

From Dwarf Fortress Wiki
Jump to navigation Jump to search
This article is about the current version of DF.
Note that some content may still need to be updated.

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 concept[edit]

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. The piston must be made entirely of natural (non-constructed) walls.) 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)
Basic magma piston design (side view)
# _ # # # _ #
# # # # #
# # # # #
# ~ ~ S ~ ~ #
# # # # # # #

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:

# _ ~ ~ ~ _ #
# # # # #
# # # # #
# ~ # # # ~ #
# # # # # # #

Construction[edit]

A magma piston is composed of 4-5 parts: the catchment area, the magma reservoir, the support, the piston, and the obsidian caster (optional).

Catchment area[edit]

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.

Magma reservoir[edit]

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.

Support[edit]

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:
Key:
  #    = 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.

Piston[edit]

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 . .
# # # # # # #

Obsidian caster[edit]

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:
Key:
  #    = 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 #

Operation[edit]

The general procedure for operating a repeatable magma piston is as follows:

  1. Pull your firing lever to collapse the side support, thus dropping the piston into the magma.
  2. In the magma reservoir, close the inlet and open the drain to empty the magma and allow workers in later.
  3. Retract the bridge of the obsidian caster to drop water onto magma and rebuild the piston.
  4. Extend the bridge of the obsidian caster and open the inlet floodgate, to refill your caster's water supply.
  5. Reconstruct the side support and re-link it to your firing lever.
  6. Pump/drain any magma you want to use out of the catchment area.
  7. Allow workers into the magma reservoir when it's safe and empty, and dig out the bottom of the piston.
  8. Get the workers out of the reservoir and lock the door.
  9. In the magma reservoir, close the drain and open the inlet to fill it with magma.
  10. Remember to close the inlet floodgate of your obsidian caster.
  11. Make sure that your side-support is clear.
  12. When the magma reservoir is full, use your firing lever to restart the process.

More information[edit]

The original discussion of this trick, including how to make the piston reusable, can be found in this forum thread.

That being said, I will link this here so that those who attempt this concept in the premium version have access to this guide. https://steamcommunity.com/sharedfiles/filedetails/?id=2924657714