Moves splat code to afterattack

You may now splat cockroaches and butterflies.
This commit is contained in:
Mike Long
2016-07-14 10:44:33 -04:00
parent e44a7fb7aa
commit b23ac08a41
2 changed files with 12 additions and 11 deletions
@@ -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)
..()