- 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.
Danger room
This article was migrated from DF2014:Danger room and may be inaccurate for the current version of DF (v50.14). See this page for more information. |
Part of a number of articles on |
Projects |
---|
Basic |
Aqueduct • Archery tower • Atom smasher • Danger room • Dam • Garbage dump • Mass pit • Moat • Pit trap • Reservoir• Sally port • Swimming pool • Tower • Tree farm |
Advanced |
Drowning chamber • Magma piston • Obsidian farm • Pump stack • Silk farm • Water reactor |
v50.14 · v0.47.05 This article is about the current version of DF.Note that some content may still need to be updated. |
"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
Loadout
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 fully covered by armor or clothing. Dwarves that have any body part completely exposed are very likely to be skewered, fatally. (Conversely, dwarves with armor or clothing 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
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.
Triggers
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.
Results
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
Here are a few specific designs.
One Tile, extendable
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
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 less than 10 training spears if you need to, but additional spears help train armor use (only a single spear can be used to help train weapon skills at a time). 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
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
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
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.
Pool 'o' Fun
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.)
Caveats
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
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.
Note
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 | |
---|---|
F.A.Q. | |
Guides | |
Managing soldiers | |
Design tips | |
Invaders |