Latest batch of fixes - bad ❄️

This commit is contained in:
Sam
2017-03-27 09:01:36 +01:00
parent 8965ba9872
commit 8bdd31c4c2
3 changed files with 10 additions and 6 deletions
@@ -50,8 +50,10 @@
/obj/structure/stool/bed/proc/handle_rotation()
return
/obj/structure/stool/bed/attack_animal(var/mob/living/simple_animal/M)//No more buckling hostile mobs to chairs to render them immobile forever
if(M.environment_smash)
/obj/structure/stool/bed/attack_animal(mob/living/simple_animal/user)
if(user.environment_smash)
user.do_attack_animation(src)
visible_message("<span class='danger'>[user] smashes [src] apart!</span>")
new buildstacktype(loc, buildstackamount)
qdel(src)
@@ -87,7 +87,7 @@
buildstacktype = /obj/item/stack/sheet/wood
// TODO: Special ash subtype that looks like charred chair legs
/obj/structure/stool/bed/chair/wood/attack_animal(mob/living/simple_animal/user) // Snowflakey, but limited current uses. Future refactor
/obj/structure/stool/bed/chair/wood/attack_animal(mob/living/simple_animal/user)
if(user.environment_smash)
user.do_attack_animation(src)
visible_message("<span class='danger'>[user] smashes [src] apart!</span>")