Bit of blob work.

Moved the radio defines into the actual radio code files.
Fixed a few runtimes.

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@2229 316c924e-a436-60f5-8080-3fe189b3f50e
This commit is contained in:
mport2004@gmail.com
2011-09-19 10:06:55 +00:00
parent 451ebb2d75
commit 1fa2d19cfb
15 changed files with 274 additions and 285 deletions
+6 -6
View File
@@ -87,7 +87,7 @@
if (1)
command_alert("Confirmed outbreak of level 5 biohazard aboard [station_name()]. All personnel must contain the outbreak.", "Biohazard Alert")
world << sound('outbreak5.ogg')
autoexpand = 0//The blob now has to live on its own
// autoexpand = 0//The blob now has to live on its own
stage = 2
// now check every minute
next_stage = world.timeofday + 600
@@ -169,17 +169,17 @@
intercepttext += "Your orders are as follows:<BR>"
intercepttext += "1. Secure the Nuclear Authentication Disk.<BR>"
intercepttext += "2. Detonate the Nuke located in the Station's Vault.<BR>"
intercepttext += "Nuclear Authentication Code: [nukecode]"
intercepttext += "Nuclear Authentication Code: [nukecode] <BR>"
intercepttext += "Message ends."
for(var/obj/machinery/computer/communications/comm in world)
if (!(comm.stat & (BROKEN | NOPOWER)) && comm.prints_intercept)
comm.messagetitle.Add(interceptname)
comm.messagetext.Add(intercepttext)
if(!(comm.stat & (BROKEN | NOPOWER)) && comm.prints_intercept)
var/obj/item/weapon/paper/intercept = new /obj/item/weapon/paper( comm.loc )
intercept.name = "paper- [interceptname]"
intercept.info = intercepttext
comm.messagetitle.Add(interceptname)
comm.messagetext.Add(intercepttext)
@@ -216,4 +216,4 @@
world << text("<B>The AI failed to maintain the quarantine - [] were in space and [] were off-station (as far as we can tell).</B>", numSpace, numOffStation)
log_game("AI lost at Blob mode.")
log_game("Blob mode was lost.")
return 1
return 1
+1 -1
View File
@@ -154,7 +154,7 @@
if(T.Enter(B,src))
B.loc = T
else
for(var/atom/A in T)//This might be killing the spores
for(var/atom/A in T)//This might be killing the spores, it IS killing the spores
A.blob_act()
T.blob_act()
del(B)
+11 -3
View File
@@ -8,16 +8,24 @@
bl.Life()
bl.Life()
bl.Life()
bl.blobdebug = 1
bl.Life()
blobevent = 1
dotheblobbaby()
spawn(0)
dotheblobbaby()
spawn(3000)
blobevent = 0
/proc/dotheblobbaby()
if (blobevent)
for(var/obj/blob/B in world)
if (prob (40))
if (blobs.len > 0)
for(var/i = 1 to 10)
sleep(-1)
if (blobs.len == 0)
break
var/obj/blob/B = pick(active_blobs)
if(B.z != 1)
continue
B.Life()
spawn(30)
dotheblobbaby()
+1 -1
View File
@@ -204,7 +204,7 @@
as it will return null). Leaving this for you since you apparently plan to work this further. /N
*/
if(!ticker.mode.check_win())//If the mode does not deal with the nuke going off so just reboot because everyone is stuck as is
if(!ticker.mode.check_finished())//If the mode does not deal with the nuke going off so just reboot because everyone is stuck as is
world << "<B>Resetting in 30 seconds!</B>"
sleep(300)
log_game("Rebooting due to nuclear detonation")