Bay 12 Games Forum

Please login or register.

Login with username, password and session length
Advanced search  
Pages: [1] 2 3

Author Topic: The Puppy Clock  (Read 14528 times)

FearfulJesuit

  • Bay Watcher
  • True neoliberalism has never been tried
    • View Profile
The Puppy Clock
« on: September 08, 2011, 08:44:42 am »

I was thinking about the 10,000 year clock, and had an idea.

If DF is anything like real life, then everything falls at a constant rate.

This means that it should be possible to have a breeding area of puppies which is connected to a hatch. Or, suppose that you had a whole bunch of puppies that each could only stand on a single hatch.

Basically, one calculates the amount of frames per in-game minute or hour; then one calculates how long it takes for an object to fall per Z-level. Then, find an amount of time that is divisible into the length of a dwarven day that is also the amount of time for something to fall down a certain number of Z-levels. When the clock is started, the first puppy falls, say, 100 Z-levels onto a pressure plate. This pressure plate is hooked up to the next puppy's hatch. With enough puppies falling and releasing the pressure plate hooked up to the hatch on which the next one stands, it should be possible for the dwarves to measure any length of time through the pointless and gratuitous slaughter of puppies or kittens.

!!SCIENCE!! is needed.
Logged


@Footjob, you can microwave most grains I've tried pretty easily through the microwave, even if they aren't packaged for it.

Sphalerite

  • Bay Watcher
    • View Profile
    • Drew's Robots and stuff
Re: The Puppy Clock
« Reply #1 on: September 08, 2011, 08:46:49 am »

All creatures fall at a constant 1 Z-level per 6 ticks.

I'm not sure if the pressure plate will trigger, however, since the puppy will splatter into chunks when it hits.  Will it exist as a living creature on the pressure plate long enough to trigger it before dying?  Someone needs to test this.
Logged
Any intelligent fool can make things bigger and more complex... It takes a touch of genius --- and a lot of courage to move in the opposite direction.

FearfulJesuit

  • Bay Watcher
  • True neoliberalism has never been tried
    • View Profile
Re: The Puppy Clock
« Reply #2 on: September 08, 2011, 09:24:37 am »

I'll test it.

Results:

To test this, I built a stairway all the way up to Z +14:

X++C

where X was the stair, + floors, and C a floor hatch. There was a pasture defined over C and a puppy assigned to it.

On Z-Level -30, I built a pressure plate directly underneath the hatch and a clear tunnel all the way down. The pressure plate was hooked up to a floodgate I'd built. So, when a dwarf pulled the lever, the puppy falls, and if the floodgate falls, then the clock can be built.

And unfortunately, the floodgate *didn't* fall.

I regret to inform the community that the mass murder of puppies does not create a viable clock.
« Last Edit: September 08, 2011, 09:57:12 am by dhokarena56 »
Logged


@Footjob, you can microwave most grains I've tried pretty easily through the microwave, even if they aren't packaged for it.

Sphalerite

  • Bay Watcher
    • View Profile
    • Drew's Robots and stuff
Re: The Puppy Clock
« Reply #3 on: September 08, 2011, 10:07:04 am »

Did you first verify that the pressure plate would trigger if a puppy stood on it normally?  The minimum weight on pressure plates can be weird, a puppy might not be enough to trigger it.
Logged
Any intelligent fool can make things bigger and more complex... It takes a touch of genius --- and a lot of courage to move in the opposite direction.

Xen0n

  • Bay Watcher
  • Took joy in ‼SCIENCE‼ lately.
    • View Profile
Re: The Puppy Clock
« Reply #4 on: September 08, 2011, 10:33:11 am »

How predictable is the breeding rate?  Is it possible to have a small enclosed area with a breeding pair of dogs, over a pressure plate that detects when a certain number of dogs are on it (by combined weight) then opens a door to allow one (and only one, using pressure plates) puppy to walk onto a hatch that then drops it?  I guess the idea is to have all the measurement happen at the top of the clock if pressure plates can't detect falling objects.

OR if, hypothetically, we were willing to abandon the puppy murdering aspect of this idea (stay with me), you could do it with goblins, and have a single dwarf burrowed on a room adjacent to the shaft, repeatedly pulling a lever / burrowed over a pressure plate.  When the goblin falls past, it interrupts him and he flees, abandoning the lever / releasing the pressure plate he was standing on until it passes him and he returns.
Logged

FearfulJesuit

  • Bay Watcher
  • True neoliberalism has never been tried
    • View Profile
Re: The Puppy Clock
« Reply #5 on: September 08, 2011, 10:35:20 am »

Did you first verify that the pressure plate would trigger if a puppy stood on it normally?  The minimum weight on pressure plates can be weird, a puppy might not be enough to trigger it.

I'm pretty sure. How should I set up the weight?
Logged


@Footjob, you can microwave most grains I've tried pretty easily through the microwave, even if they aren't packaged for it.

Sphalerite

  • Bay Watcher
    • View Profile
    • Drew's Robots and stuff
