diff --git a/code/datums/greyscale/config_types/greyscale_configs/greyscale_items.dm b/code/datums/greyscale/config_types/greyscale_configs/greyscale_items.dm index bcd1e14ab0f..28433ba9064 100644 --- a/code/datums/greyscale/config_types/greyscale_configs/greyscale_items.dm +++ b/code/datums/greyscale/config_types/greyscale_configs/greyscale_items.dm @@ -309,35 +309,6 @@ icon_file = 'icons/obj/tapes.dmi' json_config = 'code/datums/greyscale/json_configs/tape_piece_spikes_worn.json' -// -// BUCKETS -// - -/datum/greyscale_config/buckets - name = "Buckets" - icon_file = 'icons/obj/service/janitor.dmi' - json_config = 'code/datums/greyscale/json_configs/buckets.json' - -/datum/greyscale_config/buckets_worn - name = "Buckets Worn" - icon_file = 'icons/mob/clothing/head/utility.dmi' - json_config = 'code/datums/greyscale/json_configs/buckets.json' - -/datum/greyscale_config/buckets_inhands_left - name = "Buckets Inhands Left" - icon_file = 'icons/mob/inhands/equipment/custodial_lefthand.dmi' - json_config = 'code/datums/greyscale/json_configs/buckets.json' - -/datum/greyscale_config/buckets_inhands_right - name = "Buckets Inhands Right" - icon_file = 'icons/mob/inhands/equipment/custodial_righthand.dmi' - json_config = 'code/datums/greyscale/json_configs/buckets.json' - -/datum/greyscale_config/buckets_cleanbot - name = "Buckets - Cleanbot" - icon_file = 'icons/mob/silicon/aibots.dmi' - json_config = 'code/datums/greyscale/json_configs/buckets_bot.json' - // // MISC // diff --git a/code/datums/greyscale/json_configs/buckets.json b/code/datums/greyscale/json_configs/buckets.json deleted file mode 100644 index 5fab0698fc5..00000000000 --- a/code/datums/greyscale/json_configs/buckets.json +++ /dev/null @@ -1,15 +0,0 @@ -{ - "bucket": [ - { - "type": "icon_state", - "icon_state": "bucket", - "blend_mode": "overlay", - "color_ids": [ 1 ] - }, - { - "type": "icon_state", - "icon_state": "bucket_handle", - "blend_mode": "overlay" - } - ] -} diff --git a/code/datums/greyscale/json_configs/buckets_bot.json b/code/datums/greyscale/json_configs/buckets_bot.json deleted file mode 100644 index cdefed7af70..00000000000 --- a/code/datums/greyscale/json_configs/buckets_bot.json +++ /dev/null @@ -1,54 +0,0 @@ -{ - "cleanbot0": [ - { - "type": "icon_state", - "icon_state": "cleanbot_bucket", - "blend_mode": "overlay", - "color_ids": [ 1 ] - }, - { - "type": "icon_state", - "icon_state": "cleanbot0", - "blend_mode": "overlay" - } - ], - "cleanbot1": [ - { - "type": "icon_state", - "icon_state": "cleanbot_bucket", - "blend_mode": "overlay", - "color_ids": [ 1 ] - }, - { - "type": "icon_state", - "icon_state": "cleanbot1", - "blend_mode": "overlay" - } - ], - "cleanbot-c": [ - { - "type": "icon_state", - "icon_state": "cleanbot_bucket", - "blend_mode": "overlay", - "color_ids": [ 1 ] - }, - { - "type": "icon_state", - "icon_state": "cleanbot-c", - "blend_mode": "overlay" - } - ], - "bucket_proxy": [ - { - "type": "icon_state", - "icon_state": "cleanbot_bucket", - "blend_mode": "overlay", - "color_ids": [ 1 ] - }, - { - "type": "icon_state", - "icon_state": "bucket_proxy", - "blend_mode": "overlay" - } - ] -} diff --git a/code/modules/mob/living/basic/bots/cleanbot/cleanbot.dm b/code/modules/mob/living/basic/bots/cleanbot/cleanbot.dm index 393d799b6df..204e6f7ba62 100644 --- a/code/modules/mob/living/basic/bots/cleanbot/cleanbot.dm +++ b/code/modules/mob/living/basic/bots/cleanbot/cleanbot.dm @@ -17,7 +17,6 @@ bot_type = CLEAN_BOT hackables = "cleaning software" additional_access = /datum/id_trim/job/janitor - greyscale_config = /datum/greyscale_config/buckets_cleanbot possessed_message = "You are a cleanbot! Clean the station to the best of your ability!" ai_controller = /datum/ai_controller/basic_controller/bot/cleanbot ///the bucket used to build us. @@ -140,14 +139,14 @@ generate_ai_keys() AddComponent(/datum/component/obeys_commands, pet_commands) AddComponent(/datum/component/cleaner, \ - base_cleaning_duration = 1 SECONDS, \ + base_cleaning_duration = 2 SECONDS, \ pre_clean_callback = CALLBACK(src, PROC_REF(update_bot_mode), BOT_CLEANING), \ on_cleaned_callback = CALLBACK(src, PROC_REF(update_bot_mode), BOT_IDLE), \ ) GLOB.janitor_devices += src - var/obj/item/reagent_containers/cup/bucket/consistent/bucket_obj = new + var/obj/item/reagent_containers/cup/bucket/bucket_obj = new bucket_obj.forceMove(src) var/obj/item/mop/new_mop = new @@ -166,7 +165,6 @@ . = ..() if(istype(arrived, /obj/item/reagent_containers/cup/bucket) && isnull(build_bucket)) build_bucket = arrived - set_greyscale(build_bucket.greyscale_colors) return if(istype(arrived, /obj/item/mop) && isnull(our_mop)) diff --git a/code/modules/mob/living/simple_animal/bot/construction.dm b/code/modules/mob/living/simple_animal/bot/construction.dm index fa90e1f84ac..907eb0dfca9 100644 --- a/code/modules/mob/living/simple_animal/bot/construction.dm +++ b/code/modules/mob/living/simple_animal/bot/construction.dm @@ -44,8 +44,7 @@ /obj/item/bot_assembly/cleanbot desc = "It's a bucket with a sensor attached." name = "incomplete cleanbot assembly" - icon_state = "bucket_proxy" - greyscale_config = /datum/greyscale_config/buckets_cleanbot + icon_state = "cleanbot_assembly" throwforce = 5 created_name = "Cleanbot" var/obj/item/reagent_containers/cup/bucket/bucket_obj @@ -61,7 +60,6 @@ if(bucket_obj && bucket_obj != arrived) qdel(bucket_obj) bucket_obj = arrived - set_greyscale(bucket_obj.greyscale_colors) return ..() /obj/item/bot_assembly/cleanbot/Exited(atom/movable/gone, direction) diff --git a/code/modules/reagents/reagent_containers/cups/_cup.dm b/code/modules/reagents/reagent_containers/cups/_cup.dm index 5770d431399..70ad6ca5fdc 100644 --- a/code/modules/reagents/reagent_containers/cups/_cup.dm +++ b/code/modules/reagents/reagent_containers/cups/_cup.dm @@ -355,11 +355,8 @@ inhand_icon_state = "bucket" lefthand_file = 'icons/mob/inhands/equipment/custodial_lefthand.dmi' righthand_file = 'icons/mob/inhands/equipment/custodial_righthand.dmi' - greyscale_colors = "#0085e5" //matches 1:1 with the original sprite color before gag-ification. - greyscale_config = /datum/greyscale_config/buckets - greyscale_config_worn = /datum/greyscale_config/buckets_worn - greyscale_config_inhand_left = /datum/greyscale_config/buckets_inhands_left - greyscale_config_inhand_right = /datum/greyscale_config/buckets_inhands_right + fill_icon_state = "bucket" + fill_icon_thresholds = list(50, 90) custom_materials = list(/datum/material/iron=SMALL_MATERIAL_AMOUNT * 2) w_class = WEIGHT_CLASS_NORMAL amount_per_transfer_from_this = 20 @@ -380,31 +377,15 @@ ITEM_SLOT_DEX_STORAGE ) - /// Should this bucket randomize its colors? - var/randomize_colors = TRUE - /datum/armor/cup_bucket melee = 10 fire = 75 acid = 50 -/obj/item/reagent_containers/cup/bucket/Initialize(mapload, vol) - if (randomize_colors && greyscale_colors == initial(greyscale_colors)) - set_greyscale(pick(list("#0085e5", COLOR_OFF_WHITE, COLOR_ORANGE_BROWN, COLOR_SERVICE_LIME, COLOR_MOSTLY_PURE_ORANGE, COLOR_FADED_PINK, COLOR_RED, COLOR_YELLOW, COLOR_VIOLET, COLOR_WEBSAFE_DARK_GRAY))) - return ..() - -/obj/item/reagent_containers/cup/bucket/consistent - randomize_colors = FALSE - /obj/item/reagent_containers/cup/bucket/wooden name = "wooden bucket" icon_state = "woodbucket" inhand_icon_state = "woodbucket" - greyscale_colors = null - greyscale_config = null - greyscale_config_worn = null - greyscale_config_inhand_left = null - greyscale_config_inhand_right = null custom_materials = list(/datum/material/wood = SHEET_MATERIAL_AMOUNT * 2) resistance_flags = FLAMMABLE armor_type = /datum/armor/bucket_wooden diff --git a/icons/mob/clothing/head/utility.dmi b/icons/mob/clothing/head/utility.dmi index ada1b90c4b0..97fb52052bc 100644 Binary files a/icons/mob/clothing/head/utility.dmi and b/icons/mob/clothing/head/utility.dmi differ diff --git a/icons/mob/inhands/equipment/custodial_lefthand.dmi b/icons/mob/inhands/equipment/custodial_lefthand.dmi index 8af03cfdf64..2350998aa95 100644 Binary files a/icons/mob/inhands/equipment/custodial_lefthand.dmi and b/icons/mob/inhands/equipment/custodial_lefthand.dmi differ diff --git a/icons/mob/inhands/equipment/custodial_righthand.dmi b/icons/mob/inhands/equipment/custodial_righthand.dmi index b3eecf85e70..df4738e3fd2 100644 Binary files a/icons/mob/inhands/equipment/custodial_righthand.dmi and b/icons/mob/inhands/equipment/custodial_righthand.dmi differ diff --git a/icons/mob/silicon/aibots.dmi b/icons/mob/silicon/aibots.dmi index c87a5916c02..a3da5c9cf2b 100644 Binary files a/icons/mob/silicon/aibots.dmi and b/icons/mob/silicon/aibots.dmi differ diff --git a/icons/obj/medical/reagent_fillings.dmi b/icons/obj/medical/reagent_fillings.dmi index 524b52419a6..0d535c6cac2 100644 Binary files a/icons/obj/medical/reagent_fillings.dmi and b/icons/obj/medical/reagent_fillings.dmi differ diff --git a/icons/obj/service/janitor.dmi b/icons/obj/service/janitor.dmi index 0e814ca4545..454ad36f989 100644 Binary files a/icons/obj/service/janitor.dmi and b/icons/obj/service/janitor.dmi differ