diff --git a/index.html b/index.html index 46dc0a6..fc7a6d5 100644 --- a/index.html +++ b/index.html @@ -11,7 +11,7 @@
- + +

Owned buildings

@@ -58,8 +82,9 @@
+
- +

Available buildings

@@ -80,36 +105,16 @@
- -
-
-

Quests

-
-
-
- The following items are needed:
- {{ currentQuest.wood }} - {{ currentQuest.stone }} - {{ currentQuest.iron }} - {{ currentQuest.bricks }} -
-
- Redeem reward ({{ currentQuest.reward }} ) -
- -
-
- +
+ diff --git a/js/app.js b/js/app.js index 06732b5..5740dcc 100644 --- a/js/app.js +++ b/js/app.js @@ -170,6 +170,9 @@ let game = new Vue({ case 'stone': this.resources.stone += amount; break; + case 'iron': + this.resources.iron = Number(this.resources.iron + amount); + break; case 'bricks': this.resources.bricks += amount; break;