mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-07-14 17:45:02 +01:00
[MIRROR] [TEST-MERGE FIRST] Allows all limbs to be dismembered and significantly refactors wounds [MDB IGNORE] (#23407)
* [TEST-MERGE FIRST] Allows all limbs to be dismembered and significantly refactors wounds * ah fuck it * test * edaawdawd * Revert "edaawdawd" This reverts commit 47be710fe61a1f4ca79212b29b3e88bf05ec9a3a. * nothing but sheer hatred * freaawd * dzfxg * Fixing some diffs here while we are at it. * These are deprecated and should be removed --------- Co-authored-by: nikothedude <59709059+nikothedude@users.noreply.github.com> Co-authored-by: nikothedude <simon.prouty@gmail.com> Co-authored-by: Giz <13398309+vinylspiders@users.noreply.github.com>
This commit is contained in:
@@ -92,8 +92,9 @@
|
||||
H.apply_damage(source.force, BRUTE, BODY_ZONE_HEAD, wound_bonus=CANT_WOUND) // easy tiger, we'll get to that in a sec
|
||||
var/obj/item/bodypart/slit_throat = H.get_bodypart(BODY_ZONE_HEAD)
|
||||
if(slit_throat)
|
||||
var/datum/wound/slash/critical/screaming_through_a_slit_throat = new
|
||||
screaming_through_a_slit_throat.apply_wound(slit_throat, wound_source = "throat slit")
|
||||
var/datum/wound/slash/flesh/critical/screaming_through_a_slit_throat = new
|
||||
if (!screaming_through_a_slit_throat.apply_wound(slit_throat, wound_source = "throat slit"))
|
||||
qdel(screaming_through_a_slit_throat)
|
||||
H.apply_status_effect(/datum/status_effect/neck_slice)
|
||||
|
||||
/**
|
||||
|
||||
@@ -303,7 +303,7 @@
|
||||
return
|
||||
var/damage = weapon.w_class * remove_pain_mult
|
||||
limb.receive_damage(brute=(1-pain_stam_pct) * damage * 1.5, sharpness=SHARP_EDGED) // Performs exit wounds and flings the user to the caster if nearby
|
||||
limb.force_wound_upwards(/datum/wound/pierce/moderate)
|
||||
limb.force_wound_upwards(/datum/wound/pierce/bleed/moderate)
|
||||
victim.adjustStaminaLoss(pain_stam_pct * damage)
|
||||
playsound(get_turf(victim), 'sound/effects/wounds/blood2.ogg', 50, TRUE)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user