mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2025-12-27 10:41:42 +00:00
28 lines
786 B
Plaintext
28 lines
786 B
Plaintext
/proc/mini_blob_event()
|
|
|
|
var/turf/T = pick(blobstart)
|
|
var/obj/effect/blob/core/bl = new /obj/effect/blob/core(T, 200)
|
|
spawn(0)
|
|
bl.Life()
|
|
bl.Life()
|
|
bl.Life()
|
|
blobevent = 1
|
|
spawn(0)
|
|
dotheblobbaby()
|
|
spawn(3000)
|
|
blobevent = 0
|
|
spawn(rand(1000, 2000)) //Delayed announcements to keep the crew on their toes.
|
|
command_announcement.Announce("Confirmed outbreak of level 5 biohazard aboard [station_name()]. All personnel must contain the outbreak.", "Biohazard Alert", new_sound = 'sound/AI/outbreak5.ogg')
|
|
|
|
/proc/dotheblobbaby()
|
|
if (blobevent)
|
|
if(blob_cores.len)
|
|
for(var/i = 1 to 5)
|
|
sleep(-1)
|
|
if(!blob_cores.len) break
|
|
var/obj/effect/blob/B = pick(blob_cores)
|
|
if(!(B.z in config.station_levels))
|
|
continue
|
|
B.Life()
|
|
spawn(30)
|
|
dotheblobbaby() |