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:Immibis/Merchant trap"

From Dwarf Fortress Wiki
Jump to navigation Jump to search
 
Line 7: Line 7:
 
wagon seal = ((wagon corridor PP || wagon flood || wagon_flooded) && automation enabled)
 
wagon seal = ((wagon corridor PP || wagon flood || wagon_flooded) && automation enabled)
 
wagon flood = (wagon seal && automation enabled && !wagon_flooded)
 
wagon flood = (wagon seal && automation enabled && !wagon_flooded)
wagon_flooded = latch(set = wagon corridor WL 7-7, reset = wagon WL 1-2)
+
wagon_flooded = latch(set = wagon corridor WL 7-7, reset = wagon WL 2-2)
 
wagon drain = wagon_flooded
 
wagon drain = wagon_flooded
 
</pre>
 
</pre>

Latest revision as of 07:25, 20 March 2010

Temporary notes on merchant trap[edit]

Logic[edit]

{PP = pressure plate}
{WL = water level}
footbridge = (footbridge PP && automation enabled)
wagon seal = ((wagon corridor PP || wagon flood || wagon_flooded) && automation enabled)
wagon flood = (wagon seal && automation enabled && !wagon_flooded)
wagon_flooded = latch(set = wagon corridor WL 7-7, reset = wagon WL 2-2)
wagon drain = wagon_flooded