Got my borg lockdown working as desired. Borgs so disabled are now able to talk (and robotalk), but unable to move or interact with things.

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@540 316c924e-a436-60f5-8080-3fe189b3f50e
This commit is contained in:
n3ophyt3@gmail.com
2010-12-05 19:10:09 +00:00
parent d44791fadd
commit 7d2226d249
2 changed files with 6 additions and 5 deletions

View File

@@ -194,6 +194,7 @@
var/mob/living/silicon/ai/ai = usr
if (ai.control_disabled)
return
if (usr:lockcharge) return
..()

View File

@@ -194,12 +194,12 @@
// message_admins("\blue [key_name_admin(usr)] [R.canmove ? "locked down" : "released"] [R.name]!")
R.canmove = !R.canmove
if (R.lockcharge)
R.cell.charge = R.lockcharge
R.lockcharge = null
R << "Your lockdown has been removed!"
// R.cell.charge = R.lockcharge
R.lockcharge = !R.lockcharge
R << "Your lockdown has been lifted!"
else
R.lockcharge = R.cell.charge
R.cell.charge = 0
R.lockcharge = !R.lockcharge
// R.cell.charge = 0
R << "You have been locked down!"
else