melterns/tinkering/init.lua

29 lines
709 B
Lua
Raw Normal View History

2019-03-09 11:49:50 +00:00
-- Tinkering for Minetest 5.0.0+
-- Copyright (c) 2019 Evert "Diamond" Prants <evert@lunasqu.ee>
2018-04-04 10:31:27 +00:00
-- This mod is currently stuck behind https://github.com/minetest/minetest/issues/5686
-- Once this gets implemented, the full abilities of this mod will be available.
tinkering = rawget(_G, "tinkering") or {}
local modpath = minetest.get_modpath(minetest.get_current_modname())
tinkering.modpath = modpath
-- Utilities
dofile(modpath.."/util.lua")
-- Material Database
dofile(modpath.."/materials.lua")
-- Pattern Library
dofile(modpath.."/pattern.lua")
-- Tool Library
dofile(modpath.."/tool.lua")
2018-04-04 10:31:27 +00:00
-- Registration
dofile(modpath.."/register.lua")
-- Nodes and items
dofile(modpath.."/nodesitems.lua")