2017-02-05 13:51:48 +01:00
|
|
|
smart_inventory = {}
|
2017-04-09 18:40:29 +02:00
|
|
|
smart_inventory.modpath = minetest.get_modpath(minetest.get_current_modname())
|
|
|
|
local modpath = smart_inventory.modpath
|
|
|
|
|
|
|
|
-- load libs
|
2017-04-17 00:51:39 +02:00
|
|
|
smart_inventory.txt = dofile(modpath.."/libs/simple_po_reader.lua")
|
2017-04-09 18:25:10 +02:00
|
|
|
smart_inventory.smartfs = dofile(modpath.."/libs/smartfs.lua")
|
|
|
|
smart_inventory.smartfs_elements = dofile(modpath.."/libs/smartfs-elements.lua")
|
2017-04-09 18:16:23 +02:00
|
|
|
|
2017-04-09 18:40:29 +02:00
|
|
|
smart_inventory.doc_addon = dofile(modpath.."/doc_addon.lua")
|
2017-03-15 22:40:22 +01:00
|
|
|
|
2017-04-09 18:25:10 +02:00
|
|
|
smart_inventory.filter = dofile(modpath.."/libs/filter.lua")
|
|
|
|
smart_inventory.cache = dofile(modpath.."/libs/cache.lua")
|
2017-04-30 21:27:41 +02:00
|
|
|
smart_inventory.crecipes = dofile(modpath.."/libs/crecipes.lua")
|
2017-04-09 21:56:13 +02:00
|
|
|
smart_inventory.maininv = dofile(modpath.."/libs/maininv.lua")
|
2017-02-11 23:30:24 +01:00
|
|
|
|
2017-04-15 21:51:00 +02:00
|
|
|
smart_inventory.ui_tools = dofile(modpath.."/ui_tools.lua")
|
2017-02-08 21:55:29 +01:00
|
|
|
-- register pages
|
2017-04-09 18:40:29 +02:00
|
|
|
dofile(modpath.."/inventory_framework.lua")
|
2017-04-09 18:09:17 +02:00
|
|
|
dofile(modpath.."/pages/crafting.lua")
|
2017-04-09 18:16:23 +02:00
|
|
|
dofile(modpath.."/pages/creative.lua")
|
|
|
|
dofile(modpath.."/pages/player.lua")
|
2017-08-12 01:28:49 +02:00
|
|
|
dofile(modpath.."/pages/doc.lua")
|