summaryrefslogtreecommitdiff
path: root/readme.md
diff options
context:
space:
mode:
Diffstat (limited to 'readme.md')
-rw-r--r--readme.md8
1 files changed, 7 insertions, 1 deletions
diff --git a/readme.md b/readme.md
index e8cf8a2..1605915 100644
--- a/readme.md
+++ b/readme.md
@@ -20,8 +20,9 @@ The API
* sound [optional]
* image [optional]
* trigger [optional] [table]
- * type - "dig", "place", "death", "chat" or "join"
+ * type - "dig", "place", "craft", "death", "chat" or "join"
* (for dig/place type) node - the nodes name
+ * (for craft type) item - the items name
* (for all types) target - how many to dig / place
* secret [optional] - if true, then player needs to unlock to find out what it is.
* awards.give_achievement(name,award)
@@ -36,6 +37,8 @@ The API
* -- return award name or null
* awards.register_onJoin(func(player,data))
* -- return award name or null
+* awards.register_onCraft(func(player,data))
+ * -- return award name or null
Player Data
@@ -50,6 +53,9 @@ A list of data referenced/hashed by the player's name.
* place [table] - place counter
* modname [table]
* itemname [int]
+ * craft [table] - craft counter
+ * modname [table]
+ * itemname [int]
* deaths
* chats
* joins