tgstation/-tg-station — pull request #5292 by JJRcop (2014-10-17 04:05:40+00:00)
Title: You can hack suit sensors

I made it so you can hack suit sensors by clicking on them with wirecutters, this causes them to capture the current stats, and only show the captured stats, instead of the actual ones.

The intent is to allow people to have suit sensors on so they reduce their likelihood of being a suspect, but that aren't actually reporting their real health and location. Since it never updates, you can be discovered if you have your sensors hacked for too long and there is an attentive person watching sensors.

*NOTE: If you don't actually have the jumpsuit on while hacking it, it will still capture stats.. of nobody.. so you essentially disable the sensors if you hack a jumpsuit that nobody is wearing.*

**Commit log:**
d85f504
----
* Adds new query_sensors proc to jumpsuits that returns a list of lists that contain the various suit sensor data
* Changes the crew monitoring console to call query_sensors on jumpsuits instead of getting the stats itself
* You can hack suit sensors by clicking them with wirecutters, which will cause them to call query_sensors and store the result, only returning the stored result when queried again, you can "unhack" them by clicking on them with wirecutters again