From 0ee85426775e26d63294abe2beef343477617842 Mon Sep 17 00:00:00 2001 From: kevinz000 <2003111+kevinz000@users.noreply.github.com> Date: Wed, 1 Aug 2018 21:27:43 -0700 Subject: [PATCH] Update toolbox.dm --- code/game/objects/items/storage/toolbox.dm | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/code/game/objects/items/storage/toolbox.dm b/code/game/objects/items/storage/toolbox.dm index 689319e672..12d5d34fbb 100644 --- a/code/game/objects/items/storage/toolbox.dm +++ b/code/game/objects/items/storage/toolbox.dm @@ -79,10 +79,17 @@ has_latches = FALSE /obj/item/storage/toolbox/mechanical/old/heirloom - name = "toolbox" //this will be named "X family toolbox" + name = "old, robust toolbox" //this will be named "X family toolbox" desc = "It's seen better days." - force = 5 - w_class = WEIGHT_CLASS_NORMAL + force = 12 + total_mass = 2 + +/obj/item/storage/toolbox/mechanical/old/heirloom/afterattack(atom/A, mob/user, proximity) + . = ..() + if(proximity) + if(isobj(A)) + var/obj/O = A + O.take_damage(20) /obj/item/storage/toolbox/mechanical/old/heirloom/PopulateContents() return