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:Hussell

From Dwarf Fortress Wiki
Revision as of 16:36, 13 November 2009 by Hussell (talk | contribs) (screw pumps remain active for 50 steps after losing power)
Jump to navigation Jump to search

I've put together a few fluid logic circuits using doors (because they react about 100 times faster than floodgates and bridges), and NOT using hatches (because I have trouble preventing them from letting overflow through, especially when the water is pressurized). These setups are awkward to initialize, but once you've managed that, they can do some interesting things.

Set/Reset Latch

Clocked Set/Reset Latch

Data Latch

Data Flip-Flop

Clock Toggle

The "Clock Toggle", as I'm calling it, causes its output to toggle only when it receives an ON signal. OFF signals are ignored. This could, in theory, be used to build a clock, although I've only built one so far.


The Quest for a Fast Repeater

The goal is to create a device that triggers a pressure plate in a regular cycle, with no time variability, and a period faster than the standard Repeater, which sends an OPEN signal once every 302 steps, and a CLOSE signal on the 201st step, plus a small and variable delay caused by the time the water takes to drain away from the pressure plate.

This was my first quick design for a door-based repeater:

^ ^

Little-known fact: pressure plates react instantly when their ON condition is met, but require 100 continuous steps of OFF conditions before sending an OFF signal. So the design above doesn't work as desired, because the red plate doesn't close the red door fast enough.


This was my second design, using a hatch, and requiring a drainage system:

¢ ^

Where turns the oscillator on and off, and ^ is linked to hatch ¢ and door . Seems to work, with a period slightly over 100 steps, but there's some variability due to the water flow, so I'm fiddling with the drainage system and pressurization.

Actually, the fastest repeater I know of (and the easiest to set up) is "Pull the lever" on infinite repeat. I get about 1 pull every 5 or 6 steps with a perfectly agile dwarf, meaning one OPEN signal every 10-12 steps. Too bad it requires a dwarf.


Third design:

Z-level +1 Z-level 0 Z-level -1
% %
*
% % ^
*
*
7

^ is a 7-7 pressure plate which turns the green gear OFF and the red gear ON. There must be solid floor between the two pumps and the red and green gears, and open space between the other two gears. In theory, this should be a perfectly consistent 101 step repeater. The water triggers the pressure plate and instantly gets sucked away. The pressure plate then delays for 100 steps, which should be plenty of time for the water to fall down two squares. After the deactivation of the pressure plate, the pumps should move all the water in 1 tick.

Testing, however, reveals that screw pumps remain active for exactly 50 steps after they lose power. Since the water can fall two squares within 50 steps, it gets pumped onto the pressure plate again, delaying the CLOSE signal by the time it took for the water to fall, which is variable. Back to the drawing board.