pathvalleys/nodes.lua

152 lines
4.1 KiB
Lua

minetest.register_node("pathvalleys:junglewood", {
description = "Mod jungle wood",
tiles = {"default_junglewood.png"},
is_ground_content = false,
groups = {choppy = 2, oddly_breakable_by_hand = 2, flammable = 2},
sounds = default.node_sound_wood_defaults(),
})
minetest.register_node("pathvalleys:bridgewood", {
description = "Bridge wood",
tiles = {"pathvalleys_bridgewood.png"},
is_ground_content = false,
groups = {choppy = 2, oddly_breakable_by_hand = 2, flammable = 2},
sounds = default.node_sound_wood_defaults(),
})
minetest.register_node("pathvalleys:stairn", { -- stair rising to the north
description = "Jungle wood stair N",
tiles = {"default_junglewood.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 = default.node_sound_wood_defaults(),
})
minetest.register_node("pathvalleys:stairs", {
description = "Jungle wood stair S",
tiles = {"default_junglewood.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 = default.node_sound_wood_defaults(),
})
minetest.register_node("pathvalleys:staire", {
description = "Jungle wood stair E",
tiles = {"default_junglewood.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 = default.node_sound_wood_defaults(),
})
minetest.register_node("pathvalleys:stairw", {
description = "Jungle wood stair W",
tiles = {"default_junglewood.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 = default.node_sound_wood_defaults(),
})
minetest.register_node("pathvalleys:stairne", {
description = "Jungle wood stair NE",
tiles = {"default_junglewood.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 = default.node_sound_wood_defaults(),
})
minetest.register_node("pathvalleys:stairnw", {
description = "Jungle wood stair NW",
tiles = {"default_junglewood.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 = default.node_sound_wood_defaults(),
})
minetest.register_node("pathvalleys:stairse", {
description = "Jungle wood stair SE",
tiles = {"default_junglewood.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 = default.node_sound_wood_defaults(),
})
minetest.register_node("pathvalleys:stairsw", {
description = "Jungle wood stair SW",
tiles = {"default_junglewood.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 = default.node_sound_wood_defaults(),
})