diff options
Diffstat (limited to 'readme.md')
-rw-r--r-- | readme.md | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -42,7 +42,7 @@ old fork in Carbone, under same license. * awards.run_trigger_callbacks(player, data, trigger, table_func(entry)) * Goes through and checks all triggers registered to a trigger type, unlocking the award if conditions are met. - * data is the player's award data, ie: awards.players[player_name] + * data is the player's award data, ie: awards.player(player_name) * trigger is the name of the trigger type. Ie: awards.on[trigger] * table_func is called if the trigger is a table - simply return an award name to unlock it @@ -51,7 +51,7 @@ old fork in Carbone, under same license. * add to an item's statistic count * for example, (data, "place", "default:stone") will add 1 to the number of times default:stone has been placed. - * data is the player's award data, ie: awards.players[player_name] + * data is the player's award data, ie: awards.player(player_name) * returns true on success, false on failure (eg: cannot get modname and item from itemname) * awards.register_on_unlock(func(name, def)) * name is the player name |