diff --git a/src/app/content.coffee b/src/app/content.coffee
index 51e20a11e5..de3940eed0 100644
--- a/src/app/content.coffee
+++ b/src/app/content.coffee
@@ -113,4 +113,11 @@ module.exports = {
placement: "right"
}
]
+
+ staticRewards: [
+ { text: "Re-Roll", notes: "Reset your task values to 0. Do this only if you're floundering.", value: 100, icon:"icon-retweet" }
+ { text: "Re-Roll", notes: "Reset your task values to 0. Do this only if you're floundering.", value: 100 }
+ ]
+ staticRewardIds: [0] #stupid, but necessary for refList
+
}
diff --git a/src/app/index.coffee b/src/app/index.coffee
index 5b9a1929a5..f9cd851c66 100644
--- a/src/app/index.coffee
+++ b/src/app/index.coffee
@@ -30,6 +30,7 @@ getRoom = (page, model, userId) ->
model.refList "_dailyList", "_user.tasks", "_user.dailyIds"
model.refList "_todoList", "_user.tasks", "_user.todoIds"
model.refList "_rewardList", "_user.tasks", "_user.rewardIds"
+ model.set '_staticRewards', content.staticRewards
unless model.get('_user.tasks')
model.push '_habitList', task for task in content.defaultTasks.habits
model.push '_dailyList', task for task in content.defaultTasks.dailys
@@ -75,7 +76,7 @@ view.fn "silver", (num) ->
## CONTROLLER FUNCTIONS ##
ready (model) ->
-
+
# Note: Set 12am daily cron for this
# At end of day, add value to all incomplete Daily & Todo tasks (further incentive)
# For incomplete Dailys, deduct experience
diff --git a/views/app/index.html b/views/app/index.html
index 7f9cc8296b..ba6bb334e6 100644
--- a/views/app/index.html
+++ b/views/app/index.html
@@ -103,7 +103,7 @@
{#each _rewardList as :task}
- {{{text}}}
+ {:reward.text}