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 "User:Hussell/SetResetLatch"

From Dwarf Fortress Wiki
Jump to navigation Jump to search
(Set/Reset Latch)
 
m
Line 40: Line 40:
 
{{Raw Tile|┼|#F00|#000}} is a door controlled by the Reset input.
 
{{Raw Tile|┼|#F00|#000}} is a door controlled by the Reset input.
  
{{Raw Tile|^|#0FF|#000}} is a 7-7 pressure plate controlling {{Raw Tile|┼|#0FF|#000}}, a door, and acting as the OPEN output.
+
{{Raw Tile|^|#0FF|#000}} is a 7-7 pressure plate controlling door {{Raw Tile|┼|#0FF|#000}}, and acting as the open-when-set output.
  
{{Raw Tile|^|#FF0|#000}} is a 7-7 pressure plate controlling {{Raw Tile|┼|#FF0|#000}}, a door, and acting as the CLOSE output.
+
{{Raw Tile|^|#FF0|#000}} is a 7-7 pressure plate controlling door {{Raw Tile|┼|#FF0|#000}}, and acting as the close-when-set output.
  
 
{{Raw Tile|.|#FFF|#000}} is plain cavern floor.
 
{{Raw Tile|.|#FFF|#000}} is plain cavern floor.
Line 155: Line 155:
  
  
{{Raw Tile|^|#FF0|#000}} sends the CLOSED signal, because it is now covered by either 3/7 or 4/7 of water:
+
{{Raw Tile|^|#FF0|#000}} sends the CLOSE signal, because it is now covered by either 3/7 or 4/7 of water:
  
 
{| style="border-spacing: 0"
 
{| style="border-spacing: 0"
Line 299: Line 299:
  
  
{{Raw Tile|^|#0FF|#000}} sends the CLOSED signal because its water spreads out:
+
{{Raw Tile|^|#0FF|#000}} sends the CLOSE signal because its water spreads out:
  
 
{| style="border-spacing: 0"
 
{| style="border-spacing: 0"

Revision as of 23:45, 8 November 2009

Set/Reset Latch

^
^

is a water source (preferably infinite)

is a door controlled by the Set input.

is a door controlled by the Reset input.

^ is a 7-7 pressure plate controlling door , and acting as the open-when-set output.

^ is a 7-7 pressure plate controlling door , and acting as the close-when-set output.

. is plain cavern floor.

3 is 3/7 water.


Initial state. There must be 7 water on ^. (Either make a special lever to open , or have your dwarves drop water in from above). Pulling the Reset lever has no effect in this state, but remember to never, ever, put the Set and Reset levers in the OPEN position at the same time. They should both be in the CLOSED position now.

. ^
^


First transition: pull the Set lever to the OPEN position:

7 7 ^
^


^ sends the OPEN signal:

7 7 ^
3 ^


^ sends the CLOSE signal, because it is now covered by either 3/7 or 4/7 of water:

7 ^
4 ^


This is the stable "Set" state. The Set lever has no effect in this state. But, again, remember to put it in the CLOSED position before pulling the Reset lever:

^
4 ^


Second transition: pull the Reset lever to the OPEN position:

^
7 7 ^


^ sends the OPEN signal:

3 ^
7 7 ^


^ sends the CLOSE signal because its water spreads out:

3 ^
7 ^


After putting the Reset lever back in the CLOSED position:

4 ^
^

The Set/Reset Latch is now fully reset.

Possible use: use a pressure plate triggered by goblins as the Set signal, and you won't have to worry about your bridges going up and down or doors opening and closing as the goblins mill around, and your dwarves can pull the Reset lever after the siege is over.