connect majority actions to sound effects;add more placeholder loops and effects

This commit is contained in:
jorsi
2020-05-30 19:48:44 -04:00
parent 71786c3671
commit 1d84e5f85c
20 changed files with 202 additions and 119 deletions
+2
View File
@@ -607,6 +607,7 @@ var Outside = {
Notifications.notify(Outside, _("dry brush and dead branches litter the forest floor"));
var gatherAmt = $SM.get('game.buildings["cart"]', true) > 0 ? 50 : 10;
$SM.add('stores.wood', gatherAmt);
AudioEngine.playSound(Outside.SOUNDS['gather-wood']);
},
checkTraps: function() {
@@ -647,6 +648,7 @@ var Outside = {
Notifications.notify(Outside, s);
$SM.addM('stores', drops);
AudioEngine.playSound(Outside.SOUNDS['check-traps']);
},
handleStateUpdates: function(e){