Merge pull request #15607 from Putnam3145/auxmos-1

Updates auxmos to 1.0 (plus other atmos stuff with it)
This commit is contained in:
Lin
2022-05-13 05:45:33 +00:00
committed by GitHub
20 changed files with 237 additions and 65 deletions
@@ -273,6 +273,7 @@ GLOBAL_LIST_INIT(name2reagent, build_name2reagent())
G.color = color
G.breath_reagent = src.type
G.group = GAS_GROUP_CHEMICALS
G.moles_visible = MOLES_GAS_VISIBLE
return G
/datum/reagent/proc/create_gas()
@@ -1497,6 +1497,13 @@
myseed.adjust_yield(1)
myseed.adjust_instability(1)
/datum/reagent/ammonia/reaction_mob(mob/living/M, method=TOUCH, reac_volume, touch_protection)
if(method == VAPOR)
M.adjustOrganLoss(ORGAN_SLOT_LUNGS, ((100-touch_protection)/100)*reac_volume*REAGENTS_EFFECT_MULTIPLIER * 0.25)
if(prob(reac_volume))
to_chat(M, "<span class='danger'>Your lungs hurt!</span>")
return ..()
/datum/reagent/diethylamine
name = "Diethylamine"
description = "A secondary amine, mildly corrosive."
@@ -1807,6 +1814,10 @@
boiling_point = 332
pH = 7.8
/datum/reagent/bromine/on_mob_life(mob/living/carbon/C)
C.adjustOrganLoss(ORGAN_SLOT_BRAIN, 0.2, 99)
..()
/datum/reagent/phenol
name = "Phenol"
description = "An aromatic ring of carbon with a hydroxyl group. A useful precursor to some medicines, but has no healing properties on its own."