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"
Jump to navigation
Jump to search
Line 11: | Line 11: | ||
|any tile | |any tile | ||
|- | |- | ||
− | |{{RTL|# | + | |{{RTL|#EEE}} |
|{{RTL|#FFF}} | |{{RTL|#FFF}} | ||
|{{RTL|#FFF}} | |{{RTL|#FFF}} | ||
Line 17: | Line 17: | ||
|floor | |floor | ||
|- | |- | ||
− | |{{RTL|# | + | |{{RTL|#CCC}} |
|{{RTL|#FFF}} | |{{RTL|#FFF}} | ||
|{{RTL|#FFF}} | |{{RTL|#FFF}} | ||
Line 27: | Line 27: | ||
|{{RTL|#FFF}} | |{{RTL|#FFF}} | ||
|{{RTL|#FFF}} | |{{RTL|#FFF}} | ||
− | | | + | |solid |
|- | |- | ||
|{{RTL|#FFF}} | |{{RTL|#FFF}} | ||
Line 35: | Line 35: | ||
|{{RTL|#FFF}} | |{{RTL|#FFF}} | ||
|- | |- | ||
− | |{{RTL|#222|·|# | + | |{{RTL|#840|║|#FFF}} |
+ | |{{RTL|#FFF}} | ||
+ | |{{RTL|#840|o|#FFF}} | ||
+ | |{{RTL|#FFF}} | ||
+ | |[[axle]] | ||
+ | |- | ||
+ | |{{RTL|#222|·|#CCC}} | ||
|{{RTL|#FFF}} | |{{RTL|#FFF}} | ||
|{{RTL|#FFF}} | |{{RTL|#FFF}} | ||
Line 59: | Line 65: | ||
|[[gear assembly]] | |[[gear assembly]] | ||
|- | |- | ||
− | |{{RTL|#222|▲|# | + | |{{RTL|#FFF||||||1|#F88|left}} |
+ | |{{RTL|#FFF||||||…|#F88|left}} | ||
+ | |{{RTL|#FFF||||||7|#F88|left}} | ||
+ | |{{RTL|#FFF}} | ||
+ | |[[magma]] depth | ||
+ | |- | ||
+ | |{{RTL|#222|▲|#EEE}} | ||
|{{RTL|#FFF}} | |{{RTL|#FFF}} | ||
− | |{{RTL|#222|▼|# | + | |{{RTL|#222|▼|#CCC}} |
|{{RTL|#FFF}} | |{{RTL|#FFF}} | ||
|[[ramp]] | |[[ramp]] | ||
|- | |- | ||
− | |{{RTL|#00A|^|# | + | |{{RTL|#00A|^|#EEE}} |
|{{RTL|#FFF}} | |{{RTL|#FFF}} | ||
|{{RTL|#FFF}} | |{{RTL|#FFF}} | ||
Line 71: | Line 83: | ||
|[[pressure plate]] (reacting on water) | |[[pressure plate]] (reacting on water) | ||
|- | |- | ||
− | |{{RTL|#444|÷|# | + | |{{RTL|#444|÷|#EEE}} |
|{{RTL|#444|÷||►|#00A|center|►|#00A|center}} | |{{RTL|#444|÷||►|#00A|center|►|#00A|center}} | ||
|{{RTL|#FFF}} | |{{RTL|#FFF}} | ||
Line 77: | Line 89: | ||
|[[screw pump]] (pumping right) | |[[screw pump]] (pumping right) | ||
|- | |- | ||
− | + | |{{RTL|#FFF||||||1|#88F|left}} | |
− | + | |{{RTL|#FFF||||||…|#88F|left}} | |
− | + | |{{RTL|#FFF||||||7|#88F|left}} | |
− | |{{RTL|#FFF | ||
− | | | ||
− | | | ||
− | |||
− | |{{RTL|# | ||
− | |{{RTL|# | ||
|{{RTL|#FFF}} | |{{RTL|#FFF}} | ||
|[[water]] depth | |[[water]] depth | ||
|} | |} | ||
== Logic gates == | == Logic gates == | ||
− | === | + | === Power to signal converter === |
− | + | When you are dealing with [[mechanical logic]], you'll want to trigger something else than machine components, like doors or bridges. Currently, there doesn't exist any trigger in dwarf fortress that reacts on the working state of machine components, thus power. So, you'll have to convert power via pressure plates, screw pumps and fluid into a on/off signal. | |
<div style="position:relative; float:left;"> | <div style="position:relative; float:left;"> | ||
'''Z 0''' | '''Z 0''' | ||
Line 98: | Line 104: | ||
{| cellpadding="0" cellspacing="0" style="border-spacing:0; padding:0; margin:0; vertical-align:middle;" | {| cellpadding="0" cellspacing="0" style="border-spacing:0; padding:0; margin:0; vertical-align:middle;" | ||
|- | |- | ||
− | |{{RTL|# | + | |{{RTL|#EEE}} |
− | |{{RTL|# | + | |{{RTL|#EEE}} |
− | |{{RTL|# | + | |{{RTL|#EEE}} |
− | |||
|{{RTL|#222}} | |{{RTL|#222}} | ||
|{{RTL|#222}} | |{{RTL|#222}} | ||
|{{RTL|#222}} | |{{RTL|#222}} | ||
|- | |- | ||
− | |{{RTL|# | + | |{{RTL|#EEE}} |
− | |{{RTL|# | + | |{{RTL|#222|·|#CCC}} |
− | |{{RTL|#444|÷|# | + | |{{RTL|#444|÷|#EEE}} |
− | |{{RTL|#444|÷|# | + | |{{RTL|#444|÷|#EEE|►|#00A|center|►|#00A|center}} |
− | |{{RTL|# | + | |{{RTL|#222|·|#CCC}} |
− | |||
|{{RTL|#222}} | |{{RTL|#222}} | ||
|- | |- | ||
− | |{{RTL|# | + | |{{RTL|#EEE}} |
− | |{{RTL|# | + | |{{RTL|#EEE}} |
− | |{{RTL|# | + | |{{RTL|#EEE}} |
− | |||
|{{RTL|#222}} | |{{RTL|#222}} | ||
|{{RTL|#222}} | |{{RTL|#222}} | ||
Line 136: | Line 139: | ||
|{{RTL|#222}} | |{{RTL|#222}} | ||
|{{RTL|#222}} | |{{RTL|#222}} | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
|{{RTL|#222}} | |{{RTL|#222}} | ||
|- | |- | ||
|{{RTL|#222}} | |{{RTL|#222}} | ||
− | |{{RTL|# | + | |{{RTL|#00A|^|#EEE||||7|#88F|left}} |
− | |{{RTL|# | + | |{{RTL|#EEE||||||7|#88F|left}} |
− | |{{RTL|# | + | |{{RTL|#EEE||||||7|#88F|left}} |
− | |{{RTL|# | + | |{{RTL|#EEE||||||7|#88F|left}} |
− | | | ||
|{{RTL|#222}} | |{{RTL|#222}} | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
|- | |- | ||
|{{RTL|#222}} | |{{RTL|#222}} | ||
Line 174: | Line 154: | ||
|{{RTL|#222}} | |{{RTL|#222}} | ||
|{{RTL|#222}} | |{{RTL|#222}} | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
|- | |- | ||
|} | |} | ||
Line 238: | Line 160: | ||
<div style="clear:left;"> | <div style="clear:left;"> | ||
<br /> | <br /> | ||
− | + | When the pump is connected to power somehow, it will suck water from the pressure plate and pump it right. The water level on the ptressure plate will fall to 0. It can be constructed to react on 0…3 water. You can also invert it to get an off signal instead setting it to 4…7. In both cases the ''off signal'' will have a delay of 100 steps. | |
</div> | </div> | ||
+ | |||
+ | [[Category:Guides]] | ||
+ | [[Category:Computing]] |
Revision as of 14:12, 15 December 2009
ToDo
General
Key
█
|
█
|
█
|
█
|
any tile |
█
|
█
|
█
|
█
|
floor |
█
|
█
|
█
|
█
|
no floor |
█
|
█
|
█
|
█
|
solid |
█
|
█
|
█
|
█
|
█
|
║
|
█
|
o
|
█
|
axle |
·
|
█
|
█
|
█
|
channel |
┼
|
█
|
█
|
█
|
door |
X
|
█
|
█
|
█
|
flood gate |
*
|
█
|
█
|
█
|
gear assembly |
█
1 |
█
… |
█
7 |
█
|
magma depth |
▲
|
█
|
▼
|
█
|
ramp |
^
|
█
|
█
|
█
|
pressure plate (reacting on water) |
÷
|
÷
► ► |
█
|
█
|
screw pump (pumping right) |
█
1 |
█
… |
█
7 |
█
|
water depth |
Logic gates
Power to signal converter
When you are dealing with mechanical logic, you'll want to trigger something else than machine components, like doors or bridges. Currently, there doesn't exist any trigger in dwarf fortress that reacts on the working state of machine components, thus power. So, you'll have to convert power via pressure plates, screw pumps and fluid into a on/off signal.
Z 0
|
Z-1
|
When the pump is connected to power somehow, it will suck water from the pressure plate and pump it right. The water level on the ptressure plate will fall to 0. It can be constructed to react on 0…3 water. You can also invert it to get an off signal instead setting it to 4…7. In both cases the off signal will have a delay of 100 steps.