summaryrefslogtreecommitdiff
path: root/init.lua
diff options
context:
space:
mode:
authorZefram <zefram@fysh.org>2014-05-01 16:08:24 +0100
committerRealBadAngel <maciej.kasatkin@yahoo.com>2014-05-02 12:19:17 +0200
commitb492701915d6f0542ba39dabf9dfbfbdf215a6f6 (patch)
treecd1e162cc1556d6d559eb5128f491f6dfc848b2a /init.lua
parent5d34b235ddf975a3fbcf1123b176c94731126dea (diff)
Show group ingredients visually in craft guide
Where a recipe specifies an ingredient by group, show a typical group item pictorially, with a label flag to indicate that it's a group rather than the single item. This is the inverse of the previous arrangement, which identified the group by label and dipicted groupiness pictorially. The new arrangement is easier to interpret, and if the labels are ignored it actually shows a correct input to the crafting grid.
Diffstat (limited to 'init.lua')
-rw-r--r--init.lua1
1 files changed, 1 insertions, 0 deletions
diff --git a/init.lua b/init.lua
index ecb22da..058583d 100644
--- a/init.lua
+++ b/init.lua
@@ -12,6 +12,7 @@ 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 = {}