add outline of Path sounds

This commit is contained in:
jorsi
2020-05-29 18:21:57 -04:00
parent de9d2e6a17
commit 9ae1ac06f5
2 changed files with 12 additions and 0 deletions
Binary file not shown.
+12
View File
@@ -2,6 +2,13 @@ var Path = {
DEFAULT_BAG_SPACE: 10,
_STORES_OFFSET: 0,
currentMusic: 0,
MUSIC: {
0: '/audio/dusty-path.wav'
},
SOUNDS: {
'embark': '/audio/embark.wav',
},
// Everything not in this list weighs 1
Weight: {
'bone spear': 2,
@@ -304,6 +311,7 @@ var Path = {
Path.setTitle();
Path.updateOutfitting();
Path.updatePerks(true);
Path.setMusic();
Engine.moveStoresView($('#perks'), transition_diff);
},
@@ -357,5 +365,9 @@ var Path = {
scrollByX( $('#storesContainer'), momentum );
Path._STORES_OFFSET += momentum;
},
setMusic: function () {
AudioEngine.changeMusic(Path.MUSIC[0]);
}
};