mirror of
https://github.com/vgstation-coders/vgstation13.git
synced 2025-12-10 10:21:11 +00:00
[NEEDS REVIEW] adds chemical heating (#16116)
* adds heating as a way of making chemicals through recipe * adds density and SHC of found base elements. Adds more true-to-life heating * adds defines for source_temperatures on hot objects, remakes the heating proc so it works according to the laws of physics * conflict fixes * fleshes out the bunsen burner. Adds an alteration to the dump chemical reactions proc that dumps general chemical information * adds a thermometer for measuring the temperature of reagent containers, tweaks the bunsen burner values a bit, adds some more densities and SHCs * Adds being able to construct and deconstruct bunsen burners * adds the thermometer to the medvend, advanced thermometer to research, resizes the thermometers to be pocketable, et cetera. * requested changes * removes the chemistry diagnostic verb entirely, rather than leaving it commented out
This commit is contained in:
committed by
Shadowmech88
parent
f240d18fac
commit
8bfd04b3d4
@@ -364,3 +364,18 @@ var/list/LOGGED_SPLASH_REAGENTS = list(FUEL, THERMITE)
|
||||
|
||||
|
||||
return 1
|
||||
|
||||
/obj/item/weapon/reagent_containers/fire_act(datum/gas_mixture/air, exposed_temperature, exposed_volume)
|
||||
reagents.heating(1000, exposed_temperature)
|
||||
..()
|
||||
|
||||
/obj/item/weapon/reagent_containers/attackby(obj/item/I, mob/user, params)
|
||||
..()
|
||||
attempt_heating(I, user)
|
||||
|
||||
/obj/item/weapon/reagent_containers/proc/attempt_heating(obj/item/I, mob/user)
|
||||
var/temperature = I.is_hot()
|
||||
var/thermal_energy = I.thermal_energy_transfer()
|
||||
if(temperature && reagents)
|
||||
reagents.heating(thermal_energy, temperature)
|
||||
to_chat(user, "<span class='notice'>You heat [src] with [I].</span>")
|
||||
Reference in New Issue
Block a user