diff options
author | rubenwardy <rw@rubenwardy.com> | 2018-06-13 22:52:55 +0100 |
---|---|---|
committer | rubenwardy <rw@rubenwardy.com> | 2018-06-13 22:52:55 +0100 |
commit | 237525b518aaec2a8e30bc387062338f81d5b01a (patch) | |
tree | 03806bfa2e8dfa9b6a10e127ef2ccca95e71039b /README.md | |
parent | 21e1ce6675b8e42dd14957e2a7110236c44a19f2 (diff) |
Add support for groups in triggers
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -73,6 +73,10 @@ local trigger = awards.register_trigger(name, { get_key = function(self, def) return minetest.registered_aliases[def.trigger.node] or def.trigger.node end, + + -- "counted_key" only, true if the key is an item name. On notify(), + -- any watched groups will also be notified as `group:groupname` keys. + key_is_item = true, }) ``` |