Open incisions in surgery now bleed until closed or clamped.

This commit is contained in:
Chinsky
2013-03-14 04:23:07 +04:00
parent b906a22192
commit f8ae612991
2 changed files with 8 additions and 0 deletions
+6
View File
@@ -348,6 +348,7 @@
brute_dam = 0
burn_dam = 0
status &= ~ORGAN_BLEEDING
var/clamped = 0
for(var/datum/wound/W in wounds)
if(W.damage_type == CUT || W.damage_type == BRUISE)
brute_dam += W.damage
@@ -357,8 +358,13 @@
if(!(status & ORGAN_ROBOT) && W.bleeding())
status |= ORGAN_BLEEDING
clamped |= W.clamped
number_wounds += W.amount
if (open && !clamped) //things tend to bleed if they are CUT OPEN
status |= ORGAN_BLEEDING
// new damage icon system
// adjusted to set damage_state to brute/burn code only (without r_name0 as before)