lib_materials/nodes.lua

136 lines
3.6 KiB
Lua
Raw Permalink Normal View History

2020-06-24 10:40:28 +02:00
minetest.register_node("lib_materials:stairn", { -- stair rising to the north
description = "Jungle wood stair N",
tiles = {"default_stone_brick.png"},
drawtype = "nodebox",
paramtype = "light",
is_ground_content = false,
groups = {choppy = 2, oddly_breakable_by_hand = 2, flammable = 2},
node_box = {
type = "fixed",
fixed = {
{-0.5, -0.5, -0.5, 0.5, 0, 0.5},
{-0.5, 0, 0, 0.5, 0.5, 0.5},
},
},
sounds = lib_materials.node_sound_wood_defaults(),
})
minetest.register_node("lib_materials:stairs", {
description = "Jungle wood stair S",
tiles = {"default_stone_brick.png"},
drawtype = "nodebox",
paramtype = "light",
is_ground_content = false,
groups = {choppy = 2, oddly_breakable_by_hand = 2, flammable = 2},
node_box = {
type = "fixed",
fixed = {
{-0.5, -0.5, -0.5, 0.5, 0, 0.5},
{-0.5, 0, -0.5, 0.5, 0.5, 0},
},
},
sounds = lib_materials.node_sound_wood_defaults(),
})
minetest.register_node("lib_materials:staire", {
description = "Jungle wood stair E",
tiles = {"default_stone_brick.png"},
drawtype = "nodebox",
paramtype = "light",
is_ground_content = false,
groups = {choppy = 2, oddly_breakable_by_hand = 2, flammable = 2},
node_box = {
type = "fixed",
fixed = {
{-0.5, -0.5, -0.5, 0.5, 0, 0.5},
{0, 0, -0.5, 0.5, 0.5, 0.5},
},
},
sounds = lib_materials.node_sound_wood_defaults(),
})
minetest.register_node("lib_materials:stairw", {
description = "Jungle wood stair W",
tiles = {"default_stone_brick.png"},
drawtype = "nodebox",
paramtype = "light",
is_ground_content = false,
groups = {choppy = 2, oddly_breakable_by_hand = 2, flammable = 2},
node_box = {
type = "fixed",
fixed = {
{-0.5, -0.5, -0.5, 0.5, 0, 0.5},
{-0.5, 0, -0.5, 0, 0.5, 0.5},
},
},
sounds = lib_materials.node_sound_wood_defaults(),
})
minetest.register_node("lib_materials:stairne", {
description = "Jungle wood stair NE",
tiles = {"default_stone_brick.png"},
drawtype = "nodebox",
paramtype = "light",
is_ground_content = false,
groups = {choppy = 2, oddly_breakable_by_hand = 2, flammable = 2},
node_box = {
type = "fixed",
fixed = {
{-0.5, -0.5, -0.5, 0.5, 0, 0.5},
{0, 0, 0, 0.5, 0.5, 0.5},
},
},
sounds = lib_materials.node_sound_wood_defaults(),
})
minetest.register_node("lib_materials:stairnw", {
description = "Jungle wood stair NW",
tiles = {"default_stone_brick.png"},
drawtype = "nodebox",
paramtype = "light",
is_ground_content = false,
groups = {choppy = 2, oddly_breakable_by_hand = 2, flammable = 2},
node_box = {
type = "fixed",
fixed = {
{-0.5, -0.5, -0.5, 0.5, 0, 0.5},
{-0.5, 0, 0, 0, 0.5, 0.5},
},
},
sounds = lib_materials.node_sound_wood_defaults(),
})
minetest.register_node("lib_materials:stairse", {
description = "Jungle wood stair SE",
tiles = {"default_stone_brick.png"},
drawtype = "nodebox",
paramtype = "light",
is_ground_content = false,
groups = {choppy = 2, oddly_breakable_by_hand = 2, flammable = 2},
node_box = {
type = "fixed",
fixed = {
{-0.5, -0.5, -0.5, 0.5, 0, 0.5},
{0, 0, -0.5, 0.5, 0.5, 0},
},
},
sounds = lib_materials.node_sound_wood_defaults(),
})
minetest.register_node("lib_materials:stairsw", {
description = "Jungle wood stair SW",
tiles = {"default_stone_brick.png"},
drawtype = "nodebox",
paramtype = "light",
is_ground_content = false,
groups = {choppy = 2, oddly_breakable_by_hand = 2, flammable = 2},
node_box = {
type = "fixed",
fixed = {
{-0.5, -0.5, -0.5, 0.5, 0, 0.5},
{-0.5, 0, -0.5, 0, 0.5, 0},
},
},
sounds = lib_materials.node_sound_wood_defaults(),
})