Added suggested new type of wounds for stumps

This commit is contained in:
Chinsky
2014-08-12 19:48:17 +04:00
parent dddaab172c
commit 573f49624e
2 changed files with 36 additions and 22 deletions

View File

@@ -596,9 +596,11 @@ Note that amputating the affected organ does in fact remove the infection from t
//Replace all wounds on that arm with one wound on parent organ. //Replace all wounds on that arm with one wound on parent organ.
wounds.Cut() wounds.Cut()
if (parent) if (parent)
var/wound_type = get_wound_type(CUT, max_damage) var/datum/wound/W
if(wound_type) if(max_damage < 50)
var/datum/wound/W = new wound_type(max_damage) W = new/datum/wound/lost_limb/small(max_damage)
else
W = new/datum/wound/lost_limb(max_damage)
parent.wounds += W parent.wounds += W
parent.update_damages() parent.update_damages()
update_damages() update_damages()

View File

@@ -273,3 +273,15 @@ datum/wound/cut/massive
stages = list("severed vein" = 30, "cut vein" = 20, "damaged vein" = 10, "bruised vein" = 5) stages = list("severed vein" = 30, "cut vein" = 20, "damaged vein" = 10, "bruised vein" = 5)
autoheal_cutoff = 5 autoheal_cutoff = 5
max_bleeding_stage = 0 //all stages bleed. It's called internal bleeding after all. max_bleeding_stage = 0 //all stages bleed. It's called internal bleeding after all.
/** EXTERNAL ORGAN LOSS **/
/datum/wound/lost_limb
damage_type = CUT
stages = list("ripped stump" = 65, "bloody stump" = 50, "clotted stump" = 25, "scarred stump" = 0)
max_bleeding_stage = 3
can_merge(var/datum/wound/other)
return 0 //cannot be merged
/datum/wound/lost_limb/small
stages = list("ripped stump" = 40, "bloody stump" = 30, "clotted stump" = 15, "scarred stump" = 0)