Re: The Puppy Clock
« Reply #6 on: September 08, 2011, 10:42:26 am »

Set the weight as low as it will go.  Set the pressure plate to be triggered by civilians.  Then, pasture a puppy on the pressure plate to make sure that it's actually triggering when a puppy stands on it.  Then pasture the puppy on the elevated floor hatch and do the drop test.
Logged
Any intelligent fool can make things bigger and more complex... It takes a touch of genius --- and a lot of courage to move in the opposite direction.

FearfulJesuit

  • Bay Watcher
  • True neoliberalism has never been tried
    • View Profile
Re: The Puppy Clock
« Reply #7 on: September 08, 2011, 10:44:03 am »

Set the weight as low as it will go.  Set the pressure plate to be triggered by civilians.  Then, pasture a puppy on the pressure plate to make sure that it's actually triggering when a puppy stands on it.  Then pasture the puppy on the elevated floor hatch and do the drop test.

I'll check this afternoon.
Logged


@Footjob, you can microwave most grains I've tried pretty easily through the microwave, even if they aren't packaged for it.

ZeroSumHappiness

  • Bay Watcher
    • View Profile
Re: The Puppy Clock
« Reply #8 on: September 08, 2011, 12:31:54 pm »

Don't forget to check that a live puppy not falling to his doom will also set off such a plate of course.
Logged

Xen0n

  • Bay Watcher
  • Took joy in ‼SCIENCE‼ lately.
    • View Profile
Re: The Puppy Clock
« Reply #9 on: September 08, 2011, 12:58:20 pm »

Don't forget to check that a live puppy not falling to his doom will also set off such a plate of course.

I'm not sure if I follow the logic here.  So... how do we kill the puppies?
Logged

FearfulJesuit

  • Bay Watcher
  • True neoliberalism has never been tried
    • View Profile
Re: The Puppy Clock
« Reply #10 on: September 08, 2011, 01:04:34 pm »

Don't forget to check that a live puppy not falling to his doom will also set off such a plate of course.

I'm not sure if I follow the logic here.  So... how do we kill the puppies?

Well, they're falling on the pressure plate.
Logged


@Footjob, you can microwave most grains I've tried pretty easily through the microwave, even if they aren't packaged for it.

Xen0n

  • Bay Watcher
  • Took joy in ‼SCIENCE‼ lately.
    • View Profile
Re: The Puppy Clock
« Reply #11 on: September 08, 2011, 01:10:31 pm »

Don't forget to check that a live puppy not falling to his doom will also set off such a plate of course.

I'm not sure if I follow the logic here.  So... how do we kill the puppies?

Well, they're falling on the pressure plate.

Ah, sorry, I think I forgot how to understand words for a little bit there.  Carry on.
Logged

Varnifane

  • Bay Watcher
    • View Profile
Re: The Puppy Clock
« Reply #12 on: September 08, 2011, 01:13:33 pm »

I regret to inform the community that the mass murder of puppies does not create a viable clock.

Sigged
Logged
I regret to inform the community that the mass murder of puppies does not create a viable clock.
I don't know if you need other ideas when you have magma.

Nil Eyeglazed

  • Bay Watcher
    • View Profile
Re: The Puppy Clock
« Reply #13 on: September 08, 2011, 02:50:21 pm »

I was doing some testing with this with goblins.

I found that goblins did not set off pressure plates when they "died after colliding with an obstacle" onto them.

I saw dodging that led to weirdly timed actions when being dropped from a bridge.

There was some weirdness with when the pressure plate actually triggered from a goblin-drop (1 z-level).

I didn't do enough testing-- questions are, is a hatch drop a predictable length; does dropping from a single square bridge produce a reliable signal; does a 1 z drop lead to a predictable delay on triggering a pressure plate.

In a way, it's pretty far-fetched anyways-- a 6 tick delay in a device with a several hundred tick refractory period would mean you'd need at least thirty linked to each other to form a viable clock.    If bridges or grates could work, you could make that a 106 delay, and you'd need far fewer, maybe just two.  It's difficult to get the clock to return to original position with anything other than domestic animals  (almost impossible to get a goblin on a single, droppable square, not without paraplegic or carefully timed goblins).
« Last Edit: September 08, 2011, 04:26:19 pm by Nil Eyeglazed »
Logged
He he he.  Yeah, it almost looks done...  alas...  those who are in your teens, hold on until your twenties...  those in your twenties, your thirties...  others, cling to life as you are able...<P>It should be pretty fun though.

plynxis

  • Bay Watcher
  • Oh god I'm so tired, leave me alone...
    • View Profile
Re: The Puppy Clock
« Reply #14 on: September 08, 2011, 03:20:35 pm »

has anyone tried to actually trigger it with a plain honest rock?

or a caged goblin if you really want flesh in the mix - fill the bottom plate with magma, include the slower drop rate of the cage through the magma in the calculation, and you've got a clock that still kills stuff.

maybe we'll have to skip killing puppies but we can still get our clock
Logged
What? Go away, I'm sleep deprived...
Pages: [1] 2 3