MineYoshi wrote:How to make when you touch or make an action with a tool, the tool sounds?
on_destruct = function(pos)
minetest.sound_play("your_sound_file", {
pos = pos,
max_hear_distance = 100,
gain = 10.0,
})
end,Users browsing this forum: No registered users and 4 guests