Add a 404 image when no item found

This commit is contained in:
Jean-Patrick Guerrero 2022-06-30 03:10:24 +02:00
parent 662c938afb
commit c635343c9b
2 changed files with 3 additions and 1 deletions

View File

@ -1357,7 +1357,9 @@ local function get_items_fs(fs, data, player, full_height)
local lbl = ES"No item to show"
if next(i3.recipe_filters) and #i3.init_items > 0 and data.filter == "" then
lbl = ES"Collect items to reveal more recipes"
lbl = ES"Collect items to reveal more recipes" -- Progressive mode, etc.
else
image(data.inv_width + 2, 4.5, 4, 4, "i3_no_result.png")
end
button(data.inv_width + 0.1, 3, 8, 1, "no_item", lbl)

BIN
textures/i3_no_result.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 69 KiB