Files
Aurora.3/code/game/objects/items/shoe_cover.dm
alsoandanswer 0ba36f1828 Refactors objects.dmi and items.dmi, and a few more little things (#6487)
Refactors objects.dmi and items.dmi

Adds some more uses to glass jar - now you can use it as a tip jar AND a reagent container!
you can also see reagents inside like a beaker

also improves sprites for wrapping paper and the pocketwatch

This basically makes it easier for future sprite improvements
2019-06-02 19:12:54 +03:00

18 lines
553 B
Plaintext

/obj/item/shoe_cover
name = "strange fabric"
desc = "A fabric that allows for silent walking."
icon = 'icons/obj/stacks.dmi'
icon_state = "sheet-cloth"
/obj/item/shoe_cover/afterattack(var/obj/A as obj, mob/user as mob, proximity)
if(!proximity)
return
if (istype(A, /obj/item/clothing/shoes) && get_dist(src,A) <= 1)
var/obj/item/clothing/shoes/S = A
to_chat(user, "You attached the [src] to [S] making movement silent")
S.silent = 1
S.desc += " Their soles appear to be made of fabric."
user.drop_from_inventory(src,A)
qdel(src)