From 7bf81abef7e9f41c9253c0c47e969db61f729cdc Mon Sep 17 00:00:00 2001 From: noah the goodra Date: Sat, 16 Feb 2019 18:22:30 -0600 Subject: [PATCH] update airhack returns and nop ana --- code/modules/mob/airhack.dm | 23 +++++++++-------------- 1 file changed, 9 insertions(+), 14 deletions(-) diff --git a/code/modules/mob/airhack.dm b/code/modules/mob/airhack.dm index 9b815dabec..e65f030621 100644 --- a/code/modules/mob/airhack.dm +++ b/code/modules/mob/airhack.dm @@ -94,20 +94,15 @@ user << "You connect \the [src] to the port." update_icon() playsound(src, W.usesound, 50, 1) - return + return 1 else user << "\The [src] failed to connect to the port." - return + return 0 else - user << "Nothing happens." - return 1 - - 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/living/hit_with_weapon(obj/item/I, mob/living/user, var/effective_force, var/hit_zone) - user.Airattackby(I,src) - ..(I,user,effective_force,hit_zone) \ No newline at end of file + 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