47 lines
1.3 KiB
Lua
47 lines
1.3 KiB
Lua
|
|
minetest.register_node("stm_nodes:chimney", {
|
|
description = "Chimney",
|
|
tiles = {
|
|
"stm_nodes_chimney_top.png",
|
|
"stm_nodes_chimney_front.png",
|
|
"stm_nodes_chimney_side.png",
|
|
"stm_nodes_chimney_side.png^[transformFX",
|
|
"stm_nodes_chimney_front.png",
|
|
"stm_nodes_chimney_front.png"
|
|
},
|
|
drawtype = "nodebox",
|
|
paramtype = "light",
|
|
paramtype2 = "facedir",
|
|
node_box = {
|
|
type = "fixed",
|
|
fixed = {
|
|
{-0.1875, -0.1875, -0.125, 0.1875, 0.1875, 0.5}, -- NodeBox1
|
|
{-0.1875, -0.1875, -0.125, 0.1875, 1, 0.1875}, -- NodeBox2
|
|
}
|
|
},
|
|
groups = {cracky = 1, ventilation = 1},
|
|
sounds = default.node_sound_metal_defaults()
|
|
})
|
|
|
|
minetest.register_node("stm_nodes:tank", {
|
|
description = "Small Boiler",
|
|
tiles = {
|
|
"stm_nodes_tin.png",
|
|
},
|
|
drawtype = "nodebox",
|
|
paramtype = "light",
|
|
paramtype2 = "facedir",
|
|
node_box = {
|
|
type = "fixed",
|
|
fixed = {
|
|
{-0.1875, -0.5, -0.1875, 0.1875, -0.1875, 0.1875}, -- NodeBox1
|
|
{-0.3125, -0.375, -0.25, 0.3125, 0.4375, 0.25}, -- NodeBox2
|
|
{-0.25, -0.375, -0.3125, 0.25, 0.4375, 0.3125}, -- NodeBox3
|
|
{-0.25, -0.4375, -0.25, 0.25, 0.5, 0.25}, -- NodeBox4
|
|
{-0.0625, -0.5, -0.4375, 0.0625, 0.125, -0.3125}, -- NodeBox5
|
|
{-0.0625, 0, -0.4375, 0.0625, 0.125, 0.0625}, -- NodeBox6
|
|
}
|
|
},
|
|
groups = {cracky = 1, boiler = 1},
|
|
sounds = default:node_sound_metal_defaults()
|
|
}) |