Use dark output slot in crafting
This commit is contained in:
parent
1655316fdb
commit
324a445c4d
@ -276,7 +276,7 @@ form = form .. "listring[current_player;main]"
|
||||
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.get_output_itemslot_bg(7.25, 3.25, 1, 1)
|
||||
|
||||
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")
|
||||
|
@ -63,6 +63,8 @@ function default.ui.get_hotbar_itemslot_bg(x, y, w, h)
|
||||
return out
|
||||
end
|
||||
|
||||
default.ui.get_output_itemslot_bg = default.ui.get_hotbar_itemslot_bg
|
||||
|
||||
-- Buttons
|
||||
|
||||
function default.ui.image_button(x, y, w, h, name, image, tooltip)
|
||||
|
@ -18,7 +18,7 @@ function default.furnace_active_formspec(percent, item_percent)
|
||||
form = form .. default.ui.get_itemslot_bg(2.25, 2.75, 1, 1)
|
||||
|
||||
form = form .. "list[current_name;dst;4.25,1.25;2,2;]"
|
||||
form = form .. default.ui.get_hotbar_itemslot_bg(4.25, 1.25, 2, 2)
|
||||
form = form .. default.ui.get_output_itemslot_bg(4.25, 1.25, 2, 2)
|
||||
|
||||
form = form .. "listring[current_player;main]"
|
||||
form = form .. "listring[current_name;src]"
|
||||
|
Loading…
Reference in New Issue
Block a user