The Thermal Entropy Update: Steamed Hams & Iced Roach Meat (#35516)

* Reset

* scrubbed the odd stuff out

* unused var on this branch

* might as well add the autoignition_temperature to snacks now.

* condiment and other food toppings refactor

* STEAMTEMP define

* Revert "scrubbed the odd stuff out"

This reverts commit 2eece5c0a7bdd879e851585e6cb5b73b13fd3c51.

* fixing conflicts

* we don't need that no more
This commit is contained in:
DeityLink
2023-12-26 08:13:14 +01:00
committed by GitHub
parent 9dc91ca5fa
commit b9a6af0a5f
37 changed files with 722 additions and 148 deletions

View File

@@ -2,20 +2,24 @@
var/icon_exploded = "fridge_exploded"
var/exploded = 0
var/target_temp = FRIDGETEMP_DEFAULT
var/cooling_power = 40
/obj/structure/closet/secure_closet/freezer/New()
..()
processing_objects.Add(src)
/obj/structure/closet/secure_closet/freezer/process()
..()
if(exploded)
processing_objects.Remove(src)
/obj/structure/closet/secure_closet/freezer/return_air()
var/datum/gas_mixture/gas = (..())
if(!gas)
return null
var/datum/gas_mixture/newgas = new/datum/gas_mixture()
newgas.copy_from(gas)
if(newgas.temperature <= target_temp)
return
for(var/obj/item/weapon/reagent_containers/R in contents)
if(R.reagents)
R.reagents.heating(rand(-200,-800), T0C)
if((newgas.temperature - cooling_power) > target_temp)
newgas.temperature -= cooling_power
else
newgas.temperature = target_temp
newgas.update_values()
return newgas
/obj/structure/closet/secure_closet/freezer/open()
if(..())
@@ -101,6 +105,7 @@
icon_opened = "fridgeopen"
icon_broken = "fridgebroken"
icon_off = "fridge1"
target_temp = FRIDGETEMP_FREEZER
/obj/structure/closet/secure_closet/freezer/meat/atoms_to_spawn()
@@ -116,6 +121,7 @@
icon_opened = "fridgeopen"
icon_broken = "fridgebroken"
icon_off = "fridge1"
target_temp = FRIDGETEMP_DEFAULT
/obj/structure/closet/secure_closet/freezer/fridge/atoms_to_spawn()
return list(