Advertisement
Guest User

Chemical heal amounts

a guest
Oct 18th, 2015
257
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.96 KB | None | 0 0
  1. REAGENTS_METABOLISM = 0.2
  2. REAGENTS_EFFECT_MULTIPLIER = REAGENTS_METABOLISM / 0.4
  3. = 0.2 / 0.4
  4. = 0.5
  5.  
  6. Without much actual knowledge, I can only assume that each time a living body metabolises a chemical (whether it's metabolised every tick or ever Life() doesn't matter, we're only here to find out how *much* is healed), the effects of that chemical run and custom_metabolism (by default REAGENTS_METABOLISM, or 0.2) is removed from the body.
  7. This means that the healing amount of X units of a given chemical can be found by:
  8.  
  9. amountHealed * (X / custom_metabolism)
  10.  
  11. Where amountHealed is gotten from https://github.com/d3athrow/vgstation13/blob/Bleeding-Edge/code/modules/reagents/Chemistry-Reagents.dm
  12. Keep in mind that chemicals such as bicaridine heal, for instance 2*REM, which would result in 1.
  13.  
  14. So from this:
  15. 1u alkysine: 30 brain damage healed
  16. 5u alkysine: 150 brain damage healed
  17. 10u anti-toxin: 50 toxin damage healed
  18. 10u bicaridine: 50 brute damage healed
  19. 10u kelotane: 50 burn damage healed
  20. 10u dermaline: 150 burn damage healed
  21. 10u tricord (assuming 100% procs): 25 oxygen, brute, burn, and toxin damage healed
  22. 1u hyronalin (metabolism of 0.05): 30 radiation damage healed
  23. 10u hyronalin (metabolism of 0.05): 300 radiation damage healed
  24. 1u arithrazine (metabolism of 0.05): 3 brute damage CAUSED (at average), 70 radiation damage healed, 10 toxin damage healed
  25. 10u arithrazine (metabolism of 0.05): 15 brute damage CAUSED (at average), 700 radiation damage healed, 100 toxin damage healed
  26. 1u peridaxon: 1 organ damage healed (to every organ?)
  27.  
  28. Keep in mind that only the raw damage healed is shown here and should not necessarily be taken at face value. For example, although 10u arithrazine will heal more toxin damage than 10u anti-tox, anti-tox has a metabolism of 0.2 and arithrazine has a metabolism of 0.05. This means that after metabolising 50 times, anti-tox will have healed 50 damage and arithrazine will have healed 5 damage.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement