Move recipe definitions to a separate file and function.

This commit is contained in:
Thomas--S
2018-03-04 12:16:45 +01:00
committed by Hugo Locurcio
parent d5edcb2a10
commit 7d701da5b9
8 changed files with 446 additions and 435 deletions

View File

@ -57,4 +57,5 @@ stairsplus.register_single = function(category, alternate, info, modname, subnam
def.drop = modname.. ":" .. category .. "_" .. fields.drop .. alternate
end
minetest.register_node(":" ..modname.. ":" .. category .. "_" .. subname .. alternate, def)
stairsplus.register_recipes(category, alternate, modname, subname, recipeitem)
end