[READY]Refactors uplinks to a component!

This commit is contained in:
oranges
2017-11-23 10:16:16 +13:00
committed by CitadelStationBot
parent 2e9f3bc1c0
commit cec6c028f5
24 changed files with 468 additions and 298 deletions
+12
View File
@@ -732,6 +732,18 @@
out += "[taste_desc]"
return english_list(out, "something indescribable")
<<<<<<< HEAD
=======
/datum/reagents/proc/expose_temperature(var/temperature, var/coeff=0.02)
var/temp_delta = (temperature - chem_temp) * coeff
if(temp_delta > 0)
chem_temp = min(chem_temp + max(temp_delta, 1), temperature)
else
chem_temp = max(chem_temp + min(temp_delta, -1), temperature)
chem_temp = round(chem_temp)
handle_reactions()
>>>>>>> ccd4981... Merge pull request #32624 from kevinz000/component_uplinks
///////////////////////////////////////////////////////////////////////////////////