Removes all but one boot knife overlays, makes them universal

This commit is contained in:
Asbestos Gremlin
2023-07-28 14:44:07 -07:00
parent 9a8d1bd12b
commit b3f8b7a627
2 changed files with 2 additions and 2 deletions
+2 -2
View File
@@ -639,7 +639,7 @@ var/global/list/light_overlay_cache = list() //see get_worn_overlay() on helmets
usr.visible_message("<span class='danger'>\The [usr] pulls a knife out of their boot!</span>")
playsound(src, 'sound/weapons/holster/sheathout.ogg', 25)
holding = null
cut_overlay(image(icon, "[icon_state]_knife"))
cut_overlay(image(icon, "boot_knife"))
else
to_chat(usr, "<span class='warning'>Your need an empty, unbroken hand to do that.</span>")
holding.forceMove(src)
@@ -686,7 +686,7 @@ var/global/list/light_overlay_cache = list() //see get_worn_overlay() on helmets
/obj/item/clothing/shoes/update_icon()
. = ..()
if(holding)
add_overlay(image(icon, "[icon_state]_knife"))
add_overlay(image(icon, "boot_knife"))
if(ismob(usr))
var/mob/M = usr
M.update_inv_shoes()
Binary file not shown.

Before

Width:  |  Height:  |  Size: 32 KiB

After

Width:  |  Height:  |  Size: 34 KiB