CleverRaven/Cataclysm-DDA — pull request #8158 by kevingranade (2014-07-06 22:46:20+00:00)
Title: [WIP] Some changes to secret switches

Sorry for making this a new PR, I forgot I had merged it onto the current CleverRaven master, so making a pull request back to the original branch adds a ton of history that makes the changes almost impossible to see.

What this does is flip the implementation around, instead of having traps all over that give you a chance to detect the special tiles, I stuck the special switch traps under the furniture with the switch, and when you detect the trap, it unlocks the ability to interact with the furniture.

A few minor issues:
The furniture picks up the color of the trap but not the symbol. I looks kind of neat, which is why I haven't turned that off, that's easy enough to do.
You have to put the trap in the terrain under the furniture instead of in the furniture, which is a little crummy. Can add the ability to attach a trap to furniture like we already do to terrain, but then we have to handle the situation where both have it set.