From b2ca380a1339d123fd110eeb02cbdd5d73b4037b Mon Sep 17 00:00:00 2001 From: Ghom <42542238+Ghommie@users.noreply.github.com> Date: Thu, 30 Jan 2020 03:15:24 +0100 Subject: [PATCH] Update weaponry.dm --- code/game/objects/items/weaponry.dm | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/code/game/objects/items/weaponry.dm b/code/game/objects/items/weaponry.dm index e9c97e4d2a..91c765b003 100644 --- a/code/game/objects/items/weaponry.dm +++ b/code/game/objects/items/weaponry.dm @@ -350,12 +350,13 @@ for further reading, please see: https://github.com/tgstation/tgstation/pull/301 extended_icon_state = "switchblade_ext_ms" /obj/item/switchblade/makeshift/attackby(obj/item/I) //Theres no way in hell I did this proc right. Special thanks to Hatterhat and Putnam. They pretty much made this proc for me because im a fucking dentskull haha. - if(istype(I,/obj/item/stack/sheet/mineral/silver)) - icon_state = "switchblade_msf" - extended_icon_state = "switchblade_ext_msf" - icon_state = "switchblade_msf" - to_chat(usr,"You use part of the silver to improve your Switchblade. Stylish!") - + . = ..() + if(istype(I, /obj/item/stack/sheet/mineral/silver)) + icon_state = extended : "switchblade_ext_msf" : "switchblade_msf" + extended_icon_state = "switchblade_ext_msf" + icon_state = "switchblade_msf" + to_chat(usr,"You use part of the silver to improve your Switchblade. Stylish!") + /obj/item/phone name = "red phone" desc = "Should anything ever go wrong..."