diff --git a/code/modules/food_and_drinks/kitchen_machinery/smartfridge.dm b/code/modules/food_and_drinks/kitchen_machinery/smartfridge.dm index 9a6b10e0444b..6016def705b5 100644 --- a/code/modules/food_and_drinks/kitchen_machinery/smartfridge.dm +++ b/code/modules/food_and_drinks/kitchen_machinery/smartfridge.dm @@ -12,6 +12,7 @@ idle_power_usage = IDLE_DRAW_MINIMAL active_power_usage = ACTIVE_DRAW_MINIMAL circuit = /obj/item/circuitboard/machine/smartfridge + integrity_failure = 0.4 var/max_n_of_items = 1500 var/allow_ai_retrieve = FALSE @@ -40,7 +41,10 @@ . += "The status display reads: This unit can hold a maximum of [max_n_of_items] items." /obj/machinery/smartfridge/update_icon_state() - if(machine_stat) + if(machine_stat & BROKEN) + icon_state = "[initial(icon_state)]-broken" + return ..() + else if(!powered()) icon_state = "[initial(icon_state)]-off" return ..() @@ -53,10 +57,8 @@ icon_state = "[initial(icon_state)]" if(1 to 25) icon_state = "[initial(icon_state)]1" - if(26 to 75) + if(26 to INFINITY) icon_state = "[initial(icon_state)]2" - if(76 to INFINITY) - icon_state = "[initial(icon_state)]3" return ..() /obj/machinery/smartfridge/update_overlays() diff --git a/icons/obj/vending.dmi b/icons/obj/vending.dmi index 6905749d1e52..a2a6e29e2c46 100644 Binary files a/icons/obj/vending.dmi and b/icons/obj/vending.dmi differ