Update distributed_neurons.dm

This commit is contained in:
IndieanaJones
2020-03-16 20:10:31 -04:00
committed by GitHub
parent 025d0fc5f1
commit c1e2a4126b
@@ -1,18 +1,18 @@
//kills unconscious targets and turns them into blob zombies, produces fragile spores when killed or on expanding. Spore produced by factories are sentient.
//kills unconscious targets and turns them into blob zombies, produces fragile spores when killed. Spore produced by factories are sentient.
/datum/blobstrain/reagent/distributed_neurons
name = "Distributed Neurons"
description = "will do very low toxin damage and turns unconscious targets into blob zombies."
effectdesc = "will also produce fragile spores when killed and on expanding. Spores produced by factories are sentient."
effectdesc = "will also produce fragile spores when killed. Spores produced by factories are sentient."
shortdesc = "will do very low toxin damage and will turn unconscious targets into blob zombies for additional resources(for your overmind). Spores produced by factories are sentient."
analyzerdescdamage = "Does very low toxin damage and kills unconscious humans, turning them into blob zombies."
analyzerdesceffect = "Produces spores when expanding and when killed. Spores produced by factories are sentient."
analyzerdesceffect = "Produces spores when killed. Spores produced by factories are sentient."
color = "#E88D5D"
complementary_color = "#823ABB"
message_living = ", and you feel tired"
reagent = /datum/reagent/blob/distributed_neurons
/datum/blobstrain/reagent/distributed_neurons/damage_reaction(obj/structure/blob/B, damage, damage_type, damage_flag)
if((damage_flag == "melee" || damage_flag == "bullet" || damage_flag == "laser") && damage <= 20 && B.obj_integrity - damage <= 0 && prob(30)) //if the cause isn't fire or a bomb, the damage is less than 21, we're going to die from that damage, 20% chance of a shitty spore.
if((damage_flag == "melee" || damage_flag == "bullet" || damage_flag == "laser") && damage <= 20 && B.obj_integrity - damage <= 0 && prob(15)) //if the cause isn't fire or a bomb, the damage is less than 21, we're going to die from that damage, 15% chance of a shitty spore.
B.visible_message("<span class='warning'><b>A spore floats free of the blob!</b></span>")
var/mob/living/simple_animal/hostile/blob/blobspore/weak/BS = new/mob/living/simple_animal/hostile/blob/blobspore/weak(B.loc)
BS.overmind = B.overmind
@@ -20,13 +20,6 @@
B.overmind.blob_mobs.Add(BS)
return ..()
/datum/blobstrain/reagent/distributed_neurons/expand_reaction(obj/structure/blob/B, obj/structure/blob/newB, turf/T, mob/camera/blob/O)
if(prob(10))
var/mob/living/simple_animal/hostile/blob/blobspore/weak/BS = new/mob/living/simple_animal/hostile/blob/blobspore/weak(T)
BS.overmind = B.overmind
BS.update_icons()
newB.overmind.blob_mobs.Add(BS)
/datum/reagent/blob/distributed_neurons
name = "Distributed Neurons"
color = "#E88D5D"