There was some discussion in the past (
here) about the possibility of using the rate of a falling creature to drive a clock. There were some problems with implementation, however.
I have just concluded the first test of the vampire-based borg-logic drop-based delay circuit.
######
#BhB<#
## #X#
## #X#
## #X#
...
## #X#
#vb_X#
##^ <#
######
Side view: B is drawbridge, h is hatch, b is retracting bridge, # is wall, X/</> are stairs, v is a restraint, ^ is a pressure plate. Beginning state is small flightless creature on pressure plate, retracting bridge open, drawbridges raised.
I'll list the problems with their solutions below.
1) Creatures die when they fall a long ways.
--Get a (standing) creature to wait at the bottom of the fall. This will cushion the faller.
2) Cushion creatures set off pressure plates.
--Use a small creature then.
3) Can't get a creature to stand on one exact spot to cushion the fall.
--Attach the creature to a leash next to a retracting bridge. Drop the leashed creature 1 z-level down the hole.
4) Dropped creatures dodge when you drop them, making the duration of fall unpredictable.
--Constrain the falling creature to a single tile.
5) Can't get a creature to stand on a single tile to drop it from.
--Use a dwarf, and use the "defend burrows" option to specify the tile you want it to try and stand on.
6) Dwarves are always eating, sleeping, drinking, etc.
--Use a vampire.
So far, there's just one test. It worked perfectly. The vampire fell 6 z-levels. 37 ticks after the dropping signal, the vampire set off the pressure plate at the bottom of the pit. (6 z-levels per level fallen, except the first z-level takes an extra tick.) Once the bridges were lowered, the vampire immediately returned to his original position.
So, is this practical? Barely, but yes. It's been extraordinarily difficult to institute delays shorter than 100 ticks-- if you wanted a 37 tick delay, you'd need 37 screw pumps. To me, this is cool because it's the first (to my knowledge) perfectly timed creature logic delay, which means the possibility for a precise clock.
Can you use this to drive a clock? My gut says yes. I predict you would need four of these linked together to make a clock. Would it work forever? Not yet-- your cushion creature will eventually die of old age. Next version, I anticipate that we will be able to tame cave blobs, which do not die of old age. Additionally, I'm examining ways to use undead creatures to cushion the fall. (I guess if you had a small vampire and a large vampire, you could build the pressure plate based on that and drop one on the other, which would work.)
I still have to do some testing. There are a few things I need to make sure of:
1) The burrowed vampire will ALWAYS move to the correct spot, and not take dawdling breaks. (Note that he is physically isolated from the rest of the fort.)
2) The burrowed vampire will never dodge off of the drop spot. (I don't think that he can, in a constrained space, but this is something I'll watch out for.)