Make some Stairs+ functions local and add Luacheck ignores

Those functions are used in various places in the mod,
so they aren't unused.
This commit is contained in:
Hugo Locurcio
2019-03-09 01:57:50 +01:00
parent 7dd3e1f0db
commit e622c692e1
7 changed files with 14 additions and 10 deletions

View File

@ -7,7 +7,8 @@ Licensed under the zlib license. See LICENSE.md for more information.
-- Node will be called <modname>:micro_<subname>
function register_micro(modname, subname, recipeitem, groups, images, description, drop, light)
-- luacheck: no unused
local function register_micro(modname, subname, recipeitem, groups, images, description, drop, light)
stairsplus:register_micro(modname, subname, recipeitem, {
groups = groups,
tiles = images,