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 1: Line 1:
 
A lever is a device that can be linked to other devices to control them. A lever is pulled through its {{k|q}} menu with {{k|a}}{{k|P}}. A nearby dwarf will then pull it. [[Pressure plate]]s are like levers, but are activated automatically by creatures stepping on it.
 
A lever is a device that can be linked to other devices to control them. A lever is pulled through its {{k|q}} menu with {{k|a}}{{k|P}}. A nearby dwarf will then pull it. [[Pressure plate]]s 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.
  
 
Objects that can be controlled by levers include:
 
Objects that can be controlled by levers include:
  
* [[Bridge]] – Turns the bridge into either a raised drawbridge, or a retracted bridge, depending on which option was chosen when the the bridge was constructed. The lever will raise/lower/retract/extend the bridge.
+
=== 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.
 +
 
 +
* [[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.
 +
 
 +
* [[Floodgate]] – '''Lever On:''' Opens the floodgate. '''Lever Off:''' Closes the floodgate. After the lever is installed, it works exactly like a door.
 +
 
 +
* [[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.
  
* [[Door]] – Opens/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.
+
* [[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).
  
* [[Floodgate]] – Opens/closes the floodgate. After the lever is installed, it works exactly like a door.
+
* [[Trap|Upright Spear]]/Spikes – '''Lever On:''' Retracts spears/spikes. '''Lever Off:''' Extends spears/spikes.{{Verify}}
  
* [[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.
+
* [[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.
  
* [[Floor hatch|Hatch]] – Opens/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.
+
=== One-Shot ===
  
* [[Grate]] – Opens/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).
+
* [[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 [[cavein]]s.
 
* [[Support]] – Deconstructs the support, except without a dwarf next to it. Most commonly used to effect [[cavein]]s.
  
* [[Trap|Upright Spear]]/Spikes – Retracts spears/spikes.
 
 
* [[Gear assembly]] – Engages/disengages the gear assembly. When it is disengaged, no power goes through it and anything on top of it falls down.
 
  
 
{{Buildings}}
 
{{Buildings}}

Revision as of 21:12, 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.

Objects that can be controlled by levers include:

Multiple Uses

  • BridgeLever 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.
  • DoorLever 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.
  • FloodgateLever On: Opens the floodgate. Lever Off: Closes the floodgate. After the lever is installed, it works exactly like a door.
  • HatchLever 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.
  • GrateLever 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).
  • Upright Spear/Spikes – Lever On: Retracts spears/spikes. Lever Off: Extends spears/spikes.[Verify]
  • Gear assemblyLever 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.

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