Files
Aurora.3/code/modules/events/blob.dm
NanakoAC 4c7e1eb595 False Alarm Fixes (#1022)
-Makes a lot of unsuitable events excluded from faking. Some of them could do with reworking to make them function, like the infestation and prison breaks, but for now i just had to exclude them
-Adds an In-character/descriptive name, used for the announcement apologising for the mistake
-Fixes an issue where using debug Trigger Event verb would fill the events list with empty severe events and cause runtime errors
2016-10-02 21:24:00 +03:00

27 lines
646 B
Plaintext

/datum/event/blob
announceWhen = 12
endWhen = 120
var/obj/effect/blob/core/Blob
ic_name = "a biohazard"
/datum/event/blob/announce()
command_announcement.Announce("Confirmed outbreak of level 7 biohazard aboard [station_name()]. All personnel must contain the outbreak.", "Biohazard Alert", new_sound = 'sound/AI/outbreak7.ogg')
/datum/event/blob/start()
var/turf/T = pick(blobstart)
if(!T)
kill()
return
Blob = new /obj/effect/blob/core(T, 120)
for(var/i = 1; i < rand(3, 4), i++)
Blob.process()
/datum/event/blob/tick()
if(!Blob)
kill()
return
if(IsMultiple(activeFor, 3))
Blob.process()