fixed license for tnt mod and changed detonation method
This commit is contained in:
parent
4f8a32144d
commit
bf99cc1d13
@ -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
|
||||||
|
@ -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,
|
||||||
|
Loading…
Reference in New Issue
Block a user