summaryrefslogtreecommitdiff
path: root/readme.md
diff options
context:
space:
mode:
authorMrIbby <siribby@outlook.com>2016-06-01 10:41:24 -0700
committerrubenwardy <rubenwardy@gmail.com>2016-06-01 18:41:24 +0100
commit85a40d24880964dfdf6c3e0db92ce5b9bbca0dc5 (patch)
tree726d22eb8a4f18e0a2bdd115a3d24927204dde81 /readme.md
parentc711bc74b25e7f9acf445d7a8df5241d771e0b04 (diff)
Add craft triggerv0.5.0
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