mirror of
https://github.com/Aurorastation/Aurora.3.git
synced 2025-12-25 17:41:56 +00:00
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
18 lines
553 B
Plaintext
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)
|