From b4bc37db06758c9329e49d0ecc4cce629c778da1 Mon Sep 17 00:00:00 2001 From: comma Date: Thu, 1 Aug 2013 05:57:30 +0400 Subject: [PATCH] Capped regen from treated wounds at 50 damage. If there is a wound with more than 50 damage, it only can be healed with chems or advanced medikits (if they heal it past 50 on their use). --- code/modules/organs/organ_external.dm | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/code/modules/organs/organ_external.dm b/code/modules/organs/organ_external.dm index b82e771131a..2dfecd2a9c7 100644 --- a/code/modules/organs/organ_external.dm +++ b/code/modules/organs/organ_external.dm @@ -326,11 +326,11 @@ owner.custom_pain("You feel a stabbing pain in your [display_name]!",1) // slow healing - var/heal_amt = 0.2 - if (W.damage > 20) //this thing's edges are not in day's travel of each other, what healing? - heal_amt = 0 + var/heal_amt = 0 + if (W.damage < 15) //this thing's edges are not in day's travel of each other, what healing? + heal_amt += 0.2 - if(W.is_treated()) + if(W.is_treated() && W.damage < 50) //whoa, not even magical band aid can hold it together heal_amt += 0.3 //we only update wounds once in [wound_update_accuracy] ticks so have to emulate realtime