From 580a832fdac823a4649f53edd0ba90fb6cd8bc5f Mon Sep 17 00:00:00 2001 From: Zefram Date: Wed, 30 Apr 2014 00:11:10 +0100 Subject: 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. --- init.lua | 1 + 1 file changed, 1 insertion(+) (limited to 'init.lua') diff --git a/init.lua b/init.lua index dcd8ecf..ecb22da 100644 --- a/init.lua +++ b/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 = {} -- cgit v1.2.3