From ad400d1a731bdcda478220d06503be78be847f16 Mon Sep 17 00:00:00 2001 From: noah the goodra Date: Sun, 17 Feb 2019 15:48:58 -0600 Subject: [PATCH] fixed attack and analyser --- code/modules/mob/airhack.dm | 13 +++++++------ vorestation.dme | 1 + 2 files changed, 8 insertions(+), 6 deletions(-) diff --git a/code/modules/mob/airhack.dm b/code/modules/mob/airhack.dm index e65f030621..bf3555c9a1 100644 --- a/code/modules/mob/airhack.dm +++ b/code/modules/mob/airhack.dm @@ -100,9 +100,10 @@ return 0 else return 0 - else return 0 - //else if ((istype(W, /obj/item/device/analyzer)) && Adjacent(user)) - // var/obj/item/device/analyzer/A = W - // A.analyze_gases(src, user) - // return 1 - //return 0 \ No newline at end of file + else if ((istype(W, /obj/item/device/analyzer)) && Adjacent(user)) + var/obj/item/device/analyzer/A = W + A.analyze_gases(src, user) + return 1 + return 0 +/mob/proc/atmosanalyze(var/mob/user) + return atmosanalyzer_scan(src, src.air_contents, user) diff --git a/vorestation.dme b/vorestation.dme index 63703aff4c..c82990ac31 100644 --- a/vorestation.dme +++ b/vorestation.dme @@ -1897,6 +1897,7 @@ #include "code\modules\mining\orm_vr\construction.dm" #include "code\modules\mining\orm_vr\equipment_vendor.dm" #include "code\modules\mining\orm_vr\mine_point_items.dm" +#include "code\modules\mob\airhack.dm" #include "code\modules\mob\animations.dm" #include "code\modules\mob\death.dm" #include "code\modules\mob\emote.dm"