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
Line 2: Line 2:
  
 
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.
 
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.
 +
 +
Furthermore, there's a delay when sending the update signal: If you pull a lever on then off too fast, it will only send the 'off' signal.
  
 
Objects that can be controlled by levers include:
 
Objects that can be controlled by levers include:
Line 7: Line 9:
 
=== Multiple Uses ===
 
=== Multiple Uses ===
  
* [[Bridge]] – '''Lever 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. '''Lever Off:''' Returns the bridge to normal.
+
* [[Bridge]]
 +
** '''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]] – '''Lever On:''' Opens the door. '''Lever Off:''' Closes the 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.
+
* [[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]] – '''Lever On:''' Opens the floodgate. '''Lever Off:''' Closes the floodgate. After the lever is installed, it works exactly like a door.
+
* [[Floodgate]] – After the lever is installed, it works exactly like a door.
 +
** '''On:''' Opens the floodgate.  
 +
** '''Off:''' Closes the floodgate.
  
* [[Floor hatch|Hatch]] – '''Lever On:''' Opens the hatch. '''Lever Off:''' Closes the 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. There is no "closed, but can be opened by a dwarf" state anymore.
+
* [[Floor hatch|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]] – '''Lever On:''' Opens the grate. '''Lever Off:''' Closes the grate. When it it open, it just disappears. Water goes through it just the same, but it cannot be walked on anymore. Anybody on it will probably fall through (more testing needed).
+
* [[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 probably fall through (more testing needed).
 +
** '''On:''' Opens the grate.
 +
** '''Off:''' Closes the grate.  
  
* [[Trap|Upright Spear]]/Spikes – '''Lever On:''' Retracts spears/spikes. '''Lever Off:''' Extends spears/spikes.{{Verify}}
+
* [[Trap|Upright Spear/Spikes]]
 +
** '''On:''' Retracts spears/spikes.{{Verify}}
 +
** '''Off:''' Extends spears/spikes.{{Verify}}
  
* [[Gear assembly]] – '''Lever On:''' Disengages the gear assembly. '''Lever Off:''' Engages the gear assembly. When it is disengaged, no power goes through it and anything on top of it falls down.
+
* [[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 ===
 
=== One-Shot ===

Revision as of 21:25, 19 November 2007

A lever is a device that can be linked to other devices to control them. 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 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.

Furthermore, there's a delay when sending the update signal: If you pull a lever on then off too fast, it will only send the 'off' signal.

Objects that can be controlled by levers include:

Multiple Uses

  • Bridge
    • 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.
    • 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 probably fall through (more testing needed).
    • 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 effect caveins.



Rooms
Furniture
Animal trapAnvilArmor standBedBinBucketCabinetCageCoffinContainerRestraintSeatStatueTableWeapon rack

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