mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-10 18:22:39 +00:00
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:
@@ -194,6 +194,7 @@
|
||||
var/mob/living/silicon/ai/ai = usr
|
||||
if (ai.control_disabled)
|
||||
return
|
||||
if (usr:lockcharge) return
|
||||
..()
|
||||
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user