microexpansion/modules/storage/init.lua
octacian 0a9d8880a9 ME Chest: Fix drive item limit bug
Previously the math was incorrect, allowing a single 8k drive to store over 300,000 items. This also cleans up the storage area a bit, moving the API related to storage drives from the main API.lua to storage/api.lua.
2017-02-23 07:35:42 -08:00

13 lines
244 B
Lua

-- storage/init.lua
local module_path = microexpansion.get_module_path("storage")
-- Load API
dofile(module_path.."/api.lua")
-- Load storage devices
dofile(module_path.."/storage.lua")
-- Load machines
dofile(module_path.."/machines.lua")