diff --git a/audio/footsteps-1.flac b/audio/footsteps-1.flac index 52762ac..17cd3c3 100644 Binary files a/audio/footsteps-1.flac and b/audio/footsteps-1.flac differ diff --git a/audio/footsteps-2.flac b/audio/footsteps-2.flac index aef0212..bb0918c 100644 Binary files a/audio/footsteps-2.flac and b/audio/footsteps-2.flac differ diff --git a/audio/footsteps-3.flac b/audio/footsteps-3.flac index 6fe4e03..a04f571 100644 Binary files a/audio/footsteps-3.flac and b/audio/footsteps-3.flac differ diff --git a/audio/footsteps-4.flac b/audio/footsteps-4.flac new file mode 100644 index 0000000..c5d232c Binary files /dev/null and b/audio/footsteps-4.flac differ diff --git a/audio/footsteps-5.flac b/audio/footsteps-5.flac new file mode 100644 index 0000000..42046a8 Binary files /dev/null and b/audio/footsteps-5.flac differ diff --git a/audio/footsteps-6.flac b/audio/footsteps-6.flac new file mode 100644 index 0000000..5c29363 Binary files /dev/null and b/audio/footsteps-6.flac differ diff --git a/script/audioLibrary.js b/script/audioLibrary.js index b97c164..6a7e028 100644 --- a/script/audioLibrary.js +++ b/script/audioLibrary.js @@ -61,6 +61,9 @@ var AudioLibrary = { FOOTSTEPS_1: 'audio/footsteps-1.flac', FOOTSTEPS_2: 'audio/footsteps-2.flac', FOOTSTEPS_3: 'audio/footsteps-3.flac', + FOOTSTEPS_4: 'audio/footsteps-4.flac', + FOOTSTEPS_5: 'audio/footsteps-5.flac', + FOOTSTEPS_6: 'audio/footsteps-6.flac', EAT_MEAT: 'audio/eat-meat.flac', USE_MEDS: 'audio/use-meds.flac', WEAPON_UNARMED_1: 'audio/weapon-unarmed-1.flac', diff --git a/script/world.js b/script/world.js index 15ad4b9..f6dc6d5 100644 --- a/script/world.js +++ b/script/world.js @@ -348,7 +348,7 @@ var World = { World.doSpace(); // play random footstep - var randomFootstep = Math.floor(Math.random() * 2) + 1; + var randomFootstep = Math.floor(Math.random() * 5) + 1; AudioEngine.playSound(AudioLibrary['FOOTSTEPS_' + randomFootstep]); if(World.checkDanger()) {