From 3e5f9fd33004b44222e4ebdfa957e00fe79edad7 Mon Sep 17 00:00:00 2001 From: Nero Ignis Date: Mon, 19 Apr 2021 09:39:01 +0200 Subject: [PATCH] Fix; --- js/app.js | 38 ++++++++++++++++++-------------------- 1 file changed, 18 insertions(+), 20 deletions(-) diff --git a/js/app.js b/js/app.js index 6e0c32e..7c15112 100644 --- a/js/app.js +++ b/js/app.js @@ -406,26 +406,24 @@ let game = new Vue({ }, isQuestRedeemable() { - console.log( - this.resources.wood + ' wood available', - this.currentQuest.wood + ' wood needed in quest', - this.resources.wood >= this.currentQuest.wood, - this.resources.stone + ' stone available', - this.currentQuest.stone + ' wood needed in quest', - this.resources.stone >= this.currentQuest.stone, - this.resources.iron + ' iron available', - this.currentQuest.iron + ' wood needed in quest', - this.resources.iron >= this.currentQuest.iron, - this.resources.bricks + ' bricks available', - this.currentQuest.bricks + ' wood needed in quest', - this.resources.bricks >= this.currentQuest.bricks, - this.resources.corn + ' corn available', - this.currentQuest.corn + ' wood needed in quest', - this.resources.corn >= this.currentQuest.corn, - this.resources.coal + ' coal available', - this.currentQuest.coal + ' wood needed in quest', - this.resources.coal >= this.currentQuest.coal - ); + console.log(this.resources.wood + ' wood available'); + console.log(this.currentQuest.wood + ' wood needed in quest'); + console.log(this.resources.wood >= this.currentQuest.wood); + console.log(this.resources.stone + ' stone available'); + console.log(this.currentQuest.stone + ' wood needed in quest'); + console.log(this.resources.stone >= this.currentQuest.stone); + console.log(this.resources.iron + ' iron available'); + console.log(this.currentQuest.iron + ' wood needed in quest'); + console.log(this.resources.iron >= this.currentQuest.iron); + console.log(this.resources.bricks + ' bricks available'); + console.log(this.currentQuest.bricks + ' wood needed in quest'); + console.log(this.resources.bricks >= this.currentQuest.bricks); + console.log(this.resources.corn + ' corn available'); + console.log(this.currentQuest.corn + ' wood needed in quest'); + console.log(this.resources.corn >= this.currentQuest.corn); + console.log(this.resources.coal + ' coal available'); + console.log(this.currentQuest.coal + ' wood needed in quest'); + console.log(this.resources.coal >= this.currentQuest.coal); return ( this.resources.wood >= this.currentQuest.wood &&