locatorinos

This commit is contained in:
pinatacolada
2016-05-04 20:56:27 +01:00
parent 7e0b1302ec
commit 0f3f961ce0
+5 -5
View File
@@ -175,11 +175,11 @@
to_chat(user, "<span class='warning'>Central command would kill you if you implanted the disk into someone.</span>")
return 0//fail
if(istype(tool, /obj/item/weapon/storage/box))
for(var/obj/item/I in tool.contents)
if(istype(I, /obj/item/weapon/disk/nuclear))
to_chat(user, "<span class='warning'>Central command would kill you if you implanted the disk into someone. Even if in a box. Especially in a box.</span>")
return 0//fail
if(istype(tool, /obj/item/weapon/storage))
var/obj/item/weapon/disk/nuclear/datdisk = locate() in tool
if(datdisk)
to_chat(user, "<span class='warning'>Central command would kill you if you implanted the disk into someone. Even if in a box. Especially in a box.</span>")
return 0//fail
if(istype(tool,/obj/item/organ))
to_chat(user, "<span class='warning'>This isn't the type of surgery for organ transplants!</span>")