Killing blob spores can now infect you with the blob

This commit is contained in:
alex-gh
2014-03-23 23:36:19 +01:00
parent ce7bb71ff7
commit ee2fee1371
@@ -2016,6 +2016,30 @@ datum
if( (prob(10) && method==TOUCH) || method==INGEST)
M.contract_disease(new /datum/disease/xeno_transformation(0),1)
spore
name = "Blob Spores"
id = "spore"
description = "Spores of some blob creature thingy."
reagent_state = LIQUID
color = "#CE760A" // rgb: 206, 118, 10
var/client/blob_client = null
var/blob_point_rate = 3
on_mob_life(var/mob/living/M)
if(!M) M = holder.my_atom
if (prob(1) && prob(50))
if(iscarbon(M))
var/mob/living/carbon/C = M
if(directory[ckey(C.key)])
blob_client = directory[ckey(C.key)]
C.gib()
if(blob_client)
var/obj/effect/blob/core/core = new(get_turf(C), 200, blob_client, blob_point_rate)
if(core.overmind && core.overmind.mind)
core.overmind.mind.name = C.name
return
//foam precursor
fluorosurfactant