diff options
author | rubenwardy <anjayward@gmail.com> | 2014-05-02 20:09:54 +0100 |
---|---|---|
committer | rubenwardy <anjayward@gmail.com> | 2014-05-02 20:09:54 +0100 |
commit | 6a592781d5d1e3aa8f36382fe171f43453fbad45 (patch) | |
tree | 0f43470fd44be41bc697f8b57b233fa45f2b0d8e /readme.md | |
parent | d0e5dfc0c1cdf5b5feb274d29192811a8c39e420 (diff) |
Secret awards, fixes
Diffstat (limited to 'readme.md')
-rw-r--r-- | readme.md | 12 |
1 files changed, 10 insertions, 2 deletions
@@ -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 |