|This article is about the current version of DF.|
A floodgate is a gate which allows control of the flow of liquids, such as water or magma. They are operated by mechanisms, such as levers or pressure plates, which open and close them. When closed, they behave like walls, but when opened, allow liquids, objects, and creatures to pass over them. Closed floodgates are shown in-game as "X" symbols. Open floodgates are completely invisible but could still be seen through "Look" menu or selected through "Set building Task/Pref". They can be manufactured from stone (at a mason's workshop), wood (at a carpenter's workshop), metal (at a metalsmith's forge), or glass (at a glass furnace). Once manufactured, they are built in the desired location using the keys , .
Floodgates also block the flow of liquid on the Z-axis, as they are considered walls when closed. This can be quite useful when built directly below a floor grate as this will allow you to quickly empty the liquid from the floor above without the danger of its precious contents rummaging through your sewer system.
A pressure plate on a lower level connected to a floodgate between your main water supply and your other water controls can act as an automated safety valve to help prevent massive flooding of your lower fort. Set the pressure plate to activate (open the floodgate) when 0-1 water, which allows using the water supply. When flooding starts, the pressure plate deactivates, attempting to close the floodgate. Beware of linking multiple controllers to this floodgate, as another controller may activate opening the floodgate before this pressure resets.
Floodgates are constructed orthogonally on a solid, completely flat, unflooded floor in the 'closed' position (Note that this means it is possible for careless dwarves to trap themselves on the wrong side of the gate). Adjacent walls are not necessary for placement, but are necessary for controlling liquids. A mechanic must then link up a lever or other triggering mechanism to the floodgate. This requires two mechanisms; the mechanic will haul one mechanism to the floodgate, work for a while, and then haul the other mechanism to the trigger to complete the task.
You can build a floodgate over empty space, e.g. controlling water in a vertical path. First build a floor (, , ), after it is complete mark it for removal (, ) and immediately designate your floodgate (, ). You don't have to suspend either of these tasks to get both to complete. You may want to remove the stone or block left by removing the floor or it may be washed down to lower levels, possibly clogging another floodgate that is built on a floor or door.
Once the lever is pulled, with a delay, the floodgate will open. When the lever is pulled again, the floodgate will close, after the same delay. This will destroy (not displace) any liquid occupying the same tile as the floodgate. Objects on the floodgate's tile, however, cannot be destroyed this way - in fact, the floodgate will refuse to close. Any object, everything from swords to socks to stones to scorpion corpses, can jam the floodgate this way. Once the object is removed, however, the floodgate will grind shut by itself. Note that the flow of liquids will often move objects downstream, and potentially jam your gate. It is advisable to clear out any remnant stones or other obstructions before releasing liquids towards your gates.
Floodgates will resist magma when closed, just as a constructed wall would, but when opened, will be destroyed if they are not made from magma-safe materials. The mechanisms used in the construction of the floodgate must also be magma-safe to prevent this.
- Floodgates built on a constructed wall remain standing (and functional) even after that wall is removed, leading to an exploitable, free-floating building. Bug:0377
|"Floodgate" in other Languages
|Machine and trap parts|