initial commit - Straight pull from Virgo's master branch from 5/6/2018 at 6:00 PM EST

This commit is contained in:
deathride58
2018-05-06 19:05:49 -04:00
commit f1893fa0a0
5685 changed files with 1281838 additions and 0 deletions

View File

@@ -0,0 +1,30 @@
/obj/structure/blob/resource
name = "resource blob"
base_name = "resource blob"
icon = 'icons/mob/blob.dmi'
icon_state = "blob_resource"
desc = "A thin spire of slightly swaying tendrils."
max_integrity = 40
point_return = 15
var/resource_delay = 0
/obj/structure/blob/resource/New(var/newloc, var/new_overmind)
..(newloc, new_overmind)
if(overmind)
overmind.resource_blobs += src
/obj/structure/blob/resource/Destroy()
if(overmind)
overmind.resource_blobs -= src
return ..()
/obj/structure/blob/resource/pulsed()
. = ..()
if(resource_delay > world.time)
return
flick("blob_resource_glow", src)
if(overmind)
overmind.add_points(1)
resource_delay = world.time + 4 SECONDS + (overmind.resource_blobs.len * 2.5) //4 seconds plus a quarter second for each resource blob the overmind has
else
resource_delay = world.time + 4 SECONDS