Gennotify: Add 'minetest.get_decoration_id' API
authorparamat <paramat@users.noreply.github.com>
Fri, 2 Mar 2018 21:27:59 +0000 (21:27 +0000)
committerparamat <mat.gregory@virginmedia.com>
Sat, 3 Mar 2018 23:00:08 +0000 (23:00 +0000)
commit48493a979b4300d96ba17e2ef3a881641323f43e
tree975bc269a36a11dea11f1db02718076178880ff8
parent07622bf9b49830aae2a5e12b5616471da6a8b19a
Gennotify: Add 'minetest.get_decoration_id' API

Returns the decoration ID for the provided decoration name string.
For use with gennotify, to know the decoration IDs for use in
'minetest.set_gen_notify'.
doc/lua_api.txt
src/script/lua_api/l_mapgen.cpp
src/script/lua_api/l_mapgen.h