mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-10 18:22:39 +00:00
Co-authored-by: Selis <12716288+ItsSelis@users.noreply.github.com> Co-authored-by: Kashargul <144968721+Kashargul@users.noreply.github.com>
22 lines
316 B
Plaintext
22 lines
316 B
Plaintext
/datum/event/blob
|
|
announceWhen = 12
|
|
endWhen = 120
|
|
|
|
var/obj/structure/blob/core/Blob
|
|
|
|
|
|
/datum/event/blob/start()
|
|
var/turf/T = pick(GLOB.blobstart)
|
|
if(!T)
|
|
kill()
|
|
return
|
|
|
|
Blob = new /obj/structure/blob/core/random_medium(T)
|
|
|
|
|
|
/datum/event/blob/tick()
|
|
if(!Blob || !Blob.loc)
|
|
Blob = null
|
|
kill()
|
|
return
|