a48ba0d256
-Centcom announcement proc merged with generic priority announcement proc -Re-added the Captain Announces accompanied by a new pleasant sound, instead of the generic priority announcement -Captain Announcements will automatically generate a newscaster article -Priority announcements without any defined accompanying sound will play a generic "Attention" soundbyte as an audio cue -Communications consoles will display who is currently logged in
35 lines
792 B
Plaintext
35 lines
792 B
Plaintext
/datum/round_event_control/blob
|
|
name = "Blob"
|
|
typepath = /datum/round_event/blob
|
|
weight = 5
|
|
max_occurrences = 1
|
|
|
|
earliest_start = 48000 // 1 hour 20 minutes
|
|
|
|
/datum/round_event/blob
|
|
announceWhen = 12
|
|
endWhen = 120
|
|
|
|
var/obj/effect/blob/core/Blob
|
|
|
|
|
|
/datum/round_event/blob/announce()
|
|
priority_announce("Confirmed outbreak of level 5 biohazard aboard [station_name()]. All personnel must contain the outbreak.", "Biohazard Alert", 'sound/AI/outbreak5.ogg')
|
|
|
|
|
|
/datum/round_event/blob/start()
|
|
var/turf/T = pick(blobstart)
|
|
if(!T)
|
|
return kill()
|
|
Blob = new /obj/effect/blob/core(T, 200)
|
|
for(var/i = 1; i < rand(3, 6), i++)
|
|
Blob.process()
|
|
|
|
|
|
/datum/round_event/blob/tick()
|
|
if(!Blob)
|
|
kill()
|
|
return
|
|
if(IsMultiple(activeFor, 3))
|
|
Blob.process()
|