1
0
mirror of https://gitlab.com/rubenwardy/awards.git synced 2025-07-13 05:10:26 +02:00

Add support for death reasons

This commit is contained in:
rubenwardy
2018-04-04 20:55:33 +01:00
parent 6c79a2f73f
commit f571f9d6eb
3 changed files with 26 additions and 7 deletions

View File

@ -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.