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
Line 1: Line 1:
''ToDo''
+
'''''ToDo'''''
 
== Key ==
 
== Key ==
 
{| style="border-spacing:0; padding:0;"
 
{| style="border-spacing:0; padding:0;"
 
|-
 
|-
 
|{{RTL|#FFF}}
 
|{{RTL|#FFF}}
|{{RTL|#ddd}}
+
|{{RTL|#FFF}}
 +
|{{RTL|#FFF}}
 +
|{{RTL|#FFF}}
 
|any tile
 
|any tile
 
|-
 
|-
 
|{{RTL|#CCC}}
 
|{{RTL|#CCC}}
 +
|{{RTL|#FFF}}
 +
|{{RTL|#FFF}}
 
|{{RTL|#FFF}}
 
|{{RTL|#FFF}}
 
|floor
 
|floor
 
|-
 
|-
 
|{{RTL|#888}}
 
|{{RTL|#888}}
 +
|{{RTL|#FFF}}
 +
|{{RTL|#FFF}}
 
|{{RTL|#FFF}}
 
|{{RTL|#FFF}}
 
|no floor
 
|no floor
 
|-
 
|-
 
|{{RTL|#222}}
 
|{{RTL|#222}}
 +
|{{RTL|#FFF}}
 +
|{{RTL|#FFF}}
 
|{{RTL|#FFF}}
 
|{{RTL|#FFF}}
 
|wall
 
|wall
 
|-
 
|-
 +
|{{RTL|#FFF}}
 +
|{{RTL|#FFF}}
 
|{{RTL|#FFF}}
 
|{{RTL|#FFF}}
 
|{{RTL|#FFF}}
 
|{{RTL|#FFF}}
Line 24: Line 34:
 
|-
 
|-
 
|{{RTL|#222|·|#888}}
 
|{{RTL|#222|·|#888}}
 +
|{{RTL|#FFF}}
 +
|{{RTL|#FFF}}
 
|{{RTL|#FFF}}
 
|{{RTL|#FFF}}
 
|[[channel]]
 
|[[channel]]
 
|-
 
|-
|{{RTL|#222|┼|#DDD}}
+
|{{RTL|#AAA|┼|#444}}
 +
|{{RTL|#FFF}}
 +
|{{RTL|#FFF}}
 
|{{RTL|#FFF}}
 
|{{RTL|#FFF}}
 
|[[door]]
 
|[[door]]
 
|-
 
|-
|{{RTL|#222|X|#DDD}}
+
|{{RTL|#AAA|X|#444}}
 +
|{{RTL|#FFF}}
 +
|{{RTL|#FFF}}
 
|{{RTL|#FFF}}
 
|{{RTL|#FFF}}
 
|[[flood gate]]
 
|[[flood gate]]
 
|-
 
|-
|{{RTL|#FFF|*|#444}}
+
|{{RTL|#444|*}}
 +
|{{RTL|#FFF}}
 +
|{{RTL|#FFF}}
 
|{{RTL|#FFF}}
 
|{{RTL|#FFF}}
 
|[[gear assembly]]
 
|[[gear assembly]]
 
|-
 
|-
 +
|{{RTL|#222|▲|#CCC}}
 +
|{{RTL|#FFF}}
 
|{{RTL|#222|▼|#888}}
 
|{{RTL|#222|▼|#888}}
 
|{{RTL|#FFF}}
 
|{{RTL|#FFF}}
|[[ramp]] (down)
+
|[[ramp]]
 
|-
 
|-
|{{RTL|#222||#CCC}}
+
|{{RTL|#00A|^|#CCC}}
 +
|{{RTL|#FFF}}
 
|{{RTL|#FFF}}
 
|{{RTL|#FFF}}
|[[ramp]] (up)
 
|-
 
|{{RTL|#00A|^|#CCC}}
 
 
|{{RTL|#FFF}}
 
|{{RTL|#FFF}}
 
|[[pressure plate]] (reacting on water)
 
|[[pressure plate]] (reacting on water)
 
|-
 
|-
|{{RTL|#444|÷|#CCC|─}}
+
|{{RTL|#444|÷|#CCC}}
|{{RTL|#444|÷||>||left}}
+
|{{RTL|#444|÷||►|#00A|center|►|#00A|center}}
 +
|{{RTL|#FFF}}
 +
|{{RTL|#FFF}}
 
|[[screw pump]] (pumping right)
 
|[[screw pump]] (pumping right)
 
|-
 
|-
|{{RTL|#00F|≈}}
+
|{{RTL|#AAF|≈|#CCC}}
 +
|{{RTL|#FFF}}
 +
|{{RTL|#FFF}}
 
|{{RTL|#FFF}}
 
|{{RTL|#FFF}}
 
|[[water]]
 
|[[water]]
 +
|-
 +
|{{RTL|#AAF|≈|#CCC||||1|#00F|left}}
 +
|{{RTL|#AAF|≈|#CCC||||…|#00F|left}}
 +
|{{RTL|#AAF|≈|#CCC||||7|#00F|left}}
 +
|{{RTL|#FFF}}
 +
|[[water]] depth
 
|}
 
|}
 
== Power2trigger - converter ==
 
== Power2trigger - converter ==
 
<div style="position:relative; float:right">
 
<div style="position:relative; float:right">
 
'''Z 0'''
 
'''Z 0'''
{| cellpadding="0" cellspacing="0" style="border-spacing:0; border-style:solid; border-width:thin; border-color:#000000;"
+
{| cellpadding="0" cellspacing="0" style="border-spacing:0; border-style:solid; border-width:thin; border-color:#000000;"
 
|
 
|
{| cellpadding="0" cellspacing="0" style="border-spacing:0;"
+
{| cellpadding="0" cellspacing="0" style="border-spacing:0; padding:0; margin:0; vertical-align:middle;"
 
|-
 
|-
|{{RTB|#CCC}}
+
|{{RTL|#CCC}}
|{{RTB|#CCC}}
+
|{{RTL|#CCC}}
|{{RTL|*|I|#444|#CCC|#F00}}
+
|{{RTL|#CCC}}
|{{RTB|#222}}
+
|{{RTL|#222}}
|{{RTB|#222}}
+
|{{RTL|#222}}
|{{RTB|#222}}
+
|{{RTL|#222}}
|{{RTB|#222}}
+
|{{RTL|#222}}
 
|-
 
|-
|{{RTB|#CCC}}
+
|{{RTL|#CCC}}
|{{RT|·|#00A|#888}}
+
|{{RTL|#00A|#888}}
|{{RTL|÷|─>|#444|#CCC|#F00}}
+
|{{RTL|#444|#CCC}}
|{{RT|÷|#444|#CCC}}
+
|{{RTL|#444|÷|#CCC|►|#00A|center|►|#00A|center}}
|{{RTL|^|O|#00A|#CCC|#F00}}
+
|{{RTL|#00A|^|#CCC}}
|{{RT|▼|#00A|#888}}
+
|{{RTL|#00A|#888}}
|{{RTB|#222}}
+
|{{RTL|#222}}
 
|-
 
|-
|{{RTB|#CCC}}
+
|{{RTL|#CCC}}
|{{RTB|#CCC}}
+
|{{RTL|#CCC}}
|{{RTB|#CCC}}
+
|{{RTL|#CCC}}
|{{RTB|#222}}
+
|{{RTL|#222}}
|{{RT|┼|#CCC|#444}}
+
|{{RTL|#222}}
|{{RTB|#222}}
+
|{{RTL|#222}}
|{{RTB|#222}}
+
|{{RTL|#222}}
 
|}
 
|}
 
|}
 
|}
Line 97: Line 125:
 
{| cellpadding="0" cellspacing="0" style="border-spacing:0; border-style:solid; border-width:thin; border-color:#000000;"
 
{| cellpadding="0" cellspacing="0" style="border-spacing:0; border-style:solid; border-width:thin; border-color:#000000;"
 
|
 
|
{| cellpadding="0" cellspacing="0" style="border-spacing:0;"
+
{| cellpadding="0" cellspacing="0" style="border-spacing:0; padding:0; margin:0; vertical-align:middle;"
 
|-
 
|-
|{{RTB|#222}}
+
|{{RTL|#222}}
|{{RTB|#222}}
+
|{{RTL|#222}}
|{{RTB|#222}}
+
|{{RTL|#222}}
|{{RTB|#222}}
+
|{{RTL|#222}}
|{{RTB|#222}}
+
|{{RTL|#222}}
|{{RTB|#222}}
+
|{{RTL|#222}}
|{{RTB|#222}}
+
|{{RTL|#222}}
 +
|-
 +
|{{RTL|#222}}
 +
|{{RTL|#AAF|≈|#CCC||||7|#00F|left}}
 +
|{{RTL|#AAF|≈|#CCC||||7|#00F|left}}
 +
|{{RTL|#AAF|≈|#CCC||||7|#00F|left}}
 +
|{{RTL|#AAF|≈|#CCC||||7|#00F|left}}
 +
|{{RTL|#AAF|≈|#CCC||||7|#00F|left}}
 +
|{{RTL|#222}}
 
|-
 
|-
|{{RTB|#222}}
+
|{{RTL|#222}}
|{{RT|≈|#00A|#CCC}}
+
|{{RTL|#222}}
|{{RT|≈|#00A|#CCC}}
+
|{{RTL|#222}}
|{{RT|≈|#00A|#CCC}}
+
|{{RTL|#222}}
|{{RT|≈|#00A|#CCC}}
+
|{{RTL|#222}}
|{{RT|▲|#00A|#CCC}}
+
|{{RTL|#222}}
|{{RT|X|#CCC|#444}}
+
|{{RTL|#222}}
 
|-
 
|-
|{{RTB|#222}}
 
|{{RTB|#222}}
 
|{{RTB|#222}}
 
|{{RTB|#222}}
 
|{{RTB|#222}}
 
|{{RTB|#222}}
 
|{{RTB|#222}}
 
 
|}
 
|}
 
|}
 
|}
 
</div>
 
</div>
 
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.
 
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 <font color="#F00" font-family="Helvetica">I</font>nput 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.<br />The <font color="#F00" font-family="Helvetica">O</font>utput 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.
 
 
<br />
 
<br />

Revision as of 14:55, 14 December 2009

ToDo

Key

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

Power2trigger - converter

Z 0

·
÷
÷
^
·
 

Z-1

7
7
7
7
7

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.