summaryrefslogtreecommitdiff
path: root/README.md
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 /README.md
parent6c79a2f73fdf5f2a7e79da0f0291e61f7239f2ee (diff)
Add support for death reasons
Diffstat (limited to 'README.md')
-rw-r--r--README.md2
1 files changed, 2 insertions, 0 deletions
diff --git a/README.md b/README.md
index 938a4ef..c780aea 100644
--- a/README.md
+++ b/README.md
@@ -97,6 +97,8 @@ Callbacks (register a function to be run)
* craft type: Craft something.
* item: the crafted item type. If nil, all crafted items are counted
* death type: Die.
+ * reason: the death reason, one of the types in PlayerHPChangeReason (see lua_api.txt)
+ or nil for total deaths.
* chat type: Write a chat message.
* join type: Join the server.
* (for all types) target - how many times to dig/place/craft/etc.