diff options
author | Vanessa Ezekowitz <vanessaezekowitz@gmail.com> | 2016-08-17 14:37:48 -0400 |
---|---|---|
committer | Vanessa Ezekowitz <vanessaezekowitz@gmail.com> | 2016-08-17 14:37:48 -0400 |
commit | 2db921cac8002232a3ecd21ad56c262d89e301b4 (patch) | |
tree | 6fcd9a5b5a0fb8738413e7ab767928971e4c1caa /unified_inventory/internal.lua | |
parent | 3f738369862a2f187ea3a53cdd3e8448df19a904 (diff) | |
download | dreambuilder_modpack-2db921cac8002232a3ecd21ad56c262d89e301b4.tar dreambuilder_modpack-2db921cac8002232a3ecd21ad56c262d89e301b4.tar.gz dreambuilder_modpack-2db921cac8002232a3ecd21ad56c262d89e301b4.tar.bz2 dreambuilder_modpack-2db921cac8002232a3ecd21ad56c262d89e301b4.tar.xz dreambuilder_modpack-2db921cac8002232a3ecd21ad56c262d89e301b4.zip |
updated mesecons and unified inventory
Diffstat (limited to 'unified_inventory/internal.lua')
-rw-r--r-- | unified_inventory/internal.lua | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/unified_inventory/internal.lua b/unified_inventory/internal.lua index 8319191..42ab722 100644 --- a/unified_inventory/internal.lua +++ b/unified_inventory/internal.lua @@ -179,13 +179,19 @@ function unified_inventory.get_formspec(player, page) .. minetest.formspec_escape(unified_inventory.current_searchbox[player_name]) .. "]" formspec[n+1] = "image_button[12.2,8.1;.8,.8;ui_search_icon.png;searchbutton;]" .. "tooltip[searchbutton;" ..F("Search") .. "]" + formspec[n+2] = "image_button[12.9,8.1;.8,.8;ui_reset_icon.png;searchresetbutton;]" + .. "tooltip[searchbutton;" ..F("Search") .. "]" + .. "tooltip[searchresetbutton;" ..F("Reset search and display everything") .. "]" else formspec[n] = "field[8.5,5.225;2.2,1;searchbox;;" .. minetest.formspec_escape(unified_inventory.current_searchbox[player_name]) .. "]" formspec[n+1] = "image_button[10.3,5;.8,.8;ui_search_icon.png;searchbutton;]" .. "tooltip[searchbutton;" ..F("Search") .. "]" + formspec[n+2] = "image_button[11,5;.8,.8;ui_reset_icon.png;searchresetbutton;]" + .. "tooltip[searchbutton;" ..F("Search") .. "]" + .. "tooltip[searchresetbutton;" ..F("Reset search and display everything") .. "]" end - n = n+2 + n = n+3 local no_matches = "No matching items" if draw_lite_mode then |