Janitor, hydroponics and medical inhands (#8456)

This commit is contained in:
Wowzewow (Wezzy)
2020-03-21 13:36:49 +01:00
committed by GitHub
parent a15f5de7f8
commit b9b42f4f8f
89 changed files with 475 additions and 330 deletions
+1 -1
View File
@@ -296,7 +296,7 @@
return
/obj/item/organ/internal/brain/attackby(obj/item/W as obj, mob/user as mob)
if(istype(W,/obj/item/surgicaldrill))
if(istype(W,/obj/item/surgery/surgicaldrill))
if(!can_lobotomize)
return
if(!lobotomized)
+3 -3
View File
@@ -137,17 +137,17 @@
/obj/item/organ/external/attackby(obj/item/W as obj, mob/user as mob)
switch(stage)
if(0)
if(istype(W,/obj/item/scalpel))
if(istype(W,/obj/item/surgery/scalpel))
user.visible_message("<span class='danger'><b>[user]</b> cuts [src] open with [W]!</span>")
stage++
return
if(1)
if(istype(W,/obj/item/retractor))
if(istype(W,/obj/item/surgery/retractor))
user.visible_message("<span class='danger'><b>[user]</b> cracks [src] open like an egg with [W]!</span>")
stage++
return
if(2)
if(istype(W,/obj/item/hemostat))
if(istype(W,/obj/item/surgery/hemostat))
if(contents.len)
var/obj/item/removing = pick(contents)
removing.forceMove(get_turf(user.loc))