mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-07-19 03:55:11 +01:00
[MIRROR] Holodeck bedsheets no longer drop cloth when cut (#1492)
* Holodeck bedsheets no longer drop cloth when cut (#54548) they now check if they have HOLOFLAG_1 and if they do they dont drop cloth * Holodeck bedsheets no longer drop cloth when cut Co-authored-by: Kylerace <kylerlumpkin1@gmail.com>
This commit is contained in:
@@ -46,9 +46,10 @@ LINEN BINS
|
||||
|
||||
/obj/item/bedsheet/attackby(obj/item/I, mob/user, params)
|
||||
if(I.tool_behaviour == TOOL_WIRECUTTER || I.get_sharpness())
|
||||
var/obj/item/stack/sheet/cloth/C = new (get_turf(src), 3)
|
||||
transfer_fingerprints_to(C)
|
||||
C.add_fingerprint(user)
|
||||
if (!(flags_1 & HOLOGRAM_1))
|
||||
var/obj/item/stack/sheet/cloth/shreds = new (get_turf(src), 3)
|
||||
transfer_fingerprints_to(shreds)
|
||||
shreds.add_fingerprint(user)
|
||||
qdel(src)
|
||||
to_chat(user, "<span class='notice'>You tear [src] up.</span>")
|
||||
else
|
||||
|
||||
Reference in New Issue
Block a user