mirror of
https://github.com/minetest-mods/unified_inventory.git
synced 2025-06-29 23:10:45 +02:00
Allow searching for groups.
Also make "group buttons" apply the filter to that group.
This commit is contained in:
@ -213,7 +213,8 @@ unified_inventory.register_page("craftguide", {
|
||||
local group = string.sub(item, 7)
|
||||
formspec = formspec.."image_button["
|
||||
..(1.0 + x)..","..(0.0 + y)..";1.1,1.1;"
|
||||
.."ui_group.png;;"
|
||||
.."ui_group.png;"
|
||||
.."item_group_"..minetest.formspec_escape(group)..";"
|
||||
..minetest.formspec_escape(group).."]"
|
||||
else
|
||||
formspec = formspec.."item_image_button["
|
||||
|
Reference in New Issue
Block a user