summaryrefslogtreecommitdiff
path: root/readme.md
diff options
context:
space:
mode:
Diffstat (limited to 'readme.md')
-rw-r--r--readme.md12
1 files changed, 10 insertions, 2 deletions
diff --git a/readme.md b/readme.md
index 8b011ed..f8cab88 100644
--- a/readme.md
+++ b/readme.md
@@ -17,9 +17,10 @@ The API
* sound [optional]
* image [optional]
* trigger [optional] [table]
- * type - "dig" or "place"
+ * type - "dig", "place", "death", "chat" or "join"
* (for dig/place type) node - the nodes 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)
* -- gives an award to a player
* awards.register_onDig(func(player,data))
@@ -28,6 +29,10 @@ The API
* -- return award name or null
* awards.register_onDeath(func(player,data))
* -- return award name or null
+* awards.register_onChat(func(player,data))
+ * -- return award name or null
+* awards.register_onJoin(func(player,data))
+ * -- return award name or null
Player Data
@@ -41,4 +46,7 @@ A list of data referenced/hashed by the player's name.
* itemname [int]
* place [table] - place counter
* modname [table]
- * itemname [int] \ No newline at end of file
+ * itemname [int]
+ * deaths
+ * chats
+ * joins \ No newline at end of file