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.

User:MrFake/TwoStepAlternatingRepeater

From Dwarf Fortress Wiki
Jump to navigation Jump to search

The 2-step Alternating Repeater[edit]

A special case of the n-step Cyclic Repeater. Allows for alternating pressure plate-based switching and deterministic timing using a robust repeater.

Layout[edit]

Side View

< %
% > ^
^

Front View

% * = =
% * = =
^

Legend

% > pump outputting to the right
^ pressure plate
* gear assembly
= axle supplying power
wall


Description[edit]

Both pumps are on floors (not transmitting power), each has a gear assembly connected to it. The left plate connects to the top gear. The right plate connects to the bottom gear. Both plates are set for 6/7-7/7 water. One tile full of water is poured into one side. Lastly, power is applied to both gears. If the water starts on the left side:

  1. Left plate is active, top gear is disengaged, top pump is off
  2. Right plate is inactive, bottom gear is engaged, bottom pump on
  3. Water pumps to the right
  4. Bottom pump off
  5. In 100 steps, top pump turns on
  6. Water pumps to the left
  7. Top pump off
  8. In 100 steps, bottom pump turns on
  9. Repeat at step (3)


Advantages[edit]

  • Always a single tile of water, so no flowing or sloshing
  • Preserves water and doesn't need a water source
  • Never breaks the cycle*
  • Two switches provide an alternating, repeating trigger with no extra machinery
  • Compact design
  • Easily extensible base design (see Hussell's extension, or the general case n-step repeater)

* Not rigorously tested, but theoretically it can't break.


Disadvantages[edit]

  • For bridges and floodgates, opening/closing always occurs roughly 200 steps apart (i.e. slow)
  • For short-trigger devices, device appears to be always active **
  • Requires power (30+)
  • Takes a bit of time to build (multiple levels and fill with water)
  • Requires a minimum of 8 mechanisms, and up to 15+ is easily possible

** Only tested with a door connected to the right plate: the door never closed. It may work better given the right build order. Also, connecting the door (or any short-trigger device) to the left switch could produce better results.