mirror of
https://github.com/VOREStation/VOREStation.git
synced 2026-08-20 10:37:45 +01:00
19 lines
580 B
Plaintext
19 lines
580 B
Plaintext
/obj/machinery/disposal/wall/cleaner
|
|
name = "resleeving equipment deposit"
|
|
desc = "Automatically cleans and transports items to the local resleeving facilities."
|
|
icon = 'icons/obj/pipes/disposal_vr.dmi'
|
|
icon_state = "bluewall"
|
|
|
|
/obj/machinery/disposal/wall/cleaner/flush()
|
|
flick("[icon_state]-flush", src)
|
|
for(var/obj/item/storage/i in src)
|
|
if(istype(i, /obj/item/storage))
|
|
var/list/storage_items = i.return_inv()
|
|
|
|
for(var/obj/item/item in storage_items)
|
|
item.decontaminate()
|
|
|
|
for(var/obj/item/i in src)
|
|
if(istype(i, /obj/item))
|
|
i.decontaminate()
|
|
. = ..() |