mirror of
https://github.com/Aurorastation/Aurora.3.git
synced 2026-07-12 08:27:13 +01:00
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:
@@ -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."
|
||||
|
||||
Reference in New Issue
Block a user