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.

User talk:Hussell/ClockToggle

From Dwarf Fortress Wiki
Jump to navigation Jump to search

It would seem to be a repeater (which is what a clock needs) - its not hard to build one. I still need to work my way through the logic a bit more thoroughly though.

The problem is finding/building a repeater that is calibrated so it counts time that is relevant. Ie, allows you to (exactly) count a day, or a year.

Given the game advances time in 'ticks', how many ticks does your device take to operate? (The use of doors instead of bridges/floodgates suggests rapid cycling. One advantage it could have is it doesn't require lots of water to function.)

Edit: do doors destroy water on their square when they close? That could be a problem...

--Squirrelloid 14:26, 9 November 2009 (UTC)

The important bit isn't that it repeats, it's that it repeats at half the speed of its input. I.e., a simple repeater generating an OPEN signal every 202 steps will cause this device to generate an OPEN signal every 404 steps. (Actually, depending on which and how many of the plates in this device you use as outputs, you can generate OPEN and/or CLOSE signals on every OPEN and/or CLOSE signal from the input, or on alternating OPEN or CLOSE signals.)

So far I've only tested this with a bridge/floodgate repeater. The doors finish changing state much faster than the repeater cycle. I'll do some timing tests sometime soon.

Yes, doors linked to mechanisms do destroy water when they close. Possibly magma too, though I haven't tested that.

--Hussell 15:19, 9 November 2009 (UTC)