From f571f9d6eb7b11dc003aaf6c0a19b9db40ad356e Mon Sep 17 00:00:00 2001 From: rubenwardy Date: Wed, 4 Apr 2018 20:55:33 +0100 Subject: Add support for death reasons --- api.lua | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'api.lua') 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", -- cgit v1.2.3