holostorage/init.lua

24 lines
419 B
Lua
Raw Permalink Normal View History

2018-04-08 14:11:39 +00:00
-- holostorage
2018-04-07 10:02:58 +00:00
2018-04-08 14:11:39 +00:00
holostorage = rawget(_G, "holostorage") or {}
2018-04-07 10:02:58 +00:00
local modpath = minetest.get_modpath(minetest.get_current_modname())
2018-04-08 14:11:39 +00:00
holostorage.modpath = modpath
2018-04-07 10:02:58 +00:00
2018-04-08 14:11:39 +00:00
holostorage.devices = {}
-- Memory Storage
dofile(modpath.."/masscache.lua")
-- Network
dofile(modpath.."/network.lua")
2018-04-07 18:32:41 +00:00
-- Items
dofile(modpath.."/items.lua")
2018-04-07 10:02:58 +00:00
-- Nodes
dofile(modpath.."/nodes.lua")
-- Crafting recipes
dofile(modpath.."/crafting.lua")