From c280256e2899b70f18828c2a6fa6857cb1fc71e9 Mon Sep 17 00:00:00 2001 From: Nadyr Date: Wed, 25 Sep 2024 19:43:21 -0400 Subject: [PATCH] Advanced mop cart storage --- code/game/objects/structures/janicart.dm | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/code/game/objects/structures/janicart.dm b/code/game/objects/structures/janicart.dm index 370d494f35..b16fb816b5 100644 --- a/code/game/objects/structures/janicart.dm +++ b/code/game/objects/structures/janicart.dm @@ -29,6 +29,7 @@ GLOBAL_LIST_BOILERPLATE(all_janitorial_carts, /obj/structure/janitorialcart) equippable_item_whitelist = typecacheof(list( /obj/item/weapon/storage/bag/trash, /obj/item/weapon/mop, + /obj/item/weapon/mop/advanced, /obj/item/weapon/reagent_containers/spray, /obj/item/device/lightreplacer, /obj/item/clothing/suit/caution, @@ -49,7 +50,7 @@ GLOBAL_LIST_BOILERPLATE(all_janitorial_carts, /obj/structure/janitorialcart) mybag = I setTguiIcon("mybag", mybag) - else if(istype(I, /obj/item/weapon/mop)) + else if(istype(I, /obj/item/weapon/mop) || istype(I, /obj/item/weapon/mop/advanced)) if(mymop) to_chat(user, "[src] already has \an [I].") return FALSE