add a distinct rotation sound

This commit is contained in:
FaceDeer 2019-08-27 21:57:09 -06:00
parent c35104e8c3
commit df4c7f7f38
3 changed files with 2 additions and 1 deletions

@ -653,6 +653,7 @@ digtron.rotate = function(digtron_id, axis, player_name)
if permitted then
local removed = digtron.remove_from_world(digtron_id, player_name)
digtron.build_to_world(digtron_id, rotated_layout, root_pos, player_name)
minetest.sound_play("digtron_hydraulic", {gain = 0.5, pos=dest_pos})
persist_layout(digtron_id, rotated_layout)
-- Don't need to do fancy callback checking for digtron nodes since I made all those
-- nodes and I know they don't have anything that needs to be done for them.

Binary file not shown.

@ -11,7 +11,7 @@ digtron_truck.ogg - https://www.freesound.org/people/jberkuta14/sounds/134898/ p
digtron_whirr.ogg - https://www.freesound.org/people/daveincamas/sounds/25034/ - under the CC BY 3.0 license by daveincamas
digtron_woopwoopwoop.ogg - https://www.freesound.org/people/gregconquest/sounds/188012/ public domain via CC 1.0 by gregconquest
digtron_steam_puff.ogg - https://freesound.org/people/Aiwha/sounds/250703/ under the CC BY 3.0 license by Aiwha
digtron_hydraulic.ogg - https://freesound.org/people/jesabat/sounds/119745/ under the CC BY 3.0 license by jesabat
Creative Commons Attribution 3.0 license: