Useful Toxin (#10771)

Toxin now does damage to any egg clusters that a nurse spider injected into someone.
    The amount of toxin bottles in medical vendors have been lowered to 1, down from 4.
This commit is contained in:
Geeves
2020-12-16 23:22:16 +02:00
committed by GitHub
parent a0b0301d11
commit f89337159b
5 changed files with 35 additions and 12 deletions
+9
View File
@@ -79,6 +79,7 @@
name = "egg cluster"
desc = "They seem to pulse slightly with an inner life."
icon_state = "eggs"
health = 10
var/amount_grown = 0
var/last_itch = 0
@@ -119,6 +120,14 @@
last_itch = world.time
to_chat(O.owner, "<span class='notice'>Your [O.name] itches.</span>")
/obj/effect/spider/eggcluster/proc/take_damage(var/damage)
health -= damage
if(health <= 0)
var/obj/item/organ/external/O = loc
if(istype(O) && O.owner)
to_chat(O.owner, SPAN_WARNING("You feel something dissolve in your [O.name]..."))
qdel(src)
/obj/effect/spider/spiderling
name = "spiderling"
desc = "It never stays still for long."