Merge pull request #14971 from Arturlang/nanite_updates
Ports update appearance
This commit is contained in:
@@ -66,7 +66,7 @@
|
||||
. = ..()
|
||||
|
||||
|
||||
/obj/item/reagent_containers/food/snacks/customizable/proc/update_name(obj/item/reagent_containers/food/snacks/S)
|
||||
/obj/item/reagent_containers/food/snacks/customizable/update_name(obj/item/reagent_containers/food/snacks/S)
|
||||
for(var/obj/item/I in ingredients)
|
||||
if(!istype(S, I.type))
|
||||
customname = "custom"
|
||||
|
||||
@@ -59,6 +59,10 @@
|
||||
else
|
||||
icon_state = "[initial(icon_state)]-off"
|
||||
|
||||
/obj/machinery/smartfridge/update_overlays()
|
||||
. = ..()
|
||||
if(!stat)
|
||||
. += emissive_appearance(icon, "smartfridge-light-mask", alpha = src.alpha)
|
||||
|
||||
|
||||
/*******************
|
||||
|
||||
Reference in New Issue
Block a user