mirror of
https://github.com/Aurorastation/Aurora.3.git
synced 2026-08-22 20:43:10 +01:00
Surgery trays, material knife shrapnel extraction, ghetto stitches (#6940)
Also adds a framework for custom bandage descriptions.
This commit is contained in:
@@ -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])
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user