From bf99cc1d13f0601301a2ee8b78f5925dff4fe741 Mon Sep 17 00:00:00 2001 From: kaadmy Date: Sun, 4 Oct 2015 10:51:43 -0700 Subject: [PATCH] fixed license for tnt mod and changed detonation method --- mods/tnt/README.txt | 6 +++--- mods/tnt/init.lua | 4 +--- 2 files changed, 4 insertions(+), 6 deletions(-) diff --git a/mods/tnt/README.txt b/mods/tnt/README.txt index 3ad9ee4..0c90d13 100644 --- a/mods/tnt/README.txt +++ b/mods/tnt/README.txt @@ -4,7 +4,7 @@ By PilzAdam and ShadowNinja Tweaked by Kaadmy, for Pixture Adds explodable TNT -Place a block of TNT, then click on it with a torch +Place a block of TNT, then click on it with flint and steel -Source license: CC0(original WTFPL) -Sound license: CC0(original WTFPL) +Source license: WTFPL +Asset license: WTFPL diff --git a/mods/tnt/init.lua b/mods/tnt/init.lua index 59870f2..224bcc2 100644 --- a/mods/tnt/init.lua +++ b/mods/tnt/init.lua @@ -219,9 +219,7 @@ minetest.register_node( on_punch = function(pos, node, puncher) local itemname = puncher:get_wielded_item():get_name() - if itemname == "default:torch" - or itemname == "default:torch_weak" - or itemname == "default:flint_and_steel" then + if itemname == "default:flint_and_steel" then burn(pos) end end,