Moved antibodies to the rest of reagents.

Updates them to use new chem processing.
Also axes unused commented out code.
This commit is contained in:
Chinsky
2015-08-14 04:53:46 +03:00
parent 38adf2c5b4
commit 0056a889de
2 changed files with 14 additions and 57 deletions
@@ -110,6 +110,19 @@
M.resistances += data
return
// pure concentrated antibodies
/datum/reagent/antibodies
data = list("antibodies"=list())
name = "Antibodies"
id = "antibodies"
reagent_state = LIQUID
color = "#0050F0"
/datum/reagent/antibodies/affect_blood(var/mob/living/carbon/M, var/alien, var/removed)
if(src.data)
M.antibodies |= src.data["antibodies"]
..()
#define WATER_LATENT_HEAT 19000 // How much heat is removed when applied to a hot turf, in J/unit (19000 makes 120 u of water roughly equivalent to 4L)
/datum/reagent/water
name = "Water"
@@ -143,7 +156,7 @@
environment.add_thermal_energy(-removed_heat)
if (prob(5))
T.visible_message("<span class='warning'>The water sizzles as it lands on \the [T]!</span>")
else if(volume >= 10)
if(T.wet >= 1)
return