Makes bone breaks in bellies only audible in whisper range (#8632)

Co-authored-by: Bib Bob <bibbob7765@gmail.com>
Co-authored-by: Kashargul <144968721+Kashargul@users.noreply.github.com>
This commit is contained in:
tacoguy7765093
2024-07-18 01:57:59 -04:00
committed by GitHub
parent 5587f829ce
commit b8dd005a83

View File

@@ -1088,7 +1088,10 @@ Note that amputating the affected organ does in fact remove the infection from t
owner.emote("scream")
jostle_bone() //VOREStation Edit End
playsound(src, "fracture", 90, 1, -2) // CHOMPedit: Much more audible bonebreaks.
if(istype(owner.loc, /obj/belly)) //CHOMPedit, bone breaks in bellys should be whisper range to prevent bar wide blender prefbreak. This is a hacky passive hardcode, if a pref gets added, remove this if else
playsound(src, "fracture", 90, 1, -6.5)
else
playsound(src, "fracture", 90, 1, -2) // CHOMPedit: Much more audible bonebreaks.
status |= ORGAN_BROKEN
broken_description = pick("broken","fracture","hairline fracture")