Fix amputees picking up items, make sure viruses don't affect robotic limbs

This commit is contained in:
Markolie
2015-08-09 19:36:39 +02:00
parent a57e10e93d
commit f09584e99a
2 changed files with 16 additions and 10 deletions
+4 -1
View File
@@ -138,8 +138,11 @@
var/obj/item/organ/external/temp = H.organs_by_name["r_hand"]
if (user.hand)
temp = H.organs_by_name["l_hand"]
if(!temp)
user << "<span class='warning'>You try to use your hand, but it's missing!"
return 0
if(temp && !temp.is_usable())
user << "<span class='notice'>You try to move your [temp.name], but cannot!"
user << "<span class='warning'>You try to move your [temp.name], but cannot!"
return 0
if (istype(src.loc, /obj/item/weapon/storage))