mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-10 18:22:39 +00:00
34 lines
526 B
Plaintext
34 lines
526 B
Plaintext
/obj/effect/blob/node
|
|
name = "blob node"
|
|
icon = 'icons/mob/blob.dmi'
|
|
icon_state = "blob_node"
|
|
health = 100
|
|
brute_resist = 1
|
|
fire_resist = 2
|
|
|
|
|
|
New(loc, var/h = 100)
|
|
blobs += src
|
|
blob_nodes += src
|
|
processing_objects.Add(src)
|
|
..(loc, h)
|
|
|
|
|
|
Destroy()
|
|
blob_nodes -= src
|
|
processing_objects.Remove(src)
|
|
..()
|
|
return
|
|
|
|
|
|
update_icon()
|
|
if(health <= 0)
|
|
playsound(src.loc, 'sound/effects/splat.ogg', 50, 1)
|
|
qdel(src)
|
|
return
|
|
return
|
|
|
|
|
|
run_action()
|
|
Pulse(0,0)
|
|
return 0 |