1
0
鏡像自 https://github.com/minetest-mods/unified_inventory.git 已同步 2025-11-06 02:15:32 +01:00

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.
此提交包含在:
Vanessa Dannenberg
2021-03-08 14:54:38 -05:00
父節點 ff200762c8
當前提交 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