mirror of
https://github.com/VOREStation/VOREStation.git
synced 2026-07-18 10:34:10 +01:00
Proper washing
This commit is contained in:
@@ -6,6 +6,13 @@
|
|||||||
|
|
||||||
/obj/machinery/disposal/wall/cleaner/flush()
|
/obj/machinery/disposal/wall/cleaner/flush()
|
||||||
flick("[icon_state]-flush", src)
|
flick("[icon_state]-flush", src)
|
||||||
|
for(var/obj/item/weapon/storage/i in src)
|
||||||
|
if(istype(i, /obj/item/weapon/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)
|
for(var/obj/item/i in src)
|
||||||
if(istype(i, /obj/item))
|
if(istype(i, /obj/item))
|
||||||
i.decontaminate()
|
i.decontaminate()
|
||||||
|
|||||||
Reference in New Issue
Block a user