mirror of
https://git.minetest.land/VoxeLibre/VoxeLibre.git
synced 2024-11-22 18:41:09 +01:00
Fix crafting table
This commit is contained in:
parent
c488b1b0ce
commit
ef435e730b
1 changed files with 3 additions and 2 deletions
|
@ -174,7 +174,7 @@ minetest.register_on_joinplayer(function(player)
|
||||||
end)
|
end)
|
||||||
|
|
||||||
minetest.register_node("crafting:workbench", {
|
minetest.register_node("crafting:workbench", {
|
||||||
description = "Workbench",
|
description = "Crafting Table",
|
||||||
tiles = {"crafting_workbench_top.png", "default_wood.png", "crafting_workbench_side.png",
|
tiles = {"crafting_workbench_top.png", "default_wood.png", "crafting_workbench_side.png",
|
||||||
"crafting_workbench_side.png", "crafting_workbench_front.png", "crafting_workbench_front.png"},
|
"crafting_workbench_side.png", "crafting_workbench_front.png", "crafting_workbench_front.png"},
|
||||||
paramtype2 = "facedir",
|
paramtype2 = "facedir",
|
||||||
|
@ -182,7 +182,8 @@ minetest.register_node("crafting:workbench", {
|
||||||
groups = {choppy=2,oddly_breakable_by_hand=2,flammable=2},
|
groups = {choppy=2,oddly_breakable_by_hand=2,flammable=2},
|
||||||
on_rightclick = function(pos, node, clicker, itemstack)
|
on_rightclick = function(pos, node, clicker, itemstack)
|
||||||
set_workbench(clicker)
|
set_workbench(clicker)
|
||||||
end
|
end,
|
||||||
|
sounds = default.node_sound_wood_defaults(),
|
||||||
})
|
})
|
||||||
|
|
||||||
minetest.register_craft({
|
minetest.register_craft({
|
||||||
|
|
Loading…
Reference in a new issue