mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-07-20 03:25:49 +01:00
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:
@@ -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")
|
||||
|
||||
Reference in New Issue
Block a user