mirror of
https://github.com/minetest-mods/unified_inventory.git
synced 2025-07-01 16:00:31 +02:00
Category functionality added
This commit is contained in:
12
init.lua
12
init.lua
@ -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")
|
||||
|
Reference in New Issue
Block a user