Dones don't get to put people in or on things

Poor drones.
This commit is contained in:
jack-fractal
2015-08-15 16:17:42 -04:00
parent 83631a2c28
commit 44b53851ef
2 changed files with 4 additions and 0 deletions
+2
View File
@@ -112,6 +112,8 @@ proc/RoundHealth(health)
return
if(!ishuman(user) && !isrobot(user)) //No ghosts or mice putting people into the sleeper
return
if(istype(user, /mob/living/silicon/robot/drone)) // drones don't get to use medical machinery
return
if(user.loc==null) // just in case someone manages to get a closet into the blue light dimension, as unlikely as that seems
return
if(!istype(user.loc, /turf) || !istype(target.loc, /turf)) // are you in a container/closet/pod/etc?
@@ -349,6 +349,8 @@
if ((!( istype(O, /obj/item/weapon) ) || user.get_active_hand() != O))
return ..()
if(istype(user, /mob/living/silicon/robot/drone)) // drones don't get to table people
return ..()
user.drop_item()
if (O.loc != src.loc)
step(O, get_dir(O, src))