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 &&