Rasalgethi (#49256)

This commit is contained in:
itseasytosee
2020-02-10 20:00:57 +01:00
committed by GitHub
parent 875a7dfe6c
commit 1b9e220fc4
@@ -213,12 +213,18 @@
to_chat(user, "<span class='warning'>You need at least ten lengths of cable if you want to make a sling!</span>")
/obj/item/gun/ballistic/shotgun/doublebarrel/improvised/update_icon_state()
item_state = "ishotgunsling"
. = ..()
if(slung)
item_state = "ishotgunsling"
if(sawn_off)
item_state = "ishotgun_sawn"
/obj/item/gun/ballistic/shotgun/doublebarrel/improvised/update_overlays()
. = ..()
if(slung)
. += "ishotgunsling"
if(sawn_off)
. += "ishotgun_sawn"
/obj/item/gun/ballistic/shotgun/doublebarrel/improvised/sawoff(mob/user)
. = ..()