commit so i can go bugfix and do other things

besides code in organs...tell me what i did wrong!
This commit is contained in:
Aurorablade
2016-01-09 00:05:25 -05:00
parent 87d2023af3
commit 678a2e9f4e
7 changed files with 49 additions and 33 deletions
+9 -6
View File
@@ -31,13 +31,16 @@
var/messagesource = M
if (can_operate(M)) //Checks if mob is lying down on table for surgery
if(istype(src,/obj/item/robot_parts))//popup ovveride for direct attach
if(!attempt_initiate_surgery(src, M, user,1))
return 0
if(istype(src,/obj/item/weapon/screwdriver) && M.get_species() == "Machine")
if(!attempt_initiate_surgery(src, M, user))
return 0
if(is_sharp(src))
if(istype(src,/obj/item/weapon/circular_saw) || istype(src,/obj/item/weapon/melee/energy/sword/cyborg/saw) || istype(src,/obj/item/robot_parts))//popup ovveride for direct amputation
if(!attempt_initiate_surgery(src, M, user,1))
return
else
if(!attempt_initiate_surgery(src, M, user))
return
if(!attempt_initiate_surgery(src, M, user))
return 0
return
if (istype(M,/mob/living/carbon/brain))
messagesource = M:container