From 54fae4a34f59f83f6bcd1965cf89740740e0d73b Mon Sep 17 00:00:00 2001 From: "quartz235@gmail.com" Date: Wed, 21 Dec 2011 15:18:26 +0000 Subject: [PATCH] Robots can't be handcuffed anymore (albeit in the most primitive way possible because fuck why doesn't if(!isrobot()) work in the handcuff code) Because seriously what the fuck is that even git-svn-id: http://tgstation13.googlecode.com/svn/trunk@2762 316c924e-a436-60f5-8080-3fe189b3f50e --- code/modules/mob/living/silicon/robot/robot.dm | 3 +++ 1 file changed, 3 insertions(+) diff --git a/code/modules/mob/living/silicon/robot/robot.dm b/code/modules/mob/living/silicon/robot/robot.dm index 4d8c83defaa..e386950f048 100644 --- a/code/modules/mob/living/silicon/robot/robot.dm +++ b/code/modules/mob/living/silicon/robot/robot.dm @@ -314,6 +314,9 @@ /mob/living/silicon/robot/attackby(obj/item/weapon/W as obj, mob/user as mob) + if (istype(W, /obj/item/weapon/handcuffs)) // fuck i don't even know why isrobot() in handcuff code isn't working so this will have to do + return + if (istype(W, /obj/item/weapon/weldingtool) && W:welding) if (W:remove_fuel(0)) bruteloss -= 30