1
0
mirror of https://github.com/sys4-fr/server-nalc.git synced 2025-12-19 16:25:47 +01:00

Add a breathless sound for sprint mod

And delete a temporary file
This commit is contained in:
Ombridride
2014-12-05 13:02:35 +01:00
parent 2850a4c243
commit 734dff15ba
5 changed files with 2 additions and 125 deletions

View File

@@ -89,7 +89,7 @@ minetest.register_globalstep(function(dtime)
if playerInfo["stamina"] <= 0 then
playerInfo["stamina"] = 0
setState(playerName, 0)
minetest.sound_play("default_snore",{object=player})
minetest.sound_play("default_breathless",{object=player})
end
--Increase player's stamina if he/she is not sprinting and his/her stamina is less than SPRINT_STAMINA