mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-23 03:57:13 +01:00
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user