mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-07-21 04:57:57 +01:00
Moves splat code to afterattack
You may now splat cockroaches and butterflies.
This commit is contained in:
@@ -243,13 +243,6 @@
|
||||
return 1
|
||||
return 0
|
||||
|
||||
/mob/living/simple_animal/hostile/poison/bees/attacked_by(obj/item/I, mob/living/user)
|
||||
. = ..()
|
||||
if(istype(I, /obj/item/weapon/melee/flyswatter))
|
||||
user << "<span class='warning'>You easily splat the [src].</span>"
|
||||
new /obj/effect/decal/cleanable/deadcockroach(get_turf(src))
|
||||
death(1)
|
||||
|
||||
/obj/item/queen_bee
|
||||
name = "queen bee"
|
||||
desc = "She's the queen of bees, BZZ BZZ!"
|
||||
@@ -282,10 +275,6 @@
|
||||
name = queen.name
|
||||
else
|
||||
user << "<span class='warning'>You don't have enough units of that chemical to modify the bee's DNA!</span>"
|
||||
if(istype(I,/obj/item/weapon/melee/flyswatter))
|
||||
user << "<span class='warning'>You easily splat the [src].</span>"
|
||||
new /obj/effect/decal/cleanable/deadcockroach(get_turf(src))
|
||||
qdel(src)
|
||||
..()
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user