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.

Difference between revisions of "40d:Lever"

From Dwarf Fortress Wiki
Jump to navigation Jump to search
(→‎Multiple Uses: bridges and floodgates have delays, unsure about everything else except doors)
Line 9: Line 9:
 
=== Multiple Uses ===
 
=== Multiple Uses ===
  
* [[Bridge]]
+
* [[Bridge]] –  Bridges have a delay of 100 steps when the lever is pulled.
 
** '''On:''' Turns the bridge into either a raised drawbridge, or a retracted bridge, depending on which option was chosen when the the bridge was constructed.  
 
** '''On:''' Turns the bridge into either a raised drawbridge, or a retracted bridge, depending on which option was chosen when the the bridge was constructed.  
 
** '''Off:''' Returns the bridge to normal.
 
** '''Off:''' Returns the bridge to normal.
Line 17: Line 17:
 
** '''Off:''' Closes the door.  
 
** '''Off:''' Closes the door.  
  
* [[Floodgate]] –  After the lever is installed, it works exactly like a door.
+
* [[Floodgate]] –  After the lever is installed, it works exactly like a door. Floodgates, however, have a 100 tick delay. Therefore, it is more logical to use doors, at least until doors aren't usable for holding back water.
 
** '''On:''' Opens the floodgate.  
 
** '''On:''' Opens the floodgate.  
 
** '''Off:''' Closes the floodgate.
 
** '''Off:''' Closes the floodgate.

Revision as of 04:36, 7 May 2008

A lever is a device that can be linked to other devices to control them through it's q menu once the controlled device is constructed. It needs one mechanism to be constructed (if you have a mechanism, you can build the lever with bTl). A lever is pulled through its q menu with aP. A nearby dwarf will then pull it. Pressure plates are like levers, but are activated automatically by creatures stepping on it. Levers, when linked to objects, will never require more than two mechanisms, and will always be able to activate the linked objects across even the longest map with ease.

Levers have an 'on' and a 'off' state. Upon being flipped, everything they're connected to updates to the lever's new state. This becomes important if you have several levers attached to the same building.

Several devices, such as floodgates and bridges, have a delayed response to all incoming signals, and will not respond to subsequent signals until the first has taken effect. For instance, if you pull a lever attached to a floodgate on then off in rapid succession, the floodgate will only respond to the 'on' (open) signal.

Objects that can be controlled by levers include:

Multiple Uses

  • Bridge – Bridges have a delay of 100 steps when the lever is pulled.
    • On: Turns the bridge into either a raised drawbridge, or a retracted bridge, depending on which option was chosen when the the bridge was constructed.
    • Off: Returns the bridge to normal.
  • Door – Note that once you connect a door, it is either completely open, or locked. There is no "closed, but can be opened by a dwarf" state anymore.
    • On: Opens the door.
    • Off: Closes the door.
  • Floodgate – After the lever is installed, it works exactly like a door. Floodgates, however, have a 100 tick delay. Therefore, it is more logical to use doors, at least until doors aren't usable for holding back water.
    • On: Opens the floodgate.
    • Off: Closes the floodgate.
  • Hatch – When open it just disappears and allows water through. Note it is suspected that like doors - once you connect a hatch, it is either completely open, or locked.
    • On: Opens the hatch.
    • Off: Closes the hatch.
  • Grate – When it is open, it just disappears. Water goes through it just the same, but it cannot be walked on anymore. Anybody on it will fall.
    • On: Opens the grate.
    • Off: Closes the grate.
  • Bars – When it is open, it just disappears. Water goes through it just the same, but it cannot be walked on anymore. Anybody on it will fall.
    • On: Opens the grate.
    • Off: Closes the grate.
  • Gear assembly – When it is disengaged, no power goes through it and anything that is being kept up by its presence (like a windmill right on top of it) falls down.
    • On: Disengages the gear assembly.
    • Off: Engages the gear assembly.

One-Shot

  • Cage/Restraint – Opens the cage/chain/rope and releases whatever it held. This is permanent and you will have to reinstall and relink the cages/restraints after one use. You recover the mechanism used in the cage/restraint.
  • Support – Deconstructs the support, except without a dwarf next to it. Most commonly used to cause cave-ins.

Computing

Elaborate combinations of levers (or pressure plates) and other objects can be used to create mechanical systems that can perform various forms of computing.



Rooms
Furniture
Animal trapAnvilArmor standBedBinBucketCabinetCageCoffinContainerRestraintSeatStatueTableWeapon rack

Access
DoorFloodgateBarsGrateFloor hatchBridgeRoadWindow
Constructions
Machine & Trap parts
Other Buildings
Related Articles