mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-10 18:22:39 +00:00
git-svn-id: http://tgstation13.googlecode.com/svn/trunk@5518 316c924e-a436-60f5-8080-3fe189b3f50e
29 lines
594 B
Plaintext
29 lines
594 B
Plaintext
/datum/event/blob
|
|
announceWhen = 12
|
|
endWhen = 120
|
|
|
|
var/obj/effect/blob/core/Blob
|
|
|
|
|
|
/datum/event/blob/announce()
|
|
command_alert("Confirmed outbreak of level 5 biohazard aboard [station_name()]. All personnel must contain the outbreak.", "Biohazard Alert")
|
|
world << sound('sound/AI/outbreak5.ogg')
|
|
|
|
|
|
/datum/event/blob/start()
|
|
var/turf/T = pick(blobstart)
|
|
if(!T)
|
|
kill()
|
|
return
|
|
Blob = new /obj/effect/blob/core(T, 200)
|
|
Blob.Life()
|
|
Blob.Life()
|
|
Blob.Life()
|
|
|
|
|
|
/datum/event/blob/tick()
|
|
if(!Blob)
|
|
kill()
|
|
return
|
|
if(IsMultiple(activeFor, 3))
|
|
Blob.Life() |