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

Modifications for sprint and moretrees

- Moretrees' leaves aren't walkable anymore
- Adding the snore sound in default
- Adding snore sound's play when stamina has run out (on both e and w
  sprint)
- I don't know why mud mods/snow/config.txt has been modified
This commit is contained in:
LeMagnesium
2014-12-04 17:59:35 +01:00
parent c5b58ecbb7
commit 2850a4c243
5 changed files with 4 additions and 2 deletions

View File

@@ -89,6 +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})
end
--Increase player's stamina if he/she is not sprinting and his/her stamina is less than SPRINT_STAMINA