mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-27 22:17:32 +01:00
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:
@@ -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
|
||||
|
||||
@@ -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)
|
||||
|
||||
@@ -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()
|
||||
@@ -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")
|
||||
|
||||
Reference in New Issue
Block a user