mirror of
https://github.com/theFox6/microexpansion.git
synced 2024-12-01 19:33:49 +01:00
0a9d8880a9
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.
13 lines
244 B
Lua
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")
|