Fixes wounds not bleeding and makes gauze stop bleeding

Fixes issue #1408
This commit is contained in:
unknown
2012-07-05 20:48:08 +03:00
parent 79c0a67ed0
commit 46dcfb2d3d
2 changed files with 4 additions and 0 deletions
@@ -115,6 +115,9 @@ MEDICAL
"You hear gauze being ripped.")
use(1)
if (!ointment && (affecting.status & BLEEDING))
affecting.status &= ~BLEEDING
if (affecting.heal_damage(src.heal_brute, src.heal_burn))
H.UpdateDamageIcon()
else
+1
View File
@@ -415,6 +415,7 @@ var/list/wound_progressions = list(
var/size = min( max( 1, damage/10 ) , 6)
switch(type)
if(CUT)
src.status |= BLEEDING
var/list/size_names = list("cut", "deep cut", "flesh wound", "gaping wound", "big gaping wound", "massive wound")
wound_name = size_names[size]
if(wound_descs["[update_time]"])