illuna/nodes.lua

118 lines
4.2 KiB
Lua

minetest.register_node("illuna:desert_gravel", {
description = "Gravel",
tiles = {"desert_gravel.png"},
groups = {crumbly = 2, falling_node = 1},
sounds = default.node_sound_dirt_defaults({
footstep = {name="default_gravel_footstep", gain=0.5},
dug = {name="default_gravel_footstep", gain=1.0},
}),
drop = {
max_items = 1,
items = {
{items = {'default:flint'}, rarity = 16},
{items = {'illuna:desert_gravel'}}
}
}
})
minetest.register_node("illuna:welcome_block_1", {
description = "Illuna Welcome Block 1",
tiles = {"default_obsidian.png", "default_obsidian.png", "default_obsidian.png", "default_obsidian.png", "default_obsidian.png", "default_obsidian.png^welcome_block_1.png"},
paramtype2 = "facedir",
groups = {cracky = 3},
on_place = minetest.rotate_node,
drop = 'illuna:welcome_block_1',
sounds = default.node_sound_stone_defaults(),
})
minetest.register_node("illuna:welcome_block_2", {
description = "Illuna Welcome Block 2",
tiles = {"default_obsidian.png", "default_obsidian.png", "default_obsidian.png", "default_obsidian.png", "default_obsidian.png", "default_obsidian.png^welcome_block_2.png"},
paramtype2 = "facedir",
groups = {cracky = 3},
on_place = minetest.rotate_node,
drop = 'illuna:welcome_block_2',
sounds = default.node_sound_stone_defaults(),
})
minetest.register_node("illuna:welcome_block_3", {
description = "Illuna Welcome Block 3",
tiles = {"default_obsidian.png", "default_obsidian.png", "default_obsidian.png", "default_obsidian.png", "default_obsidian.png", "default_obsidian.png^welcome_block_3.png"},
paramtype2 = "facedir",
groups = {cracky = 3},
on_place = minetest.rotate_node,
drop = 'illuna:welcome_block_3',
sounds = default.node_sound_stone_defaults(),
})
minetest.register_node("illuna:instruction_block_1", {
description = "Instruction Block 1",
tiles = {"default_stone_brick", "default_stone_brick", "default_stone_brick", "default_stone_brick", "default_stone_brick", "default_stone_brick^instruction_block_1.png"},
groups = {unbreakable = 1},
on_place = minetest.rotate_node,
sounds = default.node_sound_dirt_defaults({
footstep = {name="default_gravel_footstep", gain=0.5},
dug = {name="default_gravel_footstep", gain=1.0},
}),
drop = {
max_items = 1,
items = {
{items = {'illuna:instruction_block_1'}}
}
}
})
minetest.register_node("illuna:instruction_block_2", {
description = "Instruction Block 2",
tiles = {"default_stone_brick", "default_stone_brick", "default_stone_brick", "default_stone_brick", "default_stone_brick", "default_stone_brick^instruction_block_2.png"},
paramtype2 = "facedir",
groups = {unbreakable = 1},
on_place = minetest.rotate_node,
sounds = default.node_sound_dirt_defaults({
footstep = {name="default_gravel_footstep", gain=0.5},
dug = {name="default_gravel_footstep", gain=1.0},
}),
drop = {
max_items = 1,
items = {
{items = {'illuna:instruction_block_2'}}
}
}
})
minetest.register_node("illuna:instruction_block_3", {
description = "Instruction Block 3",
tiles = {"default_stone_brick", "default_stone_brick", "default_stone_brick", "default_stone_brick", "default_stone_brick", "default_stone_brick^instruction_block_3.png"},
paramtype2 = "facedir",
groups = {unbreakable = 1},
on_place = minetest.rotate_node,
sounds = default.node_sound_dirt_defaults({
footstep = {name="default_gravel_footstep", gain=0.5},
dug = {name="default_gravel_footstep", gain=1.0},
}),
drop = {
max_items = 1,
items = {
{items = {'illuna:instruction_block_3'}}
}
}
})
minetest.register_node("illuna:instruction_block_4", {
description = "Instruction Block 4",
tiles = {"default_stone_brick", "default_stone_brick", "default_stone_brick", "default_stone_brick", "default_stone_brick", "default_stone_brick^instruction_block_4.png"},
paramtype2 = "facedir",
groups = {unbreakable = 1},
on_place = minetest.rotate_node,
sounds = default.node_sound_dirt_defaults({
footstep = {name="default_gravel_footstep", gain=0.5},
dug = {name="default_gravel_footstep", gain=1.0},
}),
drop = {
max_items = 1,
items = {
{items = {'illuna:instruction_block_4'}}
}
}
})