summaryrefslogtreecommitdiff
path: root/readme.md
diff options
context:
space:
mode:
Diffstat (limited to 'readme.md')
-rw-r--r--readme.md14
1 files changed, 11 insertions, 3 deletions
diff --git a/readme.md b/readme.md
index 324a383..917f2aa 100644
--- a/readme.md
+++ b/readme.md
@@ -17,8 +17,13 @@ The API
* sound [optional]
* image [optional]
* func [optional] - see below
+* awards.give_achievement(name,award)
+ * -- gives an award to a player
* awards.register_onDig(func)
- * -- return true if the medal should be rewarded
+ * -- return award name or null
+ * -- there will be built in versions of this function
+* awards.register_onPlace(func)
+ * -- return award name or null
* -- there will be built in versions of this function
@@ -29,6 +34,9 @@ A list of data referenced/hashed by the player's name.
* name [string]
* getNodeCount('node_name') [function]
-* count [table]
+* count [table] - dig counter
+ * modname [table]
+ * itemname [int]
+* place [table] - place counter
* modname [table]
- *itemname [int] \ No newline at end of file
+ * itemname [int] \ No newline at end of file