Merge pull request #2963 from CHOMPStation2/revert-2754-Kot-nif-sound

Revert and fix "Reduces the sound volume of the NIF as to not blow your ears out"
This commit is contained in:
Razgriz
2021-09-14 18:34:03 -07:00
committed by GitHub
5 changed files with 4 additions and 4 deletions

View File

@@ -32,20 +32,20 @@
if(HP_percent >= 0.9)
if(mode)
nif.notify("User Status: NORMAL. Medichines deactivating.")
playsound(H,'sound/voice/nifmed_normal.ogg',30,1)
H << 'sound/voice/nifmed_normal.ogg' //CHOMP Add
deactivate()
return TRUE
else if(!mode && HP_percent < 0.8)
nif.notify("User Status: INJURED. Commencing medichine routines.",TRUE)
playsound(H,'sound/voice/nifmed_injured.ogg',30,1)
H << 'sound/voice/nifmed_injured.ogg' //CHOMP Add
activate()
else if(mode == 1 && HP_percent < 0.2)
nif.notify("User Status: DANGER. Seek medical attention!",TRUE)
playsound(H,'sound/voice/nifmed_danger.ogg',30,1)
H << 'sound/voice/nifmed_danger.ogg' //CHOMP Add
mode = 2
else if(mode == 2 && HP_percent < -0.4)
nif.notify("User Status: CRITICAL. Notifying medical, and starting emergency stasis!",TRUE)
playsound(H,'sound/voice/nifmed_critical.ogg',30,1)
H << 'sound/voice/nifmed_critical.ogg' //CHOMP Add
mode = 3
if(!isbelly(H.loc)) //Not notified in case of vore, for gameplay purposes.
var/turf/T = get_turf(H)