add custom sfx when casting fishing rod

master
tenplus1 2021-03-18 17:30:21 +00:00
parent 24c522b082
commit a1e9b727a9
3 changed files with 5 additions and 1 deletions

View File

@ -391,7 +391,7 @@ local use_rod = function(itemstack, player, pointed_thing)
local dir = player:get_look_dir()
local pos = {x = playerpos.x, y = playerpos.y + 1.5, z = playerpos.z}
minetest.sound_play("default_dig_crumbly",
minetest.sound_play("ethereal_casting_rod",
{pos = pos, gain = 0.4, max_hear_distance = 16}, true)
-- place actual bob

View File

@ -46,3 +46,7 @@ Free textures from epicwannehz on DeviantArt
Notice: Most texture authors are written inside code as comments, anything with no name
I have more than likely created myself :)
Royalty Free SFX from dreamstime.com:
ethereal_casting_rod.ogg

Binary file not shown.