Dwarves stuck underground

dwarf-fortress

I made the mistake of starting out in an area with no mountains to tunnel into, so instead of starting again, I decided to try channeling downwards into the soil. Now my miner dwarves appear to be stuck underground with no way of getting up. I've tried building upward and downward stairways, but nothing seems to be working. How do I get them out of the hole they've dug themselves into?

Best Answer

There are two simple ways. One is to dig an upward staircase just below the surface and a downward staircase on the surface tile above.

Surface ---\---
Layer 1 ___X###

Where -- is the ground, X is the upward staircase, \ is the downward staircase, # is filled and _ is your tunnel. You need to dig the upward staircase first, or just designate both at the same time and your dwarves will dig the proper one first.

The second way is easier. Just dig out a ramp on the level below the ground. Ramps automatically clear the floor from the tile above them. The only tricky bit is that ramps need to have solid ground under one of their sides, like so

Surface ----- ----
Layer 1 _____/####

Where the symbols have similar meanings as before with / as the ramp. If you don't have that filled tile on one side of the ramp then dwarves cannot exit the top of the ramp on that side. So you need to remember to have a filled tile with open ground above it on at least one of the adjacent tiles to the ramp. Just to be safe make it two or three.

On a related note, channeling should leave a ramp behind, so if your miners are stuck it is probably because you either removed the ramp, or dug out under all the adjacent tiles. This is a common mistake to make because the exact nature of ramps is a touch complicated. The wiki has a pretty good explanation with much better pictures than I do. It also has some explanation about stairs with a good diagram of how each tile is divided into floor and wall sections.