Skip to content

Commit

Permalink
Removes all but one boot knife overlays, makes them universal
Browse files Browse the repository at this point in the history
  • Loading branch information
NewyearnewmeUwu committed Jul 28, 2023
1 parent 9a8d1bd commit b3f8b7a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions code/modules/clothing/clothing.dm
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down Expand Up @@ -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()
Expand Down
Binary file modified icons/obj/clothing/shoes.dmi
Binary file not shown.

0 comments on commit b3f8b7a

Please sign in to comment.