mirror of
https://git.minetest.land/MineClone2/MineClone2.git
synced 2024-08-19 05:24:11 +02:00
Add sound for chorus fruit teleport
This commit is contained in:
parent
064858ff59
commit
232dbca783
@ -316,7 +316,9 @@ local random_teleport = function(player)
|
||||
end
|
||||
if streak >= 2 then
|
||||
-- JACKPOT! Now we can teleport.
|
||||
player:set_pos({x=tpos.x, y=tpos.y-1.5, z=tpos.z})
|
||||
local goal = {x=tpos.x, y=tpos.y-1.5, z=tpos.z}
|
||||
player:set_pos(goal)
|
||||
minetest.sound_play({name="mcl_end_teleport", gain=0.8}, {pos=goal, max_hear_distance=16})
|
||||
return true
|
||||
end
|
||||
end
|
||||
|
BIN
mods/ITEMS/mcl_end/sounds/mcl_end_teleport.ogg
Normal file
BIN
mods/ITEMS/mcl_end/sounds/mcl_end_teleport.ogg
Normal file
Binary file not shown.
Loading…
Reference in New Issue
Block a user