1
0
mirror of https://github.com/minetest/minetest_game.git synced 2024-12-22 23:10:17 +01:00

Add new TNT sounds

This commit is contained in:
TumeniNodes 2019-08-27 22:06:23 -04:00 committed by Paramat
parent 7269711911
commit 553b0f9d72
6 changed files with 56 additions and 5 deletions

View File

@ -9,8 +9,8 @@ ShadowNinja (MIT)
sofar (sofar@foo-projects.org) (MIT) sofar (sofar@foo-projects.org) (MIT)
Various Minetest developers and contributors (MIT) Various Minetest developers and contributors (MIT)
Authors of media (textures) Authors of media
--------------------------- ----------------
BlockMen (CC BY-SA 3.0): BlockMen (CC BY-SA 3.0):
All textures not mentioned below. All textures not mentioned below.
@ -26,6 +26,23 @@ tnt_blast.png
paramat (CC BY-SA 3.0) paramat (CC BY-SA 3.0)
tnt_tnt_stick.png - Derived from a texture by benrob0329. tnt_tnt_stick.png - Derived from a texture by benrob0329.
TumeniNodes (CC0 1.0)
tnt_explode.ogg
renamed, edited, and converted to .ogg from Explosion2.wav
by steveygos93 (CC0 1.0)
<https://freesound.org/s/80401/>
tnt_ignite.ogg
renamed, edited, and converted to .ogg from sparkler_fuse_nm.wav
by theneedle.tv (CC0 1.0)
<https://freesound.org/s/316682/>
tnt_gunpowder_burning.ogg
renamed, edited, and converted to .ogg from road flare ignite burns.wav
by frankelmedico (CC0 1.0)
<https://freesound.org/s/348767/>
Introduction Introduction
------------ ------------
This mod adds TNT to Minetest. TNT is a tool to help the player This mod adds TNT to Minetest. TNT is a tool to help the player

View File

@ -396,7 +396,7 @@ function tnt.boom(pos, def)
minetest.set_node(pos, {name = "tnt:boom"}) minetest.set_node(pos, {name = "tnt:boom"})
end end
local sound = def.sound or "tnt_explode" local sound = def.sound or "tnt_explode"
minetest.sound_play(sound, {pos = pos, gain = 1.5, minetest.sound_play(sound, {pos = pos, gain = 2.5,
max_hear_distance = math.min(def.radius * 20, 128)}) max_hear_distance = math.min(def.radius * 20, 128)})
local drops, radius = tnt_explode(pos, def.radius, def.ignore_protection, local drops, radius = tnt_explode(pos, def.radius, def.ignore_protection,
def.ignore_on_blast, owner, def.explode_center) def.ignore_on_blast, owner, def.explode_center)

View File

@ -26,9 +26,10 @@ DEALINGS IN THE SOFTWARE.
For more details: For more details:
https://opensource.org/licenses/MIT https://opensource.org/licenses/MIT
===================================
Licenses of media (textures) Licenses of media
---------------------------- -----------------
Attribution-ShareAlike 3.0 Unported (CC BY-SA 3.0) Attribution-ShareAlike 3.0 Unported (CC BY-SA 3.0)
Copyright (C) 2014-2016 BlockMen Copyright (C) 2014-2016 BlockMen
@ -64,3 +65,36 @@ rights may limit how you use the material.
For more details: For more details:
http://creativecommons.org/licenses/by-sa/3.0/ http://creativecommons.org/licenses/by-sa/3.0/
====================================================
CC0 1.0 Universal (CC0 1.0) Public Domain Dedication
for audio files (found in sounds folder)
TumeniNodes
steveygos93
theneedle.tv
frankelmedico
No Copyright
The person who associated a work with this deed has dedicated the work to the public domain
by waiving all of his or her rights to the work worldwide under copyright law, including all
related and neighboring rights, to the extent allowed by law.
You can copy, modify, distribute and perform the work, even for commercial purposes, all
without asking permission. See Other Information below.
In no way are the patent or trademark rights of any person affected by CC0, nor are the
rights that other persons may have in the work or in how the work is used, such as publicity
or privacy rights.
Unless expressly stated otherwise, the person who associated a work with this deed makes no
warranties about the work, and disclaims liability for all uses of the work, to the fullest
extent permitted by applicable law.
When using or citing the work, you should not imply endorsement by the author or the affirmer.
This license is acceptable for Free Cultural Works.
For more Information:
https://creativecommons.org/publicdomain/zero/1.0/

Binary file not shown.

Binary file not shown.