07-03-2016, 09:08 PM
(07-03-2016, 07:51 PM)Grek Wrote: -Beer is over 3 times more effective at curing toxin damage than charcoal, but is only effective only when chilled.
Actually, that's not true.
The relevant code is
Code:
reaction_mob(var/mob/M, var/method=TOUCH, var/volume_passed)
var/mytemp = holder.total_temperature
src = null
if(!volume_passed) return
if(!ishuman(M)) return
if(method == INGEST)
if(mytemp <= T0C+7) //Nice & cold.
if(M.get_toxin_damage())
M.take_toxin_damage(-5)
M.updatehealth()
if (prob(25)) boutput(M, "<span style=\"color:blue\">Nice and cold! How refreshing!</span>")
else if (mytemp > T0C + 30) //Warm & disgusting.
M.emote("frown")
boutput(M, "<span style=\"color:red\">This beer is all warm and nasty. Ugh.</span>")
The key here is that this is called on ingestion rather than per mob life.
in other words, you lose -5 tox damage PER SIP rather than per TICK. Charcoal works per tick, so, in theory, it will be way more effective.
However, if you can make a way to rapidly ingest lots of cold beer, you're right.