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:Kami/Logic gates"

From Dwarf Fortress Wiki
Jump to navigation Jump to search
m
Line 3: Line 3:
 
{| style="border-spacing:0; padding:0;"
 
{| style="border-spacing:0; padding:0;"
 
|-
 
|-
|{{RT|█|#FFF|#FFF}}
+
|{{RTL|#FFF}}
|<br />
+
|{{RTL|#ddd}}
 
|any tile
 
|any tile
 
|-
 
|-
|{{RT|█|#CCC|#CCC}}
+
|{{RTL|#CCC}}
|<br />
+
|{{RTL|#FFF}}
 
|floor
 
|floor
 
|-
 
|-
|{{RT|█|#888|#888}}
+
|{{RTL|#888}}
|<br />
+
|{{RTL|#FFF}}
 
|no floor
 
|no floor
 
|-
 
|-
|{{RT|█|#222|#222}}
+
|{{RTL|#222}}
|<br />
+
|{{RTL|#FFF}}
 
|wall
 
|wall
 
|-
 
|-
|<br />
+
|{{RTL|#FFF}}
|<br />
+
|{{RTL|#FFF}}
|<br />
+
|{{RTL|#FFF}}
 
|-
 
|-
|{{RT|·|#222|#888}}
+
|{{RTL|#222|#888}}
|<br />
+
|{{RTL|#FFF}}
 
|[[channel]]
 
|[[channel]]
 
|-
 
|-
|{{RT|┼|#DDD|#222}}
+
|{{RTL|#222|┼|#DDD}}
|<br />
+
|{{RTL|#FFF}}
 
|[[door]]
 
|[[door]]
 
|-
 
|-
|{{RT|X|#DDD|#222}}
+
|{{RTL|#222|X|#DDD}}
|<br />
+
|{{RTL|#FFF}}
 
|[[flood gate]]
 
|[[flood gate]]
 
|-
 
|-
|{{RT|*|#444|#FFF}}
+
|{{RTL|#FFF|*|#444}}
|<br />
+
|{{RTL|#FFF}}
 
|[[gear assembly]]
 
|[[gear assembly]]
 
|-
 
|-
|{{RT|▼|#222|#888}}
+
|{{RTL|#222|▼|#888}}
|<br />
+
|{{RTL|#FFF}}
 
|[[ramp]] (down)
 
|[[ramp]] (down)
 
|-
 
|-
|{{RT|▲|#222|#CCC}}
+
|{{RTL|#222|▲|#CCC}}
|<br />
+
|{{RTL|#FFF}}
 
|[[ramp]] (up)
 
|[[ramp]] (up)
 
|-
 
|-
|{{RT|^|#00A|#CCC}}
+
|{{RTL|#00A|^|#CCC}}
|<br />
+
|{{RTL|#FFF}}
 
|[[pressure plate]] (reacting on water)
 
|[[pressure plate]] (reacting on water)
 
|-
 
|-
|{{RTL|÷|─>|#444|#CCC|#F00}}
+
|{{RTL|#444|#CCC|}}
|{{RT|÷|#444|#FFF}}
+
|{{RTL|#444|÷||>||left}}
 
|[[screw pump]] (pumping right)
 
|[[screw pump]] (pumping right)
 
|-
 
|-
|{{RT|≈|#00F|#FFF}}
+
|{{RTL|#00F|≈}}
|<br />
+
|{{RTL|#FFF}}
 
|[[water]]
 
|[[water]]
 
|}
 
|}

Revision as of 10:06, 14 December 2009

ToDo

Key

any tile
floor
no floor
wall
·
channel
door
X
flood gate
*
gear assembly
ramp (down)
ramp (up)
^
pressure plate (reacting on water)
÷
÷
>
screw pump (pumping right)
water

Power2trigger - converter

Z 0

I
#CCC
·
─>
#CCC
÷
O
#CCC
 

Z-1

X

There doesn't exist any trigger in dwarf fortress that reacts on the working state of machine components, thus power. If you want to create trigger signals from power, you'll have to convert it via pressure plates, screw pumps and any fluid.

The Input power has to be connected to the pump by a gear, an axle or maybe any other machine component. The design is flexible concerning where to connect the power to the pump as long it does not interfere with the functionality. Connecting it one level above the pump should be favourized.
The Output signal will be generated by a 2-7 plate when pumping state changes, and therefore fluid level on the plate. Use a 0-1 plate if you want to invert it. You can expand the design with a second inverted plate instead, but be warned of timing differences and possible fluctuation of the fluid. You'll have to include access doors, stairs or ramps. If you don't find another way to deal with it, you'll have to refill the pool on Z-1 from time to time somehow, because fluid at the plate could evaporate when power is off.