Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Revert "Переозвучка B18 + мини-добавление" #818

Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 2 additions & 7 deletions code/datums/elements/limb_support.dm
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@

var/mob/living/carbon/human/injured_mob = owner
var/obj/item/clothing/worn_suit = injured_mob.wear_suit

for(var/datum/limb/limb in injured_mob.limbs)
if(!(limbs_to_support & limb.body_part))
continue
Expand All @@ -48,13 +49,7 @@
continue

if(!dropped && ((limb.limb_status & LIMB_BROKEN) && !(limb.limb_status & LIMB_STABILIZED)))
if(limb.body_part == CHEST || limb.body_part == GROIN || limb.body_part == HEAD)
playsound(worn_suit, 'sound/voice/b18/fracture.ogg', 15, 0, 1)
else
playsound(worn_suit, 'sound/voice/b18/light_fracture.ogg', 15, 0, 1)
limb.limb_status |= LIMB_STABILIZED
playsound(worn_suit, 'sound/voice/b18/fracture.ogg', 15, 0, 1)
to_chat(injured_mob, span_notice("<b>You feel [worn_suit] constrict about your [limb.display_name], stabilizing it.</b>"))
playsound(worn_suit, 'sound/machines/hydraulics_1.ogg', 15, 0, 1)

if(!dropped && (limb.limb_status & LIMB_BLEEDING))
addtimer(CALLBACK(GLOBAL_PROC, GLOBAL_PROC_REF(playsound), worn_suit, 'sound/voice/b18/ib_detected.ogg', 15, 0, 1), 2.2 SECONDS)
Binary file modified sound/voice/b18/activate.ogg
Binary file not shown.
Binary file modified sound/voice/b18/antitoxin.ogg
Binary file not shown.
Binary file modified sound/voice/b18/antitoxin2.ogg
Binary file not shown.
Binary file modified sound/voice/b18/brute.ogg
Binary file not shown.
Binary file removed sound/voice/b18/diying.ogg
Binary file not shown.
Binary file modified sound/voice/b18/fracture.ogg
Binary file not shown.
Binary file modified sound/voice/b18/ib_detected.ogg
Binary file not shown.
Binary file removed sound/voice/b18/light_fracture.ogg
Binary file not shown.
Binary file added sound/voice/b18/pain_suppress.ogg
Binary file not shown.
Binary file removed sound/voice/b18/tox.ogg
Binary file not shown.
Loading