285 lines
8.7 KiB
Lua
285 lines
8.7 KiB
Lua
minetest.register_node("ether_lands:debugnode_edge", {
|
|
description = "edge",
|
|
drawtype = "glasslike_framed_optional",
|
|
tiles = {"debugnode_edge.png", "debugnode_edge.png"},
|
|
paramtype = "light",
|
|
paramtype2 = "glasslikeliquidlevel",
|
|
sunlight_propagates = true,
|
|
is_ground_content = false,
|
|
})
|
|
|
|
minetest.register_node("ether_lands:debugnode_actualedge", {
|
|
description = "actualedge",
|
|
drawtype = "glasslike_framed_optional",
|
|
tiles = {"debugnode_actualedge.png", "debugnode_actualedge.png"},
|
|
paramtype = "light",
|
|
paramtype2 = "glasslikeliquidlevel",
|
|
sunlight_propagates = true,
|
|
is_ground_content = false,
|
|
})
|
|
-- cyan biome
|
|
|
|
minetest.register_node("ether_lands:cyan_tree", {
|
|
description = "Cyanlands Tree Trunk",
|
|
tiles = {"cyanlands_treetrunk.png"},
|
|
paramtype2 = "facedir",
|
|
is_ground_content = false,
|
|
groups = {tree = 1, choppy = 2, oddly_breakable_by_hand = 100, flammable = 2},
|
|
sounds = default.node_sound_wood_defaults(),
|
|
|
|
on_place = minetest.rotate_node,
|
|
})
|
|
|
|
minetest.register_node("ether_lands:orange_tree", {
|
|
description = "Cyanlands Tree Trunk",
|
|
tiles = {"orangelands_treetrunk.png"},
|
|
paramtype2 = "facedir",
|
|
is_ground_content = false,
|
|
groups = {tree = 1, choppy = 2, oddly_breakable_by_hand = 100, flammable = 2},
|
|
sounds = default.node_sound_wood_defaults(),
|
|
|
|
on_place = minetest.rotate_node,
|
|
})
|
|
minetest.register_node("ether_lands:blue_tree", {
|
|
description = "Cyanlands Tree Trunk",
|
|
tiles = {"bluelands_treetrunk.png"},
|
|
paramtype2 = "facedir",
|
|
is_ground_content = false,
|
|
groups = {tree = 1, choppy = 2, oddly_breakable_by_hand = 100, flammable = 2},
|
|
sounds = default.node_sound_wood_defaults(),
|
|
|
|
on_place = minetest.rotate_node,
|
|
})
|
|
minetest.register_node("ether_lands:cyan_tree_slab", {
|
|
description = "Cyanlands Tree Trunk Slab",
|
|
drawtype = "nodebox",
|
|
node_box = {
|
|
type = "fixed",
|
|
fixed = {-0.5, -0.5, -0.5, 0.5, 0, 0.5},
|
|
},
|
|
tiles = { {name="cyanlands_treetrunk.png", align_style = "world",}, },
|
|
paramtype2 = "facedir",
|
|
is_ground_content = false,
|
|
groups = {tree = 1, choppy = 2, oddly_breakable_by_hand = 100, flammable = 2},
|
|
sounds = default.node_sound_wood_defaults(),
|
|
|
|
on_place = minetest.rotate_node,
|
|
})
|
|
|
|
minetest.register_node("ether_lands:orange_tree_slab", {
|
|
description = "Cyanlands Tree Trunk Slab",
|
|
drawtype = "nodebox",
|
|
node_box = {
|
|
type = "fixed",
|
|
fixed = {-0.5, -0.5, -0.5, 0.5, 0, 0.5},
|
|
},
|
|
tiles = { {name="orangelands_treetrunk.png", align_style = "world",}, },
|
|
paramtype2 = "facedir",
|
|
is_ground_content = false,
|
|
groups = {tree = 1, choppy = 2, oddly_breakable_by_hand = 100, flammable = 2},
|
|
sounds = default.node_sound_wood_defaults(),
|
|
|
|
on_place = minetest.rotate_node,
|
|
})
|
|
minetest.register_node("ether_lands:blue_tree_slab", {
|
|
description = "Cyanlands Tree Trunk Slab",
|
|
drawtype = "nodebox",
|
|
node_box = {
|
|
type = "fixed",
|
|
fixed = {-0.5, -0.5, -0.5, 0.5, 0, 0.5},
|
|
},
|
|
tiles = { {name="bluelands_treetrunk.png", align_style = "world",}, },
|
|
paramtype2 = "facedir",
|
|
is_ground_content = false,
|
|
groups = {tree = 1, choppy = 2, oddly_breakable_by_hand = 100, flammable = 2},
|
|
sounds = default.node_sound_wood_defaults(),
|
|
|
|
on_place = minetest.rotate_node,
|
|
})
|
|
|
|
minetest.register_node("ether_lands:cyan_leaves", {
|
|
description = "Cyanland Tree Leaves",
|
|
drawtype = "allfaces_optional",
|
|
waving = 1,
|
|
tiles = {"cyanlands_leaves.png"},
|
|
special_tiles = {"cyanlands_leaves.png"},
|
|
paramtype = "light",
|
|
is_ground_content = false,
|
|
groups = {snappy = 3, leafdecay = 3, flammable = 2, leaves = 1},
|
|
sounds = default.node_sound_leaves_defaults(),
|
|
|
|
after_place_node = after_place_leaves,
|
|
})
|
|
|
|
minetest.register_node("ether_lands:orangelands_leaves", {
|
|
description = "Cyanland Tree Leaves",
|
|
drawtype = "allfaces_optional",
|
|
waving = 1,
|
|
tiles = {"orangelands_leaves.png"},
|
|
special_tiles = {"orangelands_leaves.png"},
|
|
paramtype = "light",
|
|
is_ground_content = false,
|
|
groups = {snappy = 3, leafdecay = 3, flammable = 2, leaves = 1},
|
|
sounds = default.node_sound_leaves_defaults(),
|
|
|
|
after_place_node = after_place_leaves,
|
|
})
|
|
minetest.register_node("ether_lands:bluelands_leaves", {
|
|
description = "Cyanland Tree Leaves",
|
|
drawtype = "allfaces_optional",
|
|
waving = 1,
|
|
tiles = {"bluelands_leaves.png"},
|
|
special_tiles = {"bluelands_leaves.png"},
|
|
paramtype = "light",
|
|
is_ground_content = false,
|
|
groups = {snappy = 3, leafdecay = 3, flammable = 2, leaves = 1},
|
|
sounds = default.node_sound_leaves_defaults(),
|
|
|
|
after_place_node = after_place_leaves,
|
|
})
|
|
minetest.register_node("ether_lands:levistone_cyan", {
|
|
description = "Cyan Levistone",
|
|
tiles = { "levistone_cyan.png" },
|
|
sounds = default.node_sound_stone_defaults(),
|
|
groups = {tree = 1, choppy = 2, oddly_breakable_by_hand = 100, flammable = 2},
|
|
is_ground_content = false,
|
|
})
|
|
|
|
minetest.register_node("ether_lands:dirt_cyan", {
|
|
description = "Cyan Dirt",
|
|
tiles = { "dirt_cyan.png" },
|
|
sounds = default.node_sound_dirt_defaults({
|
|
footstep = {name="default_grass_footstep", gain=0.25}
|
|
}),
|
|
is_ground_content = false,
|
|
groups = {tree = 1, choppy = 2, oddly_breakable_by_hand = 100, flammable = 2},
|
|
})
|
|
|
|
minetest.register_node("ether_lands:grass_cyan", {
|
|
description = "Cyan Grass",
|
|
tiles = { "grass_cyan.png" },
|
|
sounds = default.node_sound_dirt_defaults({
|
|
footstep = {name="default_grass_footstep", gain=0.25}
|
|
}),
|
|
is_ground_content = false,
|
|
groups = {tree = 1, choppy = 2, oddly_breakable_by_hand = 100, flammable = 2},
|
|
})
|
|
|
|
minetest.register_node("ether_lands:plant_1_grass_cyan", {
|
|
description = "Cyan Grass",
|
|
drawtype = "plantlike",
|
|
paramtype2 = "meshoptions",
|
|
tiles = { "plant_1_grass_cyan_overlay.png" },
|
|
paramtype = "light",
|
|
sunlight_propagates = true,
|
|
walkable = false,
|
|
buildable_to = true,
|
|
drop = "ether_lands:plant_1_grass_cyan",
|
|
groups = {tree = 1, choppy = 2, oddly_breakable_by_hand = 100, flammable = 2},
|
|
is_ground_content = false,
|
|
})
|
|
|
|
--blue biome
|
|
minetest.register_node("ether_lands:levistone_blue", {
|
|
description = "Cyan Levistone",
|
|
tiles = { "levistone_blue.png" },
|
|
sounds = default.node_sound_stone_defaults()
|
|
})
|
|
|
|
minetest.register_node("ether_lands:dirt_blue", {
|
|
description = "Cyan Dirt",
|
|
tiles = { "dirt_blue.png" },
|
|
sounds = default.node_sound_dirt_defaults({
|
|
footstep = {name="default_grass_footstep", gain=0.25}
|
|
}),
|
|
groups = {tree = 1, choppy = 2, oddly_breakable_by_hand = 100, flammable = 2},
|
|
})
|
|
|
|
minetest.register_node("ether_lands:grass_blue", {
|
|
description = "Blue Grass",
|
|
tiles = { "grass_blue.png" },
|
|
sounds = default.node_sound_dirt_defaults({
|
|
footstep = {name="default_grass_footstep", gain=0.25}
|
|
}),
|
|
groups = {tree = 1, choppy = 2, oddly_breakable_by_hand = 100, flammable = 2},
|
|
})
|
|
|
|
minetest.register_node("ether_lands:plant_1_grass_blue", {
|
|
description = "Cyan Grass",
|
|
drawtype = "plantlike",
|
|
paramtype2 = "meshoptions",
|
|
tiles = { "plant_1_grass_blue_overlay.png" },
|
|
paramtype = "light",
|
|
sunlight_propagates = true,
|
|
walkable = false,
|
|
buildable_to = true,
|
|
drop = "ether_lands:plant_1_grass_blue",
|
|
groups = {tree = 1, choppy = 2, oddly_breakable_by_hand = 100, flammable = 2},
|
|
})
|
|
|
|
minetest.register_node("ether_lands:plant_1_grass_blue", {
|
|
description = "Cyan Grass",
|
|
drawtype = "plantlike",
|
|
paramtype2 = "meshoptions",
|
|
tiles = { "plant_1_grass_blue_overlay.png" },
|
|
paramtype = "light",
|
|
sunlight_propagates = true,
|
|
walkable = false,
|
|
buildable_to = true,
|
|
drop = "ether_lands:plant_1_grass_blue",
|
|
})
|
|
|
|
|
|
-- orange biome
|
|
minetest.register_node("ether_lands:levistone_orange", {
|
|
description = "Cyan Levistone",
|
|
tiles = { "levistone_orange.png" },
|
|
sounds = default.node_sound_stone_defaults(),
|
|
groups = {tree = 1, choppy = 2, oddly_breakable_by_hand = 100, flammable = 2},
|
|
})
|
|
|
|
minetest.register_node("ether_lands:dirt_orange", {
|
|
description = "Cyan Dirt",
|
|
tiles = { "dirt_orange.png" },
|
|
sounds = default.node_sound_dirt_defaults({
|
|
footstep = {name="default_grass_footstep", gain=0.25}
|
|
}),
|
|
groups = {tree = 1, choppy = 2, oddly_breakable_by_hand = 100, flammable = 2},
|
|
})
|
|
|
|
minetest.register_node("ether_lands:grass_orange", {
|
|
description = "Orange Grass",
|
|
tiles = { "grass_orange.png" },
|
|
sounds = default.node_sound_dirt_defaults({
|
|
footstep = {name="default_grass_footstep", gain=0.25}
|
|
}),
|
|
groups = {tree = 1, choppy = 2, oddly_breakable_by_hand = 100, flammable = 2},
|
|
})
|
|
|
|
minetest.register_node("ether_lands:plant_1_grass_orange", {
|
|
description = "Cyan Grass",
|
|
drawtype = "plantlike",
|
|
paramtype2 = "meshoptions",
|
|
tiles = { "plant_1_grass_orange_overlay.png" },
|
|
paramtype = "light",
|
|
sunlight_propagates = true,
|
|
walkable = false,
|
|
buildable_to = true,
|
|
drop = "ether_lands:plant_1_grass_orange",
|
|
groups = {tree = 1, choppy = 2, oddly_breakable_by_hand = 100, flammable = 2},
|
|
})
|
|
|
|
minetest.register_node("ether_lands:plant_1_grass_orange", {
|
|
description = "Cyan Grass",
|
|
drawtype = "plantlike",
|
|
paramtype2 = "meshoptions",
|
|
tiles = { "plant_1_grass_orange_overlay.png" },
|
|
paramtype = "light",
|
|
sunlight_propagates = true,
|
|
walkable = false,
|
|
buildable_to = true,
|
|
drop = "ether_lands:plant_1_grass_orange",
|
|
})
|
|
|
|
|