645
« on: August 18, 2014, 06:05:33 pm »
Hmmm, I was thinking that an animal pastured on top of a pressure plate could be used to detect trapavoid invaders. The idea being that the animal is triggering the plate until it is killed, then the plate would turn on the pumps. This has a couple of complications, though.
For one, the plate the animal is no longer on (hereafter: animal plate) would send an 'off' signal, which would need to be inverted. That's not hard, just have a tile with 7/7 water and another plate (hereafter: water plate) in the tile, set to trigger on 0/7 to 4/7, and have a drawbridge next to it set to go down when the animal plate sends an 'off', which would let the water off the water plate, causing the water plate to send an 'on' to the pumps.
The biggest problem is the delays. The animal plate will wait 100 ticks before sending its 'off', and the bridge will wait 100 ticks after getting its 'off' before going down and releasing the water. That's a 200+ tick delay between the animal leaving the plate and the pumps starting.
Ahh, wait, there is another problem, which may well be the solution. The animal will run away as soon as it sees the invader, rather than waiting to be killed. So set up its pasture so that when it runs away it will go over a pressure plate set to citizens of the animal's weight. That will immediately send an 'on' to the pumps. This assumes that the animal will run away from the invader, not try and engage it or simply freeze in place.
Or flee towards it, like my dwarves were doing when there was a weremoose in the entrance to my fort yesterday. I had set a civilian alert to keep them inside the fort, but when the weremoose (sounds like a Monty Python joke) got to the entrance, dwarves that saw it kept running out the entrance, right past the weremoose, which proceeded to chase them down and kill them. Including my only two doctors. Scared dwarves (and probably animals) do unpredictable things. So you probably just need to put plates all around the pasture.
And don't forget to have a way to shut it all off when your dwarves lead the animal into the pasture.
This adds a layer of complication to vjek's elegantly simple design, but it shouldmight work to get trapavoids. But it's certainly not auto-resetting. You'd have to turn off the master switch, pasture a new animal, and then turn on the master switch again.
Will trade wagons path over pressure plates? If so, then if you put up ramps instead of the stairs at each end, you could use this on the route to your depot.
Keith