summaryrefslogtreecommitdiff
path: root/api.lua
diff options
context:
space:
mode:
authorrubenwardy <rw@rubenwardy.com>2018-04-04 20:55:33 +0100
committerrubenwardy <rw@rubenwardy.com>2018-04-04 20:55:33 +0100
commitf571f9d6eb7b11dc003aaf6c0a19b9db40ad356e (patch)
treec07efef45cfdecdec19b817d339be251ca926ac1 /api.lua
parent6c79a2f73fdf5f2a7e79da0f0291e61f7239f2ee (diff)
Add support for death reasons
Diffstat (limited to 'api.lua')
-rw-r--r--api.lua5
1 files changed, 5 insertions, 0 deletions
diff --git a/api.lua b/api.lua
index 21f196b..b19daf9 100644
--- a/api.lua
+++ b/api.lua
@@ -48,6 +48,11 @@ local function convert_data()
data[from] = nil
end
+ data.death = {
+ unknown = data.death,
+ __total = data.death,
+ }
+
-- Convert item db to new format
local counted_items = {
count = "dig",