Fixes to internal bleeding.

- Created internal wound doesn't close instantly anymore.
- Small fix to body scanner display.
This commit is contained in:
cib
2012-11-12 14:16:19 +01:00
parent 6d3e742992
commit 4b331f3676
2 changed files with 4 additions and 4 deletions
+1 -1
View File
@@ -464,7 +464,7 @@
// Possibly trigger an internal wound, too.
if(damage > 10 && prob(damage))
var/datum/wound/internal_bleeding/I = new (5)
var/datum/wound/internal_bleeding/I = new (15)
wounds += I
// check whether we can add the wound to an existing wound
+3 -3
View File
@@ -280,7 +280,7 @@
var/splint = ""
var/internal_bleeding = ""
for(var/datum/wound/W in e.wounds) if(W.internal)
internal_bleeding = "Internal Bleeding:"
internal_bleeding = "<br>Internal Bleeding"
break
if(e.status & ORGAN_SPLINTED)
splint = "Splinted:"
@@ -293,7 +293,7 @@
if(e.implant)
imp = "Implanted:"
if(!AN && !open && !infected & !imp)
AN = "None"
AN = "None:"
if(!(e.status & ORGAN_DESTROYED))
dat += "<td>[e.display_name]</td><td>[e.burn_dam]</td><td>[e.brute_dam]</td><td>[bled][AN][splint][open][infected][imp][internal_bleeding]</td>"
else
@@ -306,4 +306,4 @@
dat = "<font color='red'> Error: No Body Scanner connected.</font>"
dat += text("<BR><BR><A href='?src=\ref[];mach_close=scanconsole'>Close</A>", user)
user << browse(dat, "window=scanconsole;size=430x600")
return
return