forked from Mirrorlandia_minetest/tnt
Add new TNT sounds
This commit is contained in:
parent
351a70b530
commit
8b3307cc70
21
README.txt
21
README.txt
@ -9,8 +9,8 @@ ShadowNinja (MIT)
|
||||
sofar (sofar@foo-projects.org) (MIT)
|
||||
Various Minetest developers and contributors (MIT)
|
||||
|
||||
Authors of media (textures)
|
||||
---------------------------
|
||||
Authors of media
|
||||
----------------
|
||||
BlockMen (CC BY-SA 3.0):
|
||||
All textures not mentioned below.
|
||||
|
||||
@ -26,6 +26,23 @@ tnt_blast.png
|
||||
paramat (CC BY-SA 3.0)
|
||||
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
|
||||
------------
|
||||
This mod adds TNT to Minetest. TNT is a tool to help the player
|
||||
|
2
init.lua
2
init.lua
@ -396,7 +396,7 @@ function tnt.boom(pos, def)
|
||||
minetest.set_node(pos, {name = "tnt:boom"})
|
||||
end
|
||||
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)})
|
||||
local drops, radius = tnt_explode(pos, def.radius, def.ignore_protection,
|
||||
def.ignore_on_blast, owner, def.explode_center)
|
||||
|
38
license.txt
38
license.txt
@ -26,9 +26,10 @@ DEALINGS IN THE SOFTWARE.
|
||||
For more details:
|
||||
https://opensource.org/licenses/MIT
|
||||
|
||||
===================================
|
||||
|
||||
Licenses of media (textures)
|
||||
----------------------------
|
||||
Licenses of media
|
||||
-----------------
|
||||
|
||||
Attribution-ShareAlike 3.0 Unported (CC BY-SA 3.0)
|
||||
Copyright (C) 2014-2016 BlockMen
|
||||
@ -64,3 +65,36 @@ rights may limit how you use the material.
|
||||
|
||||
For more details:
|
||||
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.
Binary file not shown.
Loading…
Reference in New Issue
Block a user