Borgs with a completely drained cell can now enter recharge stations.

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@1727 316c924e-a436-60f5-8080-3fe189b3f50e
This commit is contained in:
n3ophyt3
2011-06-25 14:40:31 +00:00
parent dc0ae8275d
commit 3a2a750ea1
+6 -1
View File
@@ -120,7 +120,8 @@
move_inside()
set src in oview(1)
if (usr.stat != 0 || stat & (NOPOWER|BROKEN))
if (usr.stat == 2)
//Whoever had it so that a borg with a dead cell can't enter this thing should be shot. --NEO
return
if (!(istype(usr, /mob/living/silicon/)))
usr << "\blue <B>Only non-organics may enter the recharger!</B>"
@@ -128,6 +129,10 @@
if (src.occupant)
usr << "\blue <B>The cell is already occupied!</B>"
return
if (!usr:cell)
usr<<"\blue Without a powercell, you can't be recharged."
//Make sure they actually HAVE a cell, now that they can get in while powerless. --NEO
return
usr.pulling = null
usr.client.perspective = EYE_PERSPECTIVE
usr.client.eye = src