mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2025-12-20 15:21:29 +00:00
27 lines
485 B
Plaintext
27 lines
485 B
Plaintext
/obj/effect/blob/resource
|
|
name = "resource blob"
|
|
icon = 'icons/mob/blob.dmi'
|
|
icon_state = "blob_resource"
|
|
health = 30
|
|
fire_resist = 2
|
|
var/mob/camera/blob/overmind = null
|
|
var/resource_delay = 0
|
|
|
|
update_icon()
|
|
if(health <= 0)
|
|
playsound(src.loc, 'sound/effects/splat.ogg', 50, 1)
|
|
Delete()
|
|
return
|
|
return
|
|
|
|
run_action()
|
|
if(resource_delay > world.time)
|
|
return 0
|
|
|
|
resource_delay = world.time + 60 // 6 seconds
|
|
|
|
if(overmind)
|
|
overmind.add_points(1)
|
|
return 1
|
|
|