Custodial Cart Fixes (#21480)

When crafted from steel, the custodial cart previously started with
several custodial supplies. This should fix that and should replace
existing variants around the map with filled versions.
This commit is contained in:
Casper3667
2025-10-16 13:36:35 +02:00
committed by GitHub
parent e764307cba
commit 67f4b2b981
16 changed files with 23 additions and 34 deletions
@@ -33,14 +33,7 @@
// No trashbag and no light replacer, this is inside the custodian's locker.
/obj/structure/cart/storage/janitorialcart/Initialize()
. = ..()
mymop = new /obj/item/mop(src)
myspray = new /obj/item/reagent_containers/spray/cleaner(src)
mybucket = new /obj/structure/mopbucket(src)
for(signs, signs < 4, signs++)
new /obj/item/clothing/suit/caution(src)
update_icon()
// Full Variant
@@ -63,17 +56,7 @@
// Has everything as well as water in the mop bucket.
/obj/structure/cart/storage/janitorialcart/full/water/Initialize()
. = ..()
mybag = new /obj/item/storage/bag/trash(src)
mymop = new /obj/item/mop(src)
myspray = new /obj/item/reagent_containers/spray/cleaner(src)
myreplacer = new /obj/item/device/lightreplacer(src)
mybucket = new /obj/structure/mopbucket(src)
mybucket.reagents.add_reagent(/singleton/reagent/water, mybucket.bucketsize)
for(signs, signs < 4, signs++)
new /obj/item/clothing/suit/caution(src)
update_icon()
/obj/structure/cart/storage/janitorialcart/New()