From a17019ce61239d4b5904c2c959f8f6a950e4194e Mon Sep 17 00:00:00 2001 From: Fen Dweller Date: Mon, 30 Apr 2018 09:00:15 -0400 Subject: [PATCH] Removed powerup button --- forest.js | 14 -------------- world.js | 1 - 2 files changed, 15 deletions(-) diff --git a/forest.js b/forest.js index f23cb0f..03b550e 100644 --- a/forest.js +++ b/forest.js @@ -47,20 +47,6 @@ function AnacondaTest() { }); } -function PowerUp() { - GameObject.call(this, "Powerup"); - - this.actions.push({ - "name": "Powerup", - "action": function() { - player.str += 10; - player.dex += 10; - player.con += 10; - updateDisplay(); - } - }); -} - function Wolf() { Creature.call(this, "Wolf", 10, 15, 15); diff --git a/world.js b/world.js index bb4f47a..7302959 100644 --- a/world.js +++ b/world.js @@ -34,7 +34,6 @@ let locationsSrc = [ Bed, Journal, AnacondaTest, - PowerUp ], }, {