unified_inventory_plus/init.lua

46 lines
812 B
Lua
Raw Permalink Normal View History

-- Unified Inventory Plus for Minetest 0.4.8+
local modpath = minetest.get_modpath(minetest.get_current_modname())
2017-02-08 05:41:58 -08:00
unified_inventory_plus = {
-- 1 2 3
-- 4 5 6
-- 7 8 9
2020-03-03 08:12:30 -08:00
2017-02-08 05:41:58 -08:00
craft_patterns = {
2020-03-03 08:12:30 -08:00
{1},
{1,2,4,5},
{1,2,3,4,5,6,7,8,9},
{1,4,7},
{2,5,8},
{2,5},
{4,6,7,8,9},
{4,6,8},
{1,3,5,7,9},
{1,3,7,9},
{2,4,6,8},
{2,4,5,6,8},
{1,2,4,5,6,7,8,9},
{1,4,5,7,8,9},
{5,7,8,9},
{4,7,8},
{1,2,3,4,5,6},
{1,3,4,6},
{1,3,4,6,7,9},
{1,3,4,5,6,7,8,9},
{1,2,3,4,6,7,9},
{1,3,4,5,6,7,9},
{1,2,3,4,5,6,8},
{1,2,3,4,6,7,8,9},
2017-02-08 05:41:58 -08:00
},
}
dofile(modpath.."/functions.lua")
-- Functionalities are independants.
-- Comment the following lines to disable those you don't want
dofile(modpath.."/craft_all.lua")
dofile(modpath.."/craft_organize.lua")
2017-02-09 23:47:42 -08:00
dofile(modpath.."/craft_rotate.lua")