From 3a2a750ea1cf2de949826ad0097fa6f97c4abe7e Mon Sep 17 00:00:00 2001 From: n3ophyt3 Date: Sat, 25 Jun 2011 14:40:31 +0000 Subject: [PATCH] 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 --- code/game/machinery/rechargestation.dm | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/code/game/machinery/rechargestation.dm b/code/game/machinery/rechargestation.dm index d24f9a1956d..9f88162560b 100644 --- a/code/game/machinery/rechargestation.dm +++ b/code/game/machinery/rechargestation.dm @@ -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 Only non-organics may enter the recharger!" @@ -128,6 +129,10 @@ if (src.occupant) usr << "\blue The cell is already occupied!" 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