Move around some group code and make the craftguide render well without a recipe

This also keeps recipes aligned to the right, close to the arrow.
It also calculates the craft's height.
This commit is contained in:
ShadowNinja
2014-05-11 22:00:32 -04:00
parent ba956d6838
commit 043f608145
4 changed files with 140 additions and 119 deletions

View File

@ -12,7 +12,6 @@ unified_inventory.current_searchbox = {}
unified_inventory.current_index = {}
unified_inventory.current_item = {}
unified_inventory.registered_craft_types = {}
unified_inventory.registered_group_representative_items = {}
unified_inventory.crafts_table = {}
unified_inventory.crafts_table_count = 0
unified_inventory.players = {}
@ -39,6 +38,7 @@ if creative_inventory then
end
dofile(modpath.."/datastorage.lua")
dofile(modpath.."/group.lua")
dofile(modpath.."/api.lua")
dofile(modpath.."/internal.lua")
dofile(modpath.."/callbacks.lua")