diff --git a/mods/parachute/README.txt b/mods/parachute/README.txt index 5b68246..5398214 100644 --- a/mods/parachute/README.txt +++ b/mods/parachute/README.txt @@ -1,8 +1,9 @@ Parachute mod ============= By webdesigner97 -Tewaked by Kaadmy, for Pixture +Tweaked by Kaadmy and, for Pixture/Repixture Model license: CC BY-SA 4.0 Texture license: CC BY-SA 4.0 +Sound license: CC BY-SA 4.0 Source license: LGPLv2.1 diff --git a/mods/parachute/init.lua b/mods/parachute/init.lua index bcdcfd1..64672d1 100644 --- a/mods/parachute/init.lua +++ b/mods/parachute/init.lua @@ -43,6 +43,7 @@ minetest.register_craftitem( pos.y = pos.y + 3 local ent = minetest.add_entity(pos, "parachute:entity") + minetest.sound_play({name="parachute_open", pos=pos}, {gain=0.5}, true) ent:set_velocity( { @@ -162,6 +163,7 @@ minetest.register_entity( self.object:set_detach() end + minetest.sound_play({name="parachute_close", pos=self.object:get_pos()}, {gain=0.5}, true) self.object:remove() end end diff --git a/mods/parachute/sounds/parachute_close.ogg b/mods/parachute/sounds/parachute_close.ogg new file mode 100644 index 0000000..fba780a Binary files /dev/null and b/mods/parachute/sounds/parachute_close.ogg differ diff --git a/mods/parachute/sounds/parachute_open.ogg b/mods/parachute/sounds/parachute_open.ogg new file mode 100644 index 0000000..a9b24ad Binary files /dev/null and b/mods/parachute/sounds/parachute_open.ogg differ