Ghetto surgery added. If you have some tools, you can table someone and operate on them! Of course, since it's a regular table instead of a proper operating table, it's pretty easy to mess up and accidentally stab them in the face instead, but odds are if you're not in the surgery room, you don't care.

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@1008 316c924e-a436-60f5-8080-3fe189b3f50e
This commit is contained in:
n3ophyt3@gmail.com
2011-02-09 21:33:21 +00:00
parent 1e0b699e35
commit 4483e05c3d
@@ -16,7 +16,7 @@ CIRCULAR SAW
if(!istype(M, /mob))
return
if(!(locate(/obj/machinery/optable, M.loc) && M.resting))
if(!((locate(/obj/machinery/optable, M.loc) && M.resting) || (locate(/obj/table/, M.loc) && (M.lying || M.weakened || M.stunned || M.paralysis || M.sleeping || M.stat) && prob(50))))
return ..()
if (user.zone_sel.selecting == "eyes")
@@ -62,7 +62,7 @@ CIRCULAR SAW
if(!istype(M, /mob))
return
if(!(locate(/obj/machinery/optable, M.loc) && M.resting))
if(!((locate(/obj/machinery/optable, M.loc) && M.resting) || (locate(/obj/table/, M.loc) && M.lying && prob(50))))
return ..()
if (user.zone_sel.selecting == "eyes")
@@ -108,7 +108,7 @@ CIRCULAR SAW
if(!istype(M, /mob))
return
if(!(locate(/obj/machinery/optable, M.loc) && M.resting))
if(!((locate(/obj/machinery/optable, M.loc) && M.resting) || (locate(/obj/table/, M.loc) && M.lying && prob(50))))
return ..()
if (user.zone_sel.selecting == "eyes")
@@ -167,7 +167,7 @@ CIRCULAR SAW
src.add_fingerprint(user)
if(!(locate(/obj/machinery/optable, M.loc) && M.resting))
if(!((locate(/obj/machinery/optable, M.loc) && M.resting) || (locate(/obj/table/, M.loc) && M.lying && prob(50))))
return ..()
if(user.zone_sel.selecting == "head")
@@ -289,7 +289,7 @@ CIRCULAR SAW
src.add_fingerprint(user)
if(!(locate(/obj/machinery/optable, M.loc) && M.resting))
if(!((locate(/obj/machinery/optable, M.loc) && M.resting) || (locate(/obj/table/, M.loc) && M.lying && prob(50))))
return ..()
if(user.zone_sel.selecting == "head")