Operating tables can now be destroyed with a wrench. They give back as much plasteel as they cost to allow them to be moved. Trimmed dumb description for metal sheets.

This commit is contained in:
ProperPants
2016-03-29 19:50:38 -04:00
parent 9f824fc0bb
commit 15946be225
2 changed files with 8 additions and 2 deletions
+6
View File
@@ -126,6 +126,12 @@
take_victim(W:affecting,usr)
qdel(W)
return
if(istype(W, /obj/item/weapon/wrench))
playsound(src.loc, 'sound/items/Ratchet.ogg', 50, 1)
if(do_after(user, 20, target = src))
user << "<span class='notice'>You deconstruct the table.</span>"
new /obj/item/stack/sheet/plasteel( loc, 5)
qdel(src)
/obj/machinery/optable/proc/check_table(mob/living/carbon/patient as mob)
@@ -86,7 +86,7 @@ var/global/list/datum/stack_recipe/metal_recipes = list ( \
/obj/item/stack/sheet/metal
name = "metal"
desc = "Sheets made out off metal. It has been dubbed Metal Sheets."
desc = "Sheets made out of metal."
singular_name = "metal sheet"
icon_state = "sheet-metal"
materials = list(MAT_METAL=MINERAL_MATERIAL_AMOUNT)
@@ -96,7 +96,7 @@ var/global/list/datum/stack_recipe/metal_recipes = list ( \
/obj/item/stack/sheet/metal/cyborg
name = "metal"
desc = "Sheets made out off metal. It has been dubbed Metal Sheets."
desc = "Sheets made out of metal."
singular_name = "metal sheet"
icon_state = "sheet-metal"
materials = list()