mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-10 10:12:45 +00:00
Works on New Blob
This commit is contained in:
@@ -2,24 +2,20 @@
|
||||
announceWhen = 12
|
||||
endWhen = 120
|
||||
|
||||
var/obj/effect/blob/core/Blob
|
||||
var/obj/structure/blob/core/Blob
|
||||
|
||||
/datum/event/blob/announce()
|
||||
level_seven_announcement()
|
||||
|
||||
/datum/event/blob/start()
|
||||
var/turf/T = pick(blobstart)
|
||||
if(!T)
|
||||
kill()
|
||||
return
|
||||
Blob = new /obj/effect/blob/core(T)
|
||||
for(var/i = 1; i < rand(3, 4), i++)
|
||||
Blob.process()
|
||||
|
||||
Blob = new /obj/structure/blob/core/random_medium(T)
|
||||
|
||||
|
||||
/datum/event/blob/tick()
|
||||
if(!Blob || !Blob.loc)
|
||||
Blob = null
|
||||
kill()
|
||||
return
|
||||
if(IsMultiple(activeFor, 3))
|
||||
Blob.process()
|
||||
|
||||
Reference in New Issue
Block a user