illuna/nodes.lua
2016-08-02 18:05:14 +02:00

111 lines
3.5 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:welcome_block_v2_1", {
description = "Welcome Block v2 1",
tiles = {"welcome_block_v2_1.png"},
groups = {unbreakable = 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 = {'illuna:welcome_block_v2_1'}}
}
}
})
minetest.register_node("illuna:welcome_block_v2_2", {
description = "Welcome Block v2 2",
tiles = {"welcome_block_v2_2.png"},
groups = {unbreakable = 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 = {'illuna:welcome_block_v2_2'}}
}
}
})
minetest.register_node("illuna:welcome_block_v2_3", {
description = "Welcome Block v2 3",
tiles = {"welcome_block_v2_3.png"},
groups = {unbreakable = 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 = {'illuna:welcome_block_v2_3'}}
}
}
})
minetest.register_node("illuna:welcome_block_v2_4", {
description = "Welcome Block v2 4",
tiles = {"welcome_block_v2_4.png"},
groups = {unbreakable = 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 = {'illuna:welcome_block_v2_4'}}
}
}
})