diff --git a/maps/sierra/icons/obj/suitstorage.dmi b/maps/sierra/icons/obj/suitstorage.dmi new file mode 100644 index 0000000000000..eff1417ad0d71 Binary files /dev/null and b/maps/sierra/icons/obj/suitstorage.dmi differ diff --git a/maps/sierra/machinery/machinery.dm b/maps/sierra/machinery/machinery.dm index ab10ea0370a8f..fb3bd93fed14e 100644 --- a/maps/sierra/machinery/machinery.dm +++ b/maps/sierra/machinery/machinery.dm @@ -49,6 +49,30 @@ /obj/machinery/suit_cycler/pilot req_access = list(access_explorer) //because unathi version of expeditonary suit it shit +/obj/machinery/suit_storage_unit/security/Initialize() + . = ..() + ssu_color = "#cc0000" + +/obj/machinery/suit_storage_unit/mining/Initialize() + . = ..() + ssu_color = "#b88a3b" + +/obj/machinery/suit_storage_unit/medical/Initialize() + . = ..() + ssu_color = "#55aaaa" + +/obj/machinery/suit_storage_unit/engineering/Initialize() + . = ..() + ssu_color = "#ffbf00" + +/obj/machinery/suit_storage_unit/atmos/Initialize() + . = ..() + ssu_color = "#00cccc" + +/obj/machinery/suit_storage_unit/science/Initialize() + . = ..() + ssu_color = "#990000" + /obj/machinery/suit_storage_unit/explorer name = "Exploration Voidsuit Storage Unit" suit = /obj/item/clothing/suit/space/void/exploration @@ -58,7 +82,7 @@ mask = /obj/item/clothing/mask/gas/half req_access = list(access_explorer) islocked = 1 - + ssu_color = "#9966ff" /obj/machinery/suit_storage_unit/pilot name = "Expeditionary Pilot Voidsuit Storage Unit" @@ -69,9 +93,11 @@ mask = /obj/item/clothing/mask/breath req_access = list(access_explorer, access_expedition_shuttle_helm) islocked = 1 - + ssu_color = "#990000" /obj/machinery/suit_storage_unit/standard_unit + icon_state = "industrial" + base_icon_state = "industrial" islocked = 0 /obj/machinery/photocopier/faxmachine/centcomm diff --git a/packs/infinity/machinery/suit_storage.dm b/packs/infinity/machinery/suit_storage.dm index 1ed12862d56ce..54411726e38c5 100644 --- a/packs/infinity/machinery/suit_storage.dm +++ b/packs/infinity/machinery/suit_storage.dm @@ -1,11 +1,16 @@ /obj/machinery/suit_storage_unit - icon = 'packs/infinity/icons/obj/suitstorage.dmi' - icon_state = "ssu_classic" - var/base_icon_state = "ssu_classic" - + icon = 'maps/sierra/icons/obj/suitstorage.dmi' + icon_state = "industrial" + var/base_icon_state = "industrial" + var/ssu_color = "color_overlay_colorable" /obj/machinery/suit_storage_unit/on_update_icon() ClearOverlays() + if(ssu_color) + var/image/I = image(icon = icon, icon_state = "[base_icon_state]_colorable") + I.appearance_flags |= RESET_COLOR + I.color = ssu_color + AddOverlays(I) //if things arent powered, these show anyways if(panelopen) AddOverlays(image(icon,"[base_icon_state]_panel")) @@ -37,8 +42,3 @@ AddOverlays(overlay_image(icon,"[base_icon_state]_uv", plane = EFFECTS_ABOVE_LIGHTING_PLANE, layer = ABOVE_LIGHTING_LAYER)) else AddOverlays(overlay_image(icon, "[base_icon_state]_ready", plane = EFFECTS_ABOVE_LIGHTING_PLANE, layer = ABOVE_LIGHTING_LAYER)) - -/obj/machinery/suit_storage_unit/industrial - name = "industrial suit storage unit" - icon_state = "industrial" - base_icon_state = "industrial"