This commit is contained in:
HybridDog 2016-02-18 18:46:13 +01:00
parent 67b9555a68
commit d3fe2a2d00

View File

@ -510,12 +510,10 @@ function nuke.lit_tnt(pos, node, puncher)
end
for _,i in pairs(nuke.bombs_list) do
local nnam = "nuke:"..i[1].."_tnt"
minetest.register_node(nnam, {
minetest.register_node("nuke:"..i[1].."_tnt", {
description = i[2].." Bomb",
tiles = {"nuke_"..i[1].."_tnt_top.png", "nuke_"..i[1].."_tnt_bottom.png", "nuke_"..i[1].."_tnt_side.png"},
dug_item = '', -- Get nothing?
material = {diggability = "not"},
diggable = false,
on_punch = function(...)
nuke.lit_tnt(...)
end