description = "Dirt",
tiles = {"dirt.png"},
groups = {dirt = 1, soft = 1, shovel = 1, hand = 1},
- sounds = main.grassSound(),
+ sounds = main.dirtSound(),
})
minetest.register_node("main:grass", {
description = "Grass",
tiles = {"grass.png"},
groups = {dirt = 1, soft = 1, shovel = 1, hand = 1},
- sounds = main.grassSound(),
+ sounds = main.dirtSound(),
drop="main:dirt",
})
minetest.register_node("main:sand", {
description = "Sand",
tiles = {"sand.png"},
- groups = {dirt = 1, sand = 1, soft = 1, shovel = 1, hand = 1},
+ groups = {dirt = 1, sand = 1, soft = 1, shovel = 1, hand = 1, falling_node = 1},
sounds = main.sandSound(),
})
table.footstep = table.footstep or
{name = "sand", gain = 0.2}
table.dug = table.dug or
- {name = "", gain = 1.0}
+ {name = "sand", gain = 0.3}
table.place = table.place or
- {name = "sand", gain = 0.5}
+ {name = "sand", gain = 0.3}
--default.node_sound_defaults(table)
return table
end
--default.node_sound_defaults(table)
return table
end
+function main.dirtSound(table)
+ table = table or {}
+ table.dig = table.dig or
+ {name = "dirt",gain=0.5}
+ table.footstep = table.footstep or
+ {name = "dirt", gain = 0.3}
+ table.dug = table.dug or
+ {name = "dirt", gain = 1.0}
+ table.place = table.place or
+ {name = "dirt", gain = 0.5}
+ --default.node_sound_defaults(table)
+ return table
+end
--beds - set respawn point - only sleep at night
--make treecapitator cut down whole tree if using axe - make trees drop items on treecapitator
--tnt
+sand fall down
+tnt throw player
+water flow faster
+torches with particle
crafting bench
make a mob?
fishing