mirror of
https://github.com/Aurorastation/Aurora.3.git
synced 2026-08-26 06:22:26 +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()
|
||||
|
||||
@@ -145,7 +145,7 @@
|
||||
description = "The ultimate in custodial carts. Has space for water, mops, signs, trash bags, and more."
|
||||
price = 190
|
||||
items = list(
|
||||
/obj/structure/cart/storage/janitorialcart
|
||||
/obj/structure/cart/storage/janitorialcart/full
|
||||
)
|
||||
access = ACCESS_JANITOR
|
||||
container_type = "crate"
|
||||
|
||||
@@ -0,0 +1,6 @@
|
||||
author: TheGreyWolf
|
||||
|
||||
delete-after: True
|
||||
|
||||
changes:
|
||||
- bugfix: "Fixed crafting a janitorial cart also gave several janitorial supplies with it."
|
||||
@@ -2510,7 +2510,7 @@
|
||||
/turf/simulated/floor/reinforced/airless,
|
||||
/area/abandoned_industrial_station/exterior)
|
||||
"ig" = (
|
||||
/obj/structure/cart/storage/janitorialcart{
|
||||
/obj/structure/cart/storage/janitorialcart/full{
|
||||
dir = 4
|
||||
},
|
||||
/obj/effect/floor_decal/industrial/outline/custodial,
|
||||
@@ -15846,7 +15846,7 @@
|
||||
/area/abandoned_industrial_station/service)
|
||||
"Yn" = (
|
||||
/obj/effect/floor_decal/industrial/outline/custodial,
|
||||
/obj/structure/cart/storage/janitorialcart{
|
||||
/obj/structure/cart/storage/janitorialcart/full{
|
||||
dir = 4
|
||||
},
|
||||
/obj/random/dirt_75,
|
||||
|
||||
@@ -834,7 +834,7 @@
|
||||
dir = 9
|
||||
},
|
||||
/obj/effect/decal/cleanable/dirt,
|
||||
/obj/structure/cart/storage/janitorialcart{
|
||||
/obj/structure/cart/storage/janitorialcart/full{
|
||||
dir = 4
|
||||
},
|
||||
/turf/simulated/floor/airless,
|
||||
|
||||
@@ -6460,7 +6460,7 @@
|
||||
/turf/simulated/floor/asphalt,
|
||||
/area/point_verdant/outdoors)
|
||||
"dwp" = (
|
||||
/obj/structure/cart/storage/janitorialcart{
|
||||
/obj/structure/cart/storage/janitorialcart/full{
|
||||
dir = 4
|
||||
},
|
||||
/obj/effect/floor_decal/corner_wide/black{
|
||||
|
||||
@@ -3088,7 +3088,7 @@
|
||||
/turf/template_noop,
|
||||
/area/magshield/east)
|
||||
"ji" = (
|
||||
/obj/structure/cart/storage/janitorialcart{
|
||||
/obj/structure/cart/storage/janitorialcart/full{
|
||||
dir = 4
|
||||
},
|
||||
/turf/simulated/floor/airless,
|
||||
|
||||
@@ -11176,7 +11176,7 @@
|
||||
/obj/machinery/alarm/south{
|
||||
req_one_access = list(204)
|
||||
},
|
||||
/obj/structure/cart/storage/janitorialcart{
|
||||
/obj/structure/cart/storage/janitorialcart/full{
|
||||
dir = 4
|
||||
},
|
||||
/obj/item/reagent_containers/glass/bucket,
|
||||
|
||||
@@ -6779,7 +6779,7 @@
|
||||
/obj/machinery/light/small{
|
||||
dir = 4
|
||||
},
|
||||
/obj/structure/cart/storage/janitorialcart{
|
||||
/obj/structure/cart/storage/janitorialcart/full{
|
||||
dir = 4
|
||||
},
|
||||
/obj/item/reagent_containers/glass/bucket,
|
||||
|
||||
@@ -2391,7 +2391,7 @@
|
||||
dir = 8;
|
||||
icon_state = "tube_empty"
|
||||
},
|
||||
/obj/structure/cart/storage/janitorialcart,
|
||||
/obj/structure/cart/storage/janitorialcart/full,
|
||||
/turf/simulated/floor,
|
||||
/area/heph_security_ship/thrusterport)
|
||||
"pM" = (
|
||||
|
||||
@@ -6893,7 +6893,7 @@
|
||||
/turf/simulated/floor/tiled/white,
|
||||
/area/shuttle/iac_shuttle)
|
||||
"pGN" = (
|
||||
/obj/structure/cart/storage/janitorialcart{
|
||||
/obj/structure/cart/storage/janitorialcart/full{
|
||||
dir = 4
|
||||
},
|
||||
/turf/simulated/floor/tiled/dark,
|
||||
|
||||
@@ -7667,7 +7667,7 @@
|
||||
/turf/simulated/floor/tiled,
|
||||
/area/ship/idris_cruiser/corridor/dockingarm/port)
|
||||
"BK" = (
|
||||
/obj/structure/cart/storage/janitorialcart{
|
||||
/obj/structure/cart/storage/janitorialcart/full{
|
||||
dir = 4
|
||||
},
|
||||
/obj/item/reagent_containers/glass/bucket,
|
||||
|
||||
@@ -12027,7 +12027,7 @@
|
||||
/area/ship/xanu_frigate/corridor/aft)
|
||||
"Pj" = (
|
||||
/obj/effect/floor_decal/corner/purple/full,
|
||||
/obj/structure/cart/storage/janitorialcart{
|
||||
/obj/structure/cart/storage/janitorialcart/full{
|
||||
dir = 8
|
||||
},
|
||||
/obj/machinery/power/apc/west,
|
||||
|
||||
@@ -728,7 +728,7 @@
|
||||
/turf/simulated/floor/wood/yew,
|
||||
/area/shuttle/yacht/living)
|
||||
"cl" = (
|
||||
/obj/structure/cart/storage/janitorialcart,
|
||||
/obj/structure/cart/storage/janitorialcart/full,
|
||||
/obj/effect/decal/cleanable/dirt,
|
||||
/turf/simulated/floor/wood/yew,
|
||||
/area/shuttle/yacht/living)
|
||||
|
||||
@@ -18527,7 +18527,7 @@
|
||||
dir = 10
|
||||
},
|
||||
/obj/effect/floor_decal/industrial/outline/custodial,
|
||||
/obj/structure/cart/storage/janitorialcart,
|
||||
/obj/structure/cart/storage/janitorialcart/full,
|
||||
/turf/simulated/floor/tiled,
|
||||
/area/horizon/service/custodial)
|
||||
"cDE" = (
|
||||
@@ -68325,7 +68325,7 @@
|
||||
dir = 4
|
||||
},
|
||||
/obj/machinery/firealarm/east,
|
||||
/obj/structure/cart/storage/janitorialcart{
|
||||
/obj/structure/cart/storage/janitorialcart/full{
|
||||
dir = 4
|
||||
},
|
||||
/turf/simulated/floor/tiled,
|
||||
@@ -105567,7 +105567,7 @@
|
||||
dir = 10
|
||||
},
|
||||
/obj/effect/floor_decal/industrial/outline/custodial,
|
||||
/obj/structure/cart/storage/janitorialcart,
|
||||
/obj/structure/cart/storage/janitorialcart/full,
|
||||
/turf/simulated/floor/tiled,
|
||||
/area/horizon/service/custodial)
|
||||
"oUb" = (
|
||||
|
||||
@@ -81,7 +81,7 @@
|
||||
/turf/template_noop,
|
||||
/area/template_noop)
|
||||
"bv" = (
|
||||
/obj/structure/cart/storage/janitorialcart,
|
||||
/obj/structure/cart/storage/janitorialcart/full,
|
||||
/turf/template_noop,
|
||||
/area/template_noop)
|
||||
"bw" = (
|
||||
|
||||
Reference in New Issue
Block a user