Deconstructing display cases and coffins now drop the correct amount of wood. (#25445)

This commit is contained in:
TrustyGun
2017-03-25 10:01:43 -03:00
committed by Leo
parent 41f5ece330
commit 0fa7c3f3f6
2 changed files with 3 additions and 1 deletions
@@ -131,6 +131,8 @@
max_integrity = 70
horizontal = TRUE
delivery_icon = "deliverycrate"
material_drop = /obj/item/stack/sheet/mineral/wood
material_drop_amount = 5
/obj/structure/closet/wardrobe/red
name = "security wardrobe"
+1 -1
View File
@@ -207,7 +207,7 @@
playsound(src.loc, I.usesound, 50, 1)
if(do_after(user, 30*I.toolspeed, target = src))
playsound(src.loc, 'sound/items/Deconstruct.ogg', 50, 1)
new /obj/item/stack/sheet/mineral/wood(get_turf(src))
new /obj/item/stack/sheet/mineral/wood(get_turf(src), 5)
qdel(src)
else if(istype(I, /obj/item/weapon/electronics/airlock))