diff --git a/code/modules/library/lib_items.dm b/code/modules/library/lib_items.dm
index dd7b04527b0..4e98940365d 100644
--- a/code/modules/library/lib_items.dm
+++ b/code/modules/library/lib_items.dm
@@ -45,18 +45,18 @@
else if(istype(O, /obj/item/weapon/storage/bible))
user.drop_item(O, src)
update_icon()
- else if(istype(O, /obj/item/weapon/wrench))
- user << " Now disassembling bookcase"
+ else if(istype(O, /obj/item/weapon/screwdriver))
+ user << "Now disassembling bookcase"
playsound(get_turf(src), 'sound/items/Ratchet.ogg', 50, 1)
if(do_after(user, src,50))
- new /obj/item/stack/sheet/wood(get_turf(src))
- new /obj/item/stack/sheet/wood(get_turf(src))
- new /obj/item/stack/sheet/wood(get_turf(src))
- new /obj/item/stack/sheet/wood(get_turf(src))
- new /obj/item/stack/sheet/wood(get_turf(src))
+ getFromPool(/obj/item/stack/sheet/wood, get_turf(src), 5)
density = 0
qdel(src)
return
+ else if(istype(O, /obj/item/weapon/wrench))
+ playsound(src.loc, 'sound/items/Ratchet.ogg', 50, 1)
+ user << (anchored ? "You unfasten the [src] from the floor." : "You secure the [src] to the floor.")
+ anchored = !anchored
else if(istype(O, /obj/item/weapon/pen))
var/newname = stripped_input(usr, "What would you like to title this bookshelf?")
if(!newname)
@@ -72,9 +72,7 @@
else
if (src.health <= 0)
visible_message("The bookcase is smashed apart!")
- new /obj/item/stack/sheet/wood(get_turf(src))
- new /obj/item/stack/sheet/wood(get_turf(src))
- new /obj/item/stack/sheet/wood(get_turf(src))
+ getFromPool(/obj/item/stack/sheet/wood, get_turf(src), 3)
qdel(src)
..()
diff --git a/html/changelogs/Zth-library.yml b/html/changelogs/Zth-library.yml
new file mode 100644
index 00000000000..23c635cb3de
--- /dev/null
+++ b/html/changelogs/Zth-library.yml
@@ -0,0 +1,37 @@
+################################
+# Example Changelog File
+#
+# Note: This file, and files beginning with ".", and files that don't end in ".yml" will not be read. If you change this file, you will look really dumb.
+#
+# Your changelog will be merged with a master changelog. (New stuff added only, and only on the date entry for the day it was merged.)
+# When it is, any changes listed below will disappear.
+#
+# Valid Prefixes:
+# bugfix
+# wip (For works in progress)
+# tweak
+# soundadd
+# sounddel
+# rscdel (general adding of nice things)
+# rscadd (general deleting of nice things)
+# imageadd
+# imagedel
+# spellcheck (typo fixes)
+# experiment
+# tgs (TG-ported fixes?)
+#################################
+
+# Your name.
+author: Zth
+
+# Optional: Remove this file after generating master changelog. Useful for PR changelogs that won't get used again.
+#delete-after: True
+
+# Any changes you've made. See valid prefix list above.
+# INDENT WITH TWO SPACES. NOT TABS. SPACES.
+# SCREW THIS UP AND IT WON'T WORK.
+# Also, this gets changed to [] after reading. Just remove the brackets when you add new shit.
+changes:
+ - tweak: Bookcase can now be wrenched/unwrenched.
+ - tweak: Bookcases are now disassembled with a screwdriver.
+ - bugfix: Bookcases now drop a stack of wood instead of 5 planks.