Nuke mode nuclear detonations now properly declare round end information

Added a second neutral victory condition to nuke mode, complete with its own cinematic


git-svn-id: http://tgstation13.googlecode.com/svn/trunk@507 316c924e-a436-60f5-8080-3fe189b3f50e
This commit is contained in:
n3ophyt3@gmail.com
2010-12-01 07:01:07 +00:00
parent a107e9cc7b
commit 649dc66253
3 changed files with 52 additions and 9 deletions

View File

@@ -2022,7 +2022,7 @@
stat(null, "([x], [y], [z])")
stat(null, "CPU: [world.cpu]")
/client/proc/station_explosion_cinematic()
/client/proc/station_explosion_cinematic(var/derp)
if(src.mob)
var/mob/M = src.mob
M.loc = null // HACK, but whatever, this works
@@ -2041,12 +2041,14 @@
sleep(40)
M << sound('explosionfar.ogg')
boom.icon_state = "end"
flick("explode", boom)
if(!derp) flick("explode", boom)
else flick("explode2", boom)
sleep(40)
if(ticker)
switch(ticker.mode.name)
if("nuclear emergency")
boom.icon_state = "loss_nuke"
if (!derp) boom.icon_state = "loss_nuke"
else boom.icon_state = "loss_nuke2"
if("AI malfunction")
boom.icon_state = "loss_malf"
else