Add crafting FIXME

This commit is contained in:
Wuzzy 2019-08-31 02:07:04 +02:00
parent e596a063a8
commit b890ac42d5
1 changed files with 2 additions and 0 deletions

View File

@ -279,6 +279,8 @@ 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)
-- FIXME: This is placed below the item display, so it would collide with a potential 4th item in a craft recipe
-- As of 0.1.1, no craft used more than 3 item stacks so far.
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")