Category functionality added

This commit is contained in:
Oversword
2021-03-29 03:01:28 +01:00
parent c044f5e3b0
commit ce2027600b
5 changed files with 878 additions and 13 deletions

View File

@ -10,6 +10,8 @@ unified_inventory = {
alternate = {},
current_page = {},
current_searchbox = {},
current_category = {},
current_category_scroll = {},
current_index = {},
current_item = {},
current_craft_direction = {},
@ -50,9 +52,9 @@ ui.style_full = {
formspec_x = 1,
formspec_y = 1,
pagecols = 8,
pagerows = 10,
pagerows = 9,
page_x = 10.75,
page_y = 1.45,
page_y = 2.45,
craft_x = 2.8,
craft_y = 1.15,
craftresult_x = 7.8,
@ -81,9 +83,9 @@ ui.style_lite = {
formspec_x = 0.6,
formspec_y = 0.6,
pagecols = 4,
pagerows = 6,
pagerows = 5,
page_x = 10.5,
page_y = 1.25,
page_y = 2.25,
craft_x = 2.6,
craft_y = 0.75,
craftresult_x = 5.75,
@ -145,6 +147,8 @@ if sfinv then
end
dofile(modpath.."/group.lua")
dofile(modpath.."/category.lua")
dofile(modpath.."/default-categories.lua")
dofile(modpath.."/internal.lua")
dofile(modpath.."/callbacks.lua")
dofile(modpath.."/match_craft.lua")