Modified bookshelf wood spawning code

This commit is contained in:
Kearel
2015-07-24 00:18:24 -05:00
parent 94df140755
commit 4f3818e408

View File

@@ -46,8 +46,7 @@
if(do_after(user,25))
if(!src) return
user << "<span class='notice'>You dismantle the [src.name].</span>"
var/obj/item/stack/w = new /obj/item/stack/material/wood(get_turf(src))
w.amount = 3
new /obj/item/stack/material/wood(get_turf(src), amount = 3)
for(var/obj/item/weapon/book/b in contents)
b.loc = (get_turf(src))
qdel(src)