
This happens with a node with nodebox.
Here's the code:
Your phone or window isn't wide enough to display the code box. If it's a phone, try rotating it to landscape mode.
- Code: Select all
minetest.register_node("lulzpack:smithery", {
description = "Smithery",
tiles = {"electrofurnace_front.png"},
drawtype="nodebox",
groups = {cracky=1},
paramtype = "light",
paramtype2 = "facedir",
is_ground_content = true,
light_source=10,
sounds = default.node_sound_stone_defaults(),
on_construct =..
can_dig = ...
selection_box = {
type = "fixed",
fixed = { -0.5, 0, -0.5 , 0.5, -0.5, 0.5}
},
node_box = {
type = "fixed",
fixed = { -0.5, 0, -0.5 , 0.5, -0.5, 0.5}
}
})
Can anyone help me?