mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-09 16:12:17 +00:00
[MIRROR] Painting materials (#10882)
Co-authored-by: SatinIsle <98125273+SatinIsle@users.noreply.github.com>
This commit is contained in:
committed by
GitHub
parent
b92047502d
commit
129ea8078a
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user