summaryrefslogtreecommitdiff
path: root/api_helpers.lua
diff options
context:
space:
mode:
authorWuzzy <wuzzy2@mail.ru>2016-11-15 01:57:01 +0100
committerGitHub <noreply@github.com>2016-11-15 01:57:01 +0100
commit38c504e938e169e0337591b7ffe13863ff21250d (patch)
treee35f4fdc8eda2f3eb67f2ee7bf806bbe7304efff /api_helpers.lua
parentab7206e15050b050257c7e45b804dc9b1352d41d (diff)
Add eat trigger, extend existing triggers, add 9 awards (#35)
* Add eat trigger and 2 new awards * Add mushroom eating awards * Add support for counting any eat/dig/craft/place * Update readme * Add 4 builder awards * Update German locale * Update dependencies * Fix mistake in German translation * Revert removal of background
Diffstat (limited to 'api_helpers.lua')
-rw-r--r--api_helpers.lua1
1 files changed, 1 insertions, 0 deletions
diff --git a/api_helpers.lua b/api_helpers.lua
index 06e1ee6..cd499ab 100644
--- a/api_helpers.lua
+++ b/api_helpers.lua
@@ -27,6 +27,7 @@ function awards.assertPlayer(playern)
awards.tbv(awards.players[playern], "place")
awards.tbv(awards.players[playern], "count")
awards.tbv(awards.players[playern], "craft")
+ awards.tbv(awards.players[playern], "eat")
awards.tbv(awards.players[playern], "deaths", 0)
awards.tbv(awards.players[playern], "joins", 0)
awards.tbv(awards.players[playern], "chats", 0)