mirror of
https://github.com/Aurorastation/Aurora.3.git
synced 2026-07-21 12:56:10 +01:00
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:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user