From 0427129db52a9f8e4ebf2842398d53b53f01885a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ruben=20M=C3=BCller?= Date: Sun, 7 Dec 2014 18:03:46 +0100 Subject: [PATCH] Add all bubbles --- src/game.coffee | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/game.coffee b/src/game.coffee index fa17c66..2b57577 100644 --- a/src/game.coffee +++ b/src/game.coffee @@ -105,6 +105,8 @@ app.game = @speechbubble.say 'nores' else @speechbubble.say 'toofar' + else + @speechbubble.say 'nosel' # TODO: OMG refactor this ... createSolarpanel: -> @@ -116,6 +118,9 @@ app.game = @speechbubble.say 'nores' else @speechbubble.say 'toofar' + else + @speechbubble.say 'nosel' + checkResource: (type, amount, drain = false) -> if @resources[type] >= amount @resources[type] -= amount if drain