On-mob_life proc doesn't work for some reason. Fix it/badger helpers.

This commit is contained in:
Fermi
2019-05-16 01:26:46 +01:00
parent 246a344fed
commit 538c6e98ac
4 changed files with 32 additions and 31 deletions
-1
View File
@@ -41,7 +41,6 @@
if (!T)
return
..()
return
if ((from.pH > 12.5) || (from.pH < 1.5))
to_chat(src, "<span class='warning'>You taste chemical burns!</span>")
T.adjustTongueLoss(src, 5)
+1 -1
View File
@@ -35,7 +35,7 @@
var/self_consuming = FALSE
//Fermichem vars:
var/purity = 1
var/impureChem = "toxin"
//var/ImpureChem = "toxin"
var/loc = null //Should be the creation location!
var/pH = 7
@@ -204,7 +204,7 @@
color = "#669900" // rgb: 102, 153, 0
overdose_threshold = 30
taste_description = "fish"
ph = 12.2
pH = 12.2
/datum/reagent/medicine/rezadone/on_mob_life(mob/living/carbon/M)
M.setCloneLoss(0) //Rezadone is almost never used in favor of cryoxadone. Hopefully this will change that.
@@ -868,7 +868,7 @@
id = "mannitol"
description = "Efficiently restores brain damage."
color = "#DCDCFF"
ph = 10.4
pH = 10.4
/datum/reagent/medicine/mannitol/on_mob_life(mob/living/carbon/C)
C.adjustBrainLoss(-2*REM)
@@ -1120,14 +1120,14 @@
. = 1
/datum/reagent/medicine/neo_jelly
name = "Neo Jelly"
id = "neo_jelly"
description = "Gradually regenerates all types of damage, without harming slime anatomy.Can OD"
reagent_state = LIQUID
metabolization_rate = 1 * REAGENTS_METABOLISM
color = "#91D865"
overdose_threshold = 30
taste_description = "jelly"
name = "Neo Jelly"
id = "neo_jelly"
description = "Gradually regenerates all types of damage, without harming slime anatomy.Can OD"
reagent_state = LIQUID
metabolization_rate = 1 * REAGENTS_METABOLISM
color = "#91D865"
overdose_threshold = 30
taste_description = "jelly"
pH = 13
/datum/reagent/medicine/neo_jelly/on_mob_life(mob/living/carbon/M)