Fixing bedsheet magic in a better fashion.
This commit is contained in:
@@ -41,7 +41,7 @@ LINEN BINS
|
|||||||
return
|
return
|
||||||
|
|
||||||
/obj/item/bedsheet/attackby(obj/item/I, mob/user, params)
|
/obj/item/bedsheet/attackby(obj/item/I, mob/user, params)
|
||||||
if(istype(I, /obj/item/wirecutters) || I.get_sharpness())
|
if(!(flags_1 & HOLOGRAM_1) && (istype(I, /obj/item/wirecutters) || I.get_sharpness()))
|
||||||
var/obj/item/stack/sheet/cloth/C = new (get_turf(src), 3)
|
var/obj/item/stack/sheet/cloth/C = new (get_turf(src), 3)
|
||||||
transfer_fingerprints_to(C)
|
transfer_fingerprints_to(C)
|
||||||
C.add_fingerprint(user)
|
C.add_fingerprint(user)
|
||||||
@@ -328,6 +328,8 @@ LINEN BINS
|
|||||||
else
|
else
|
||||||
var/chosen = pick(sheet_types)
|
var/chosen = pick(sheet_types)
|
||||||
B = new chosen
|
B = new chosen
|
||||||
|
if(flags_1 & HOLOGRAM_1)
|
||||||
|
B.flags_1 |= HOLOGRAM_1
|
||||||
|
|
||||||
B.forceMove(drop_location())
|
B.forceMove(drop_location())
|
||||||
user.put_in_hands(B)
|
user.put_in_hands(B)
|
||||||
|
|||||||
Reference in New Issue
Block a user