aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--init.lua2
-rw-r--r--sounds/LICENSE.md16
-rw-r--r--sounds/SoundLicences.txt21
-rw-r--r--sounds/fireworkz_bang.oggbin146140 -> 138341 bytes
-rw-r--r--sounds/fireworkz_rocket.oggbin73792 -> 19151 bytes
5 files changed, 17 insertions, 22 deletions
diff --git a/init.lua b/init.lua
index e88eead..ae9cd54 100644
--- a/init.lua
+++ b/init.lua
@@ -190,7 +190,7 @@ function rocket:on_step(dtime)
end
if self.timer > self.rocket_flytime then
if #self.rdt > 0 then
- minetest.sound_play("fireworkz_bang", {pos= self.object:getpos(), fireworkz.settings.max_hear_distance_bang, gain = 3,})
+ minetest.sound_play("fireworkz_bang", {pos= self.object:get_pos(), max_hear_distance = fireworkz.settings.max_hear_distance_bang, gain = 3,})
for _, i in pairs(self.rdt) do
local pos = self.object:getpos()
if i.figure == "ball" then
diff --git a/sounds/LICENSE.md b/sounds/LICENSE.md
new file mode 100644
index 0000000..044f37d
--- /dev/null
+++ b/sounds/LICENSE.md
@@ -0,0 +1,16 @@
+#Sound Licenses
+
+File: fireworkz_fuse.ogg
+Author: j1987
+License: This work is licensed under the Creative Commons 0 License.
+URL: https://freesound.org/people/j1987/sounds/140715/
+
+File: fireworks_rocket.ogg
+Author: Stephan
+License: Public Domain (CC0 equivalent)
+URL: http://soundbible.com/692-Fireworks.html
+
+File: fireworks_bang.ogg
+File: MrAuralization
+License: This work is licensed under the Attribution License. (CC)
+URL: https://freesound.org/people/MrAuralization/sounds/212677/
diff --git a/sounds/SoundLicences.txt b/sounds/SoundLicences.txt
deleted file mode 100644
index 1b7a424..0000000
--- a/sounds/SoundLicences.txt
+++ /dev/null
@@ -1,21 +0,0 @@
-#Sound Licenses
-
-File: fireworkz_fuse.ogg
-Created by: j1987
-License: This work is licensed under the Creative Commons 0 License.
-URL: https://freesound.org/people/j1987/sounds/140715/
-
-File: fireworks_triangle
-Created By:Syna-Max
-Licence: Attribution Noncommercial License.
-URL: http://www.freesound.org/people/Syna-Max/sounds/56606/
-
-File:RomanCandlesandShells.mp3
-CreatedBy: Mr Sensible
-License: This work is licensed under the Creative Commons 0 License.
-URL:http://www.freesound.org/people/Mr%20Sensible/sounds/15000/
-
-File: MrSensibleFireworks.mp3
-CreatedBy: Mr Sensible
-License: This work is licensed under the Creative Commons 0 License.
-http://www.freesound.org/people/Mr%20Sensible/sounds/27757/
diff --git a/sounds/fireworkz_bang.ogg b/sounds/fireworkz_bang.ogg
index 982c34f..17adac3 100644
--- a/sounds/fireworkz_bang.ogg
+++ b/sounds/fireworkz_bang.ogg
Binary files differ
diff --git a/sounds/fireworkz_rocket.ogg b/sounds/fireworkz_rocket.ogg
index 3bbbe0e..31ed818 100644
--- a/sounds/fireworkz_rocket.ogg
+++ b/sounds/fireworkz_rocket.ogg
Binary files differ