[MIRROR] Moves playsound_local() to mob and gets rid of a useless proc. (#710)
* Moves playsound_local() to mob and gets rid of a useless proc. * Fixes compile errors
This commit is contained in:
committed by
Poojawa
parent
fd778d9810
commit
47fa8353eb
@@ -290,7 +290,7 @@
|
||||
R.visible_message( "<span class='alert'>[struggle_outer_message]</span>", "<span class='alert'>[struggle_user_message]</span>")
|
||||
playsound(get_turf(owner),"struggle_sound",75,0,-5,1,channel=51)
|
||||
R.stop_sound_channel(51)
|
||||
R.playsound_direct("prey_struggle_sound",60)
|
||||
R.playsound_local("prey_struggle_sound",60)
|
||||
|
||||
if(escapable && R.a_intent != "help") //If the stomach has escapable enabled and the person is actually trying to kick out
|
||||
to_chat(R, "<span class='warning'>You attempt to climb out of \the [name].</span>")
|
||||
|
||||
@@ -23,7 +23,7 @@
|
||||
M.stop_sound_channel(CHANNEL_PRED)
|
||||
playsound(get_turf(owner),"digest_pred",75,0,-6,1,channel=CHANNEL_PRED)
|
||||
M.stop_sound_channel(CHANNEL_PRED)
|
||||
M.playsound_direct("digest_prey",60)
|
||||
M.playsound_local("digest_prey",60)
|
||||
|
||||
//Pref protection!
|
||||
if (!M.digestable)
|
||||
@@ -51,7 +51,7 @@
|
||||
M.stop_sound_channel(CHANNEL_PRED)
|
||||
playsound(get_turf(owner),"death_pred",50,0,-6,1,channel=CHANNEL_PRED)
|
||||
M.stop_sound_channel(CHANNEL_PRED)
|
||||
M.playsound_direct("death_prey",60)
|
||||
M.playsound_local("death_prey",60)
|
||||
digestion_death(M)
|
||||
owner.update_icons()
|
||||
continue
|
||||
@@ -70,7 +70,7 @@
|
||||
M.stop_sound_channel(CHANNEL_PRED)
|
||||
playsound(get_turf(owner),"digest_pred",50,0,-6,1,channel=CHANNEL_PRED)
|
||||
M.stop_sound_channel(CHANNEL_PRED)
|
||||
M.playsound_direct("digest_prey",60)
|
||||
M.playsound_local("digest_prey",60)
|
||||
|
||||
if(M.stat != DEAD)
|
||||
if(owner.nutrition >= NUTRITION_LEVEL_STARVING && (M.health < M.maxHealth))
|
||||
|
||||
Reference in New Issue
Block a user