/mob/camera/blob name = "Blob Overmind" real_name = "Blob Overmind" icon = 'icons/mob/blob.dmi' icon_state = "marker" see_in_dark = 8 see_invisible = SEE_INVISIBLE_MINIMUM invisibility = INVISIBILITY_OBSERVER pass_flags = PASSBLOB faction = list("blob") var/obj/effect/blob/core/blob_core = null // The blob overmind's core var/blob_points = 0 var/max_blob_points = 100 var/last_attack = 0 var/datum/reagent/blob_reagent_datum = new/datum/reagent() var/list/blob_mobs = list() var/ghostimage = null /mob/camera/blob/New() var/new_name = "[initial(name)] ([rand(1, 999)])" name = new_name real_name = new_name last_attack = world.time var/list/possible_reagents = list() for(var/type in (typesof(/datum/reagent/blob) - /datum/reagent/blob)) possible_reagents.Add(new type) blob_reagent_datum = pick(possible_reagents) if(blob_core) blob_core.adjustcolors(blob_reagent_datum.color) ghostimage = image(src.icon,src,src.icon_state) ghost_darkness_images |= ghostimage //so ghosts can see the blob cursor when they disable darkness updateallghostimages() ..() /mob/camera/blob/Life() if(!blob_core) qdel(src) ..() /mob/camera/blob/Destroy() if (ghostimage) ghost_darkness_images -= ghostimage qdel(ghostimage) ghostimage = null; updateallghostimages() ..() /mob/camera/blob/Login() ..() sync_mind() src << "You are the overmind!" src << "Your randomly chosen reagent is: [blob_reagent_datum.name]!" src << "You are the overmind and can control the blob! You can expand, which will attack people, and place new blob pieces such as..." src << "Normal Blob will expand your reach and allow you to upgrade into special blobs that perform certain functions." src << "Shield Blob is a strong and expensive blob which can take more damage. It is fireproof and can block air, use this to protect yourself from station fires." src << "Resource Blob is a blob which will collect more resources for you, try to build these earlier to get a strong income. It will benefit from being near your core or multiple nodes, by having an increased resource rate; put it alone and it won't create resources at all." src << "Node Blob is a blob which will grow, like the core. Unlike the core it won't give you a small income but it can power resource and factory blobs to increase their rate." src << "Factory Blob is a blob which will spawn blob spores which will attack nearby food. Putting this nearby nodes and your core will increase the spawn rate; put it alone and it will not spawn any spores." src << "Shortcuts: CTRL Click = Expand Blob / Middle Mouse Click = Rally Spores / Alt Click = Create Shield" update_health() /mob/camera/blob/proc/update_health() if(blob_core) hud_used.blobhealthdisplay.maptext = "