play sound when using lock tool

This commit is contained in:
tenplus1 2023-09-05 08:03:24 +01:00
parent 7b40f5b54e
commit 6cdf0ecc26

View File

@ -1117,6 +1117,9 @@ minetest.register_tool("doors:lock_tool", {
end
end
minetest.sound_play("doors_fencegate_open", {pos = pos, gain = 0.15,
max_hear_distance = 8, pitch = 1.5}, true)
return itemstack
end
})