Get rid of the image button left of the crafting guide

It had the same function as clicking the craft result on the
right (just inverted), making it redundant. Click either one more
than once and UI would alternately show usages or recipes.
This commit is contained in:
Vanessa Dannenberg 2021-03-08 14:54:38 -05:00
parent ff200762c8
commit d558d0355d

@ -342,9 +342,7 @@ ui.register_page("craftguide", {
else
formspec[n] = stack_image_button(craftguideresultx, craftguidey, 1.2, 1.2,
"item_button_" .. rdir .. "_", ItemStack(craft.output))
formspec[n+1] = stack_image_button(craftguidex-2.3, craftguidey, 1.2, 1.2,
"item_button_usage_", ItemStack(item_name))
n = n + 2
n = n + 1
end
local craft_type = ui.registered_craft_types[craft.type] or