illuna/nodes.lua

18 lines
522 B
Lua

minetest.register_node("illuna:desert_gravel", {
description = "Gravel",
tiles = {"desert_gravel.png"},
groups = {crumbly = 2, falling_node = 1},
--[ have to read api a bit, this feature will follow soon. ]--
--sounds = illuna.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'}}
}
}
})