mirror of
https://github.com/minetest-mods/unified_inventory.git
synced 2025-06-29 23:10:45 +02:00
Use appropriate grid shape for each craft type
New system of registration of craft types, recording for each a display description and the appropriate grid shape. Recipes of a registered type are shown in the correct grid. Recipes of unregistered craft types are still displayed as before, using the default 3x3 grid.
This commit is contained in:
1
init.lua
1
init.lua
@ -11,6 +11,7 @@ unified_inventory.current_page = {}
|
||||
unified_inventory.current_searchbox = {}
|
||||
unified_inventory.current_index = {}
|
||||
unified_inventory.current_item = {}
|
||||
unified_inventory.registered_craft_types = {}
|
||||
unified_inventory.crafts_table = {}
|
||||
unified_inventory.crafts_table_count = 0
|
||||
unified_inventory.players = {}
|
||||
|
Reference in New Issue
Block a user