mirror of
https://github.com/PolarisSS13/Polaris.git
synced 2026-08-24 13:46:53 +01:00
Removes all but one boot knife overlays, makes them universal
This commit is contained in:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user