32 lines
832 B
Lua
32 lines
832 B
Lua
minetest.register_node("people:forge", {
|
|
description = "Anvil",
|
|
visual_scale = 0.5,
|
|
mesh = "Forge.b3d",
|
|
tiles = {"textureforge.png"},
|
|
inventory_image = "aforge.png",
|
|
paramtype = "light",
|
|
paramtype2 = "facedir",
|
|
groups = {choppy = 3},
|
|
drawtype = "mesh",
|
|
collision_box = {
|
|
type = "fixed",
|
|
fixed = {
|
|
{-0.3, -0.3, -0.3, 0.3, 0.3, 0.3},
|
|
--[[{-0.3, -0.3, -0.3, 0.3, 0.3, 0.3},
|
|
{-0.3, -0.3, -0.3, 0.3, 0.3, 0.3}]]
|
|
}
|
|
},
|
|
selection_box = {
|
|
type = "fixed",
|
|
fixed = {
|
|
{-0.3, -0.3, -0.3, 0.3, 0.3, 0.3}
|
|
}
|
|
},
|
|
sounds = default.node_sound_wood_defaults()
|
|
})
|
|
|
|
minetest.register_craft({
|
|
type = "cooking",
|
|
output = "default:steel_ingot",
|
|
recipe = "people:forge",
|
|
}) |