diff --git a/code/modules/food/kitchen/cooking_machines/fryer.dm b/code/modules/food/kitchen/cooking_machines/fryer.dm index f3ab3df0bb..941c7d6b64 100644 --- a/code/modules/food/kitchen/cooking_machines/fryer.dm +++ b/code/modules/food/kitchen/cooking_machines/fryer.dm @@ -14,6 +14,8 @@ active_power_usage = 12 KILOWATTS heating_power = 12000 + light_y = 15 + min_temp = 140 + T0C // Same as above, increasing this to just under 2x to make the % increase on efficiency not quite so painful as it would be at 80. optimal_temp = 400 + T0C // Increasing this to be 2x Oven to allow for a much higher/realistic frying temperatures. Doesn't really do anything but make heating the fryer take a bit longer. optimal_power = 0.95 // .35 higher than the default to give fryers faster cooking speed. @@ -55,6 +57,19 @@ if(Adjacent(user)) to_chat(user, "Oil Level: [oil.total_volume]/[optimal_oil]") +/obj/machinery/appliance/cooker/fryer/update_icon() // We add our own version of the proc to use the special fryer double-lights. + cut_overlays() + var/image/light + if(use_power == 1 && !stat) + light = image(icon, "fryer_light_idle") + else if(use_power == 2 && !stat) + light = image(icon, "fryer_light_preheating") + else + light = image(icon, "fryer_light_off") + light.pixel_x = light_x + light.pixel_y = light_y + add_overlay(light) + /obj/machinery/appliance/cooker/fryer/heat_up() if (..()) //Set temperature of oil reagent diff --git a/code/modules/food/kitchen/cooking_machines/oven.dm b/code/modules/food/kitchen/cooking_machines/oven.dm index 1f471d2e2a..2afcf0a251 100644 --- a/code/modules/food/kitchen/cooking_machines/oven.dm +++ b/code/modules/food/kitchen/cooking_machines/oven.dm @@ -17,7 +17,8 @@ //uses ~30% power to stay warm optimal_power = 0.8 // Oven cooks .2 faster than the default speed. - light_x = 2 + light_x = 3 + light_y = 4 max_contents = 5 container_type = /obj/item/weapon/reagent_containers/cooking_container/oven diff --git a/icons/obj/cooking_machines.dmi b/icons/obj/cooking_machines.dmi index 2badbd97e9..4009cb6224 100644 Binary files a/icons/obj/cooking_machines.dmi and b/icons/obj/cooking_machines.dmi differ diff --git a/icons/obj/food.dmi b/icons/obj/food.dmi index a4f740f88e..efe9039a41 100644 Binary files a/icons/obj/food.dmi and b/icons/obj/food.dmi differ diff --git a/icons/obj/food_custom.dmi b/icons/obj/food_custom.dmi index 4057be3993..ee26eb7777 100644 Binary files a/icons/obj/food_custom.dmi and b/icons/obj/food_custom.dmi differ diff --git a/icons/obj/food_syn.dmi b/icons/obj/food_syn.dmi index f794f3f7de..1104d4ddbf 100644 Binary files a/icons/obj/food_syn.dmi and b/icons/obj/food_syn.dmi differ