Bay 12 Games Forum

Please login or register.

Login with username, password and session length
Advanced search  

Author Topic: Triggers which send only "on" commands  (Read 762 times)

JasonMel

  • Bay Watcher
    • View Profile
Triggers which send only "on" commands
« on: January 16, 2012, 11:00:40 pm »

... or "off" commands.

Can anyone think of a way of modifying the output of a trigger such that all commands of one kind (either "open" or "close") are blocked or not passed on, while the opposite command is sent normally?
Logged

Callista

  • Bay Watcher
    • View Profile
Re: Triggers which send only "on" commands
« Reply #1 on: January 16, 2012, 11:45:39 pm »

I guess if you set a repeater, and then found a way to block every other command... two repeaters, one with double the frequency of the other?
Logged

Urist Da Vinci

  • Bay Watcher
  • [NATURAL_SKILL: ENGINEER:4]
    • View Profile
Re: Triggers which send only "on" commands
« Reply #2 on: January 17, 2012, 02:31:51 am »

You may want a latch of some kind, where a pressure plate triggers a hatch that opens and dumps water onto a water-sensitive pressure plate, which then controls a device. Only an on signal is sent since the water never leaves the second plate unless you reset the latch via draining (use a floodgate and a lever).

NonconsensualSurgery

  • Bay Watcher
    • View Profile
Re: Triggers which send only "on" commands
« Reply #3 on: January 17, 2012, 03:33:13 am »

You may want a latch of some kind, where a pressure plate triggers a hatch that opens and dumps water onto a water-sensitive pressure plate, which then controls a device. Only an on signal is sent since the water never leaves the second plate unless you reset the latch via draining (use a floodgate and a lever).

It's a SR NOR latch!

However, water logic is inconvenient on some maps. You can build a sensor-latch combo with a sufficiently heavy nongrazing animal that's pastured where a baddie can frighten it but not reach it. The animal leaves the pasture when it sees the threat and moves as far away as possible, either onto or off of a pressure plate, and holds the signal until the threat is gone. Having a door so you can change the state manually by letting the animal leave is helpful. Perfect for magma flood rooms.

The only disadvantage to an animal latch is finding the right animal and then remembering to never, ever let dwarves into the sensor chamber so they can't stupidly activate whatever horrible machinery you've connected to it at the wrong time.
Logged
Never had a bat massacre people with an axe before.
EDIT2: Oh god, the bat has got a title now.