diff --git a/index.html b/index.html
index 986173b..f146932 100644
--- a/index.html
+++ b/index.html
@@ -68,15 +68,30 @@
Items needed:
-
{{ currentQuest.wood }}
-
{{ currentQuest.planks }}
-
{{ currentQuest.stone }}
-
{{ currentQuest.coal }}
-
{{ currentQuest.iron }}
-
{{ currentQuest.bricks }}
-
{{ currentQuest.corn }}
+
+
{{ currentQuest.wood }}
+
+
+
{{ currentQuest.planks }}
+
+
+
{{ currentQuest.stone }}
+
+
+
{{ currentQuest.coal }}
+
+
+
{{ currentQuest.iron }}
+
+
+
{{ currentQuest.bricks }}
+
+
+
{{ currentQuest.corn }}
+
-
Redeem reward ({{ currentQuest.reward }}
)
+
+
Redeem reward ({{ currentQuest.reward }}
)
Get Quest (resources needed)
diff --git a/js/app.js b/js/app.js
index d1bd3a4..a84f9e7 100644
--- a/js/app.js
+++ b/js/app.js
@@ -524,6 +524,10 @@ let game = new Vue({
return requirementList + ' for ' + building.amount + ' ' + this.getResourceIconForBuilding(building);
},
+ getColorForQuestResource(needed, has) {
+ return (has >= needed) ? 'lightgreen' : 'red';
+ },
+
// Alerts
sendRewardMessage(reward) {
iziToast.show({