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.

v0.34:Danger room

From Dwarf Fortress Wiki
Jump to navigation Jump to search
This article is about an older version of DF.

"Danger room" is a term used to describe a place your dwarves go to be continually poked by upright spikes. This serves two purposes: first, it trains your dwarves in Armor User skill, Shield User, Dodger, Fighter and to some extent also weapons skills (if they manage to block attacks with them). Second, it helps keep your doctors' skills from rusting and your coffin makers busy (rarely).

Danger rooms are a useful feature and a great workaround for regular training being too slow and difficult for new players to figure out. Some people consider this an exploit, because it requires next to no effort to build your dwarves combat skills to legendary.Bug:3855


The first design challenge is to provide the proper level of lethality. Do not use actual spears. Do not use menacing spikes even if they are made of wood. Only use training spears. Up to ten spears may be placed in a single tile. If you want a lot of coverage and don't have much wood, one will suffice. The more spears are in a tile, the faster a danger room will work. Ten training spears will do just as much damage as one training spear, with the only difference being that bruised ears and broken thumbs might appear a little faster.

Additionally, it is *very* important to make sure that the dwarves you plan to train are indeed wearing a full set of armor. Dwarves that are not wearing armor are very likely to be skewered, fatally. (Conversely, dwarves with armor are extremely unlikely to suffer any health problems.) For the same reason, a corridor of tightly-closed doors before the danger room is encouraged to prevent unnecessary puppy killing.

Access control[edit]

The second design challenge is access control. If you want your entire fortress to spank face these perils, then put the spikes in a major hallway. If you want only your military to be trained, put them in or behind a barracks, a patrol route, or some other place civilians are unlikely to go. Mind that while training spikes are mostly harmless to armored adult dwarfs, such traps are perilous for small animals, babies and children.


The third challenge is providing an appropriate triggering frequency. Some signal must be sent to raise and lower the spikes while the dwarves are on them. This can be accomplished by hooking the spikes to a lever or pressure plate, or by using a repeater. If a lever is used, then it should be near the room, so you can keep track of what's happening in the room while still knowing where the control lever is.


The idea is that as dwarves stand on the trapped tiles, every time the spikes come out of the ground due to the trap being activated, they gain skills in whatever stops it - armor if their armor deflects it, weapon if they block it with their weapon, shield for shield, and dodging if they jump out of the way. Crossbow-armed dwarves gain skill as hammerdwarves, not marksdwarves, because they are using the crossbow as a melee weapon to block. As written here [1], pick-armed dwarves get trained into legendary miners.

Specific Design Suggestions[edit]

Here are a few specific designs.

One Tile, extendable[edit]

If you set the door to locked, the soldiers will only have the spike tile as their barracks, for great efficiency. They will all stack on this one tile and train. Set the door to Internal to adjust the size of the barracks as needed. You might have to unlock the door for new squads so they can path to the armor stand once.

^ S p i k e s
^ + + D o o r
A r m o r s t a n d

Simple Minimal Manual Danger Room[edit]

Create a 1x4 room with each of the four tiles having upright spikes with training spears in them. A full room will of course require making 40 training spears. As always you can load each tile with fewer than 10 training spears if you need to, but the more you use the faster they train and considering that you have to use the room manually it makes sense to make the training as fast as possible. Place a door on the room and forbid pets, or pasture all the pets. (See #Caveats below.) Place a lever outside and link the lever to all four spike sets.

Equip your units with full armor, a shield, and ideally make them all wear a cloak to help protect the face. (The cloak will actually stop most of the hits to the body.) Manually order your unit(s) to move to the far tile of the room and lock the door once they're all in. (They won't all move to this tile, but they should move to within 3 tiles of it fitting them all into the room.) (It does not appear to matter if you have a multitude of dwarves packed into 4 tiles.) Add a (P)ull The Lever task to the lever and set it to (r)epeat. Leave the dwarves inside until they start to get unhappy from the long "patrol" then let them leave. This trains the Fighter and Shield skills very quickly. However, if you want to quickly train Weapon skills, make the dwarves unequip the shield before entering the room.

A larger than 1x4 room may work better for training dodging but this is unverified. You can easily enlarge your danger room without constructing excessive training spears and mechanisms by installing statues along the walls. Dwarves will dodge into statue tiles, then step back out onto the spiked floor for more "training". (Using statues can sometimes result in body parts getting lodged under/behind them, which causes endlessly failing attempts to "Place item in Tomb" stating that the item was misplaced. This only happens if you have a death in the room of course, but to avoid the issue you can deconstruct the statues, or don't use them in the first place.)

Simple Semi-Automated Danger Room[edit]

As above, but use Scheduling along with a Burrow to cycle trainees through the room. Define a burrow that covers the inside of the room, then schedule some number of dwarves per unit to "Defend The Burrow". Add a repeating pull the lever task to the lever. The dwarves will rotate through the danger room according to schedule. The constant lever pulling will of course require a dwarf.

Fully Automated Danger Room[edit]

Same as above, but use a Repeater to eliminate the need for a lever pulling dwarf. The advantage is that you no longer need a dwarf to pull the lever repeatedly, but a repeater is somewhat complex to set up and is slower than a repeating lever pull task.

Semi or Fully Automated Fort-Wide Danger Room[edit]

Instead of placing the training spear "spikes" in a room, place them in a high traffic area of the fort and use one of the methods above to set up repeating extension/retraction of the spikes. Over time this will expose most or all of your dwarves to the spear attacks, but it is advisable to make sure that all of the dwarves are at the very minimum wearing a cloak to protect them from injury, and ideally wearing full armor.

Doing this will probably kill all of your animals eventually unless they're confined to a Pasture or otherwise confined, and will eventually kill all infants (and possibly children) unless child-carrying females and children somehow forbidden from the area using a Burrow.

Coinstar Room[edit]

As a complement to a standard danger room, a coinstar or popcorn room trains armor user skills via repeated (unblockable/undodgeable) impacts of small objects such as coins. The safest training material is currently thought to be coins (split into stacks of 15 or smaller), though seeds, socks, leaves, and other small, light objects will work. To construct a coinstar room, first dig a small 1x2 trench, then build two 1x1 retracting bridges on the floor of the trench (shown in green), and connect them to a lever, pressure plate, or repeater (not shown).

z - 1 z
+ + +
+ +
+ +
+ + +

Please note that, although the bridges cover the up ramps they are still usable; adding another way out is not necessary. Do, however, remove any loose stones or other large objects in the trench. You should also avoid constructing any extraneous tunnels within 3 tiles on the bridge level, or your dwarves may stand there instead of in the coinstar room when you issue them a station order.

To fill your coinstar room, designate a dump zone on the top level immediately adjacent to the trench. After making sure that all other dump zones are disabled (and all other refuse is *not* marked for dumping), dump 100-1000 small objects into the pit (more objects = faster training). Once filled, disable the dump zone and verify that your dwarves didn't dump any platinum bars or loose stone into the pit.

To activate the coinstar room, station a dwarf in the chamber, then have another dwarf Pull the Lever/R, trigger the pressure plate, or engage the repeater. The objects will be flung about in the chamber, hitting your dwarf repeatedly and providing 9 armor-user xp per impact and increase in all "military" stats. When training is complete, remove your trained dwarf with a station order (canceling the original station order will cause your trainee to drop any worn out clothes, which might prove deadly to future occupants).

Training a single dwarf at a time is recommended because only the "top" unit in a stack will be hit by flying objects. This method does not train weapons, shield use, or dodging, but it quickly trains Armor User and, more importantly, increases vital stats. There are some advantages to using slightly larger objects such as cats (injuries train willpower and hospital staff), however infections from broken ears can prove quite deadly. See this thread for more useful information (such as how to split coins from stack of 1000 to 1000 stacks of 1, passive training method and dangers of it.

Pool 'o' Fun[edit]

It's possible to simultaneously train swimming by arranging a means of flooding your danger room and locking your military within. (A depth of 4/7 is recommended, but you can fill it up to 6/7 if you dare want.)


Note that pets will attempt to follow soldiers into the danger room, getting perforated in the process, and leaving corpses and causing unhappy thoughts; if there is a refuse stockpile or tomb that the pet can go to, a flood of job cancellation messages may result until the spikes cease their triggering. The same applies if a soldier who is carrying an infant enters the danger room.

Pets (even non-grazers) can be put in a pasture for their safety. Alternately, having the door to the room set to "Keep tightly closed" prevents most pet deaths, but one may occasionally slip through.

To deal with the babies, you can either avoid recruiting (married) females into your military, or you can create male-only squads which you send into the danger room. Once you have dwarves who are very experienced in dodging and shield use, they will be able to train other dwarves much faster than if you simply have beginners training with each other. You can disband your male-only squads when the males are experienced enough, and mix them into all of your squads so that they can help train the rest of the soldiers.

Some players consider children a waste of resources. Letting them get speared does provide extra practice for your medical dwarves, but you'll also need extra tombs, and to make sure there's enough alcohol on hand so the parents can quickly drown their sorrows - legendary fighters cause legendary tantrum spirals.

Mod exploitation of danger rooms[edit]

If you are not averse to cheating-by-modding, change the required skill for a weapon in the weapon raw text. Dwarves will gain that skill while in a danger room at the same prodigious rate. In this way it is possible to train legendary marksdwarves or even teachers using training axes.


Keep in mind that after using the danger room for a long period of time your dwarves will eventually grow attached to a worn or wielded item. This is particularly bad when all of your military dwarves are wearing civilian clothing; try to avoid training improperly equipped soldiers unless it is an emergency.

Military and defense
Managing soldiers
Design tips