Medical Expansion

This commit is contained in:
Mechoid
2019-10-19 23:28:38 -04:00
committed by VirgoBot
parent 0287ce5527
commit 169d8acedd
80 changed files with 2799 additions and 168 deletions
+7
View File
@@ -22,6 +22,13 @@
else if(is_broken())
owner.adjustToxLoss(0.3 * PROCESS_ACCURACY)
/obj/item/organ/internal/kidneys/handle_organ_proc_special()
. = ..()
if(owner && owner.getToxLoss() <= owner.getMaxHealth() * 0.1) // If you have less than 10 tox damage (for a human), your kidneys can help purge it.
if(prob(owner.getToxLoss()))
owner.adjustToxLoss(rand(-1,-3))
/obj/item/organ/internal/kidneys/handle_germ_effects()
. = ..() //Up should return an infection level as an integer
if(!.) return