Inventory menu: Add trash icon+change guide symbol

This commit is contained in:
Wuzzy 2019-08-30 23:08:23 +02:00
parent 770ead8aa2
commit 940b9f87f6
5 changed files with 2 additions and 4 deletions

View File

@ -279,7 +279,7 @@ form = form .. "listring[current_player;craft_out]"
form = form .. default.ui.get_itemslot_bg(0.25, 0.25, 1, 4)
form = form .. default.ui.get_itemslot_bg(7.25, 3.25, 1, 1)
form = form .. default.ui.button(1.25, 3.25, 1.0, 1.0, "toggle_filter", S("T"), nil, S("Show all recipes/show only craftable recipes"))
form = form .. default.ui.button(1.25, 3.25, 1.0, 1.0, "toggle_filter", "?", nil, S("Show all recipes/show only craftable recipes"))
form = form .. default.ui.button(7.25, 1.25, 1, 1, "do_craft_1", "1")
form = form .. default.ui.button(7.25, 2.25, 1, 1, "do_craft_10", "10")

View File

@ -1,3 +1,2 @@
# textdomain:crafting
T=U
Show all recipes/show only craftable recipes=Alle Rezepte zeigen/nur mögliche Rezepte zeigen

View File

@ -1,3 +1,2 @@
# textdomain:crafting
T=
Show all recipes/show only craftable recipes=

View File

@ -89,7 +89,7 @@ creative.get_creative_formspec = function(player, start_i, pagenum)
default.ui.button(7.25, 2.25, 1, 1, "creative_next", ">>")..
default.ui.get_itemslot_bg(0.25, 0.25, 7,4)..
-- TODO: Add trash icon
"image[7.25,3.25;1,1;creative_trash_icon.png]"..
"list[detached:creative_trash;main;7.25,3.25;1,1;]"..
default.ui.get_itemslot_bg(7.25, 3.25, 1,1)..
"listring[current_player;main]"..

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.8 KiB