first commit

master
runs 2020-05-17 14:06:51 +02:00
parent 6a868e526e
commit 6eface65e7
5 changed files with 17 additions and 22 deletions

View File

@ -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

16
sounds/LICENSE.md Normal file
View File

@ -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/

View File

@ -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/

Binary file not shown.

Binary file not shown.