mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-30 07:27:57 +01:00
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user