adds emissive overlays to shelter capsule machines (#28941)

This commit is contained in:
warriorstar-orion
2025-04-15 10:58:55 -04:00
committed by GitHub
parent 6cb1969cd5
commit 597b297ea6
5 changed files with 23 additions and 6 deletions
+21 -4
View File
@@ -184,6 +184,11 @@
component_parts += new /obj/item/stack/sheet/glass(null)
component_parts += new /obj/item/stack/cable_coil(null, 1)
RefreshParts()
update_icon()
/obj/machinery/sleeper/survival_pod/update_overlays()
. = ..()
. += emissive_appearance(icon, "[icon_state]_lightmask")
//NanoMed
/obj/machinery/economy/vending/wallmed/survival_pod
@@ -208,6 +213,17 @@ MAPPING_DIRECTIONAL_HELPERS(/obj/machinery/economy/vending/wallmed/survival_pod,
anchored = TRUE
density = TRUE
pixel_y = -32
light_power = 1.4
light_range = MINIMUM_USEFUL_LIGHT_RANGE
light_color = "#79dcc4"
/obj/item/gps/computer/Initialize(mapload)
. = ..()
update_icon()
/obj/item/gps/computer/update_overlays()
. = ..()
. += emissive_appearance(icon, "[icon_state]_lightmask")
/obj/item/gps/computer/wrench_act(mob/living/user, obj/item/I)
. = TRUE
@@ -234,9 +250,9 @@ MAPPING_DIRECTIONAL_HELPERS(/obj/machinery/economy/vending/wallmed/survival_pod,
desc = "A heated storage unit."
icon_state = "donkvendor"
icon = 'icons/obj/lavaland/donkvendor.dmi'
light_range = 8
light_power = 1.2
light_color = "#DDFFD3"
light_range_on = 3
light_power_on = 1
light_color = "#79dcc4"
max_n_of_items = 10
pixel_y = -4
flags = NODECONSTRUCT
@@ -262,7 +278,8 @@ MAPPING_DIRECTIONAL_HELPERS(/obj/machinery/economy/vending/wallmed/survival_pod,
return
/obj/machinery/smartfridge/survival_pod/update_overlays()
return list()
underlays.Cut()
underlays += emissive_appearance(icon, "[icon_state]_lightmask")
/obj/machinery/smartfridge/survival_pod/accept_check(obj/item/O)
return isitem(O)