[MIRROR] Painting materials (#10882)

Co-authored-by: SatinIsle <98125273+SatinIsle@users.noreply.github.com>
This commit is contained in:
CHOMPStation2StaffMirrorBot
2025-05-15 10:50:00 -07:00
committed by GitHub
parent b92047502d
commit 129ea8078a

View File

@@ -29,7 +29,8 @@
/obj/item/clothing,
/obj/item/storage/backpack,
/obj/item/storage/belt,
/obj/item/toy
/obj/item/toy,
/obj/item/stack/material
)
/obj/machinery/gear_painter/Initialize(mapload)
@@ -68,6 +69,8 @@
return
if(is_type_in_list(I, allowed_types) && !inoperable())
if(istype(I,/obj/item/stack/material/cyborg)) //Needs an exception for borg materials to avoid glitches.
return
user.visible_message(span_notice("[user] inserts \the [I] into the Color Mate receptable."))
user.drop_from_inventory(I)
I.forceMove(src)