From 8f3d303e450dd586df345684dd193281ff8e43d5 Mon Sep 17 00:00:00 2001 From: Erthilo Date: Mon, 2 Sep 2013 17:53:28 +0100 Subject: [PATCH] Bicaridine slows but does not stop internal bleeding. --- code/modules/organs/organ_external.dm | 17 ++++++++++------- 1 file changed, 10 insertions(+), 7 deletions(-) diff --git a/code/modules/organs/organ_external.dm b/code/modules/organs/organ_external.dm index 8955f1fc35..d7d6fe3398 100644 --- a/code/modules/organs/organ_external.dm +++ b/code/modules/organs/organ_external.dm @@ -323,16 +323,19 @@ if(W.internal && !W.is_treated() && owner.bodytemperature >= 170) if(!owner.reagents.has_reagent("bicaridine")) //bicard stops internal wounds from growing bigger with time, and also stop bleeding W.open_wound(0.1 * wound_update_accuracy) - owner.vessel.remove_reagent("blood",0.04 * W.damage * wound_update_accuracy) //This line causes the bleeding from internal organs. - if(owner.reagents.has_reagent("bicaridine") && (owner.reagents.get_reagent_amount("bicaridine") >= 30)) - var/healinternal = 0.2 - if(W.damage <= healinternal) - W.damage = 0 - else - W.damage -= healinternal + owner.vessel.remove_reagent("blood",0.05 * W.damage * wound_update_accuracy) + owner.vessel.remove_reagent("blood",0.02 * W.damage * wound_update_accuracy)//Bicaridine slows Internal Bleeding if(prob(1 * wound_update_accuracy)) owner.custom_pain("You feel a stabbing pain in your [display_name]!",1) + //overdose of bicaridine begins healing IB + if(owner.reagents.has_reagent("bicaridine") && (owner.reagents.get_reagent_amount("bicaridine") >= 30)) + var/healinternal = 0.2 + if(W.damage <= healinternal) + W.damage = 0 + else + W.damage -= healinternal + // slow healing var/heal_amt = 0