Files
Paradise/code/game/gamemodes/blob/blobs/resource.dm
Robertha89 4366f5f819 Updating Resource to /tg/ standars along with factory
title, makes resource nodes far better. should pick up the drag that is costing resources to send blob to corpse.
2015-05-10 02:24:12 +02:00

27 lines
491 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(get_turf(src), 'sound/effects/splat.ogg', 50, 1)
Delete()
return
return
run_action()
if(resource_delay > world.time)
return 0
resource_delay = world.time + 40 // 4 seconds
if(overmind)
overmind.add_points(1)
return 1