update
This commit is contained in:
parent
3b59a3bfb3
commit
5638be3680
12
init.lua
12
init.lua
@ -2,8 +2,6 @@
|
||||
local trash = minetest.create_detached_inventory("trash", {
|
||||
on_put = function(inv, listname, index, stack, player)
|
||||
inv:set_stack(listname, index, nil)
|
||||
--local player_name = player:get_player_name()
|
||||
--minetest.sound_play("trash", {to_player=player_name, gain = 1.0})
|
||||
end,
|
||||
})
|
||||
|
||||
@ -17,17 +15,9 @@ sfinv.override_page("sfinv:crafting", {
|
||||
list[current_player;craftpreview;5.75,1.5;1,1;]
|
||||
list[detached:trash;main;0.25,2.5;1,1;]
|
||||
image[0.25,2.5;1,1;sfinv_trash.png]
|
||||
image[4.75,1.5;1,1;gui_furnace_arrow_bg.png^[transformR270]
|
||||
image[4.75,1.5;1,1;sfinv_crafting_arrow.png]
|
||||
listring[current_player;main]
|
||||
listring[current_player;craft]
|
||||
image[0,4.75;1,1;gui_hb_bg.png]
|
||||
image[1,4.75;1,1;gui_hb_bg.png]
|
||||
image[2,4.75;1,1;gui_hb_bg.png]
|
||||
image[3,4.75;1,1;gui_hb_bg.png]
|
||||
image[4,4.75;1,1;gui_hb_bg.png]
|
||||
image[5,4.75;1,1;gui_hb_bg.png]
|
||||
image[6,4.75;1,1;gui_hb_bg.png]
|
||||
image[7,4.75;1,1;gui_hb_bg.png]
|
||||
]], true)
|
||||
end
|
||||
})
|
||||
|
Loading…
Reference in New Issue
Block a user