Fixed a bunch of broken code relating to AI malfunction

Malf AIs now appear red-tinted
  Malf AIs now get their 30-second window of ability to explode the station when they win
  
AIs and Ghosts can now enjoy the glorious station explosion cinematics.

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@153 316c924e-a436-60f5-8080-3fe189b3f50e
This commit is contained in:
n3ophyt3@gmail.com
2010-09-23 02:38:42 +00:00
parent 184cce0222
commit 09a85d8c39
7 changed files with 62 additions and 31 deletions
+6
View File
@@ -1,2 +1,8 @@
/obj/hud/proc/ghost_hud()
src.station_explosion = new src.h_type( src )
src.station_explosion.icon = 'station_explosion.dmi'
src.station_explosion.icon_state = "start"
src.station_explosion.layer = 20
src.station_explosion.mouse_opacity = 0
src.station_explosion.screen_loc = "1,3"
return
@@ -1,2 +1,10 @@
/obj/hud/proc/ai_hud()
src.station_explosion = new src.h_type( src )
src.station_explosion.icon = 'station_explosion.dmi'
src.station_explosion.icon_state = "start"
src.station_explosion.layer = 20
src.station_explosion.mouse_opacity = 0
src.station_explosion.screen_loc = "1,3"
return
+2 -2
View File
@@ -2004,11 +2004,11 @@
switch(ticker.mode.name)
if("nuclear emergency")
flick("start_nuke", boom)
if("AI malfunction")
else if("AI malfunction")
flick("start_malf", boom)
else
boom.icon_state = "start"
sleep(40)
sleep(100)
M << sound('explosionfar.ogg')
boom.icon_state = "end"
flick("explode", boom)