Added an AI System Integrity Restorer to the RD's office

Stick an AI into it via intelicard, then push button to begin repair process.
  AI unable to interact with things while in there.
  Can revive dead AIs, but you won't be able to stick it back into its core until I come up with a way to repair damaged cores.

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@140 316c924e-a436-60f5-8080-3fe189b3f50e
This commit is contained in:
n3ophyt3@gmail.com
2010-09-22 05:45:41 +00:00
parent f7896b0a73
commit ecef57ac20
5 changed files with 3515 additions and 3330 deletions

View File

@@ -26,10 +26,10 @@
src.fire.icon_state = "fire0"
*/ //TODO: DEFERRED
if (src.health <= -100.0)
if (src.health <= -100.0 && !istype(src.loc, /obj/machinery/computer/aifixer))
death()
return
else if (src.health < 0)
else if (src.health < 0 && !istype(src.loc, /obj/machinery/computer/aifixer))
src.oxyloss++
if (src.machine)