Forensics QOL Changes (#7758)

Makes it so that using the forensics item on certain machinery such as airlocks, alarms, APCs, buttons, windoors etc doesn't apply fingerprints/fibers. This is necessary because these machines will call add_fingerprint BEFORE the forensic kit is used, thus polluting the sample with your own fibers, which is extremely annoying

Also made it so that using a forensics item on a fire alarm or button doesn't make you trigger them, because that's also really annoying.

This is take 2 because the first time I messed up my branches/forks because my brain is smooth.
This commit is contained in:
Crosarius
2020-01-02 11:49:51 +02:00
committed by Erki
parent 38a03fa0f8
commit e4d3993876
15 changed files with 80 additions and 20 deletions
+2 -1
View File
@@ -440,7 +440,8 @@
if (istype(user, /mob/living/silicon) && get_dist(src,user)>1)
return src.attack_hand(user)
src.add_fingerprint(user)
if(!istype(W, /obj/item/forensics))
src.add_fingerprint(user)
if (W.iscrowbar() && opened)
if (has_electronics==1)
if (terminal)