Surgery trays, material knife shrapnel extraction, ghetto stitches (#6940)

Also adds a framework for custom bandage descriptions.
This commit is contained in:
Matt Atlas
2019-09-07 14:42:36 +03:00
committed by Erki
parent 27437a423a
commit cf0fc45ab2
8 changed files with 309 additions and 176 deletions
+4 -1
View File
@@ -1138,7 +1138,10 @@ Note that amputating the affected organ does in fact remove the infection from t
var/this_wound_desc = W.desc
if(W.damage_type == BURN && W.salved) this_wound_desc = "salved [this_wound_desc]"
if(W.bleeding()) this_wound_desc = "bleeding [this_wound_desc]"
else if(W.bandaged) this_wound_desc = "bandaged [this_wound_desc]"
if(W.bandaged == 1)
this_wound_desc = "bandaged [this_wound_desc]"
else if(W.bandaged != 0)
this_wound_desc = "[W.bandaged] [this_wound_desc]"
if(W.germ_level > 600) this_wound_desc = "badly infected [this_wound_desc]"
else if(W.germ_level > 330) this_wound_desc = "lightly infected [this_wound_desc]"
if(wound_descriptors[this_wound_desc])
+4 -2
View File
@@ -142,8 +142,10 @@
return 0
/datum/wound/proc/bandage()
bandaged = 1
/datum/wound/proc/bandage(var/examine_desc)
if(!examine_desc)
bandaged = 1
else bandaged = examine_desc
/datum/wound/proc/salve()
salved = 1