fixed license for tnt mod and changed detonation method

This commit is contained in:
kaadmy 2015-10-04 10:51:43 -07:00
parent 4f8a32144d
commit bf99cc1d13
2 changed files with 4 additions and 6 deletions

View File

@ -4,7 +4,7 @@ By PilzAdam and ShadowNinja
Tweaked by Kaadmy, for Pixture Tweaked by Kaadmy, for Pixture
Adds explodable TNT 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) Source license: WTFPL
Sound license: CC0(original WTFPL) Asset license: WTFPL

View File

@ -219,9 +219,7 @@ minetest.register_node(
on_punch = function(pos, node, puncher) on_punch = function(pos, node, puncher)
local itemname = puncher:get_wielded_item():get_name() local itemname = puncher:get_wielded_item():get_name()
if itemname == "default:torch" if itemname == "default:flint_and_steel" then
or itemname == "default:torch_weak"
or itemname == "default:flint_and_steel" then
burn(pos) burn(pos)
end end
end, end,