more torch fixes and funtionality

This commit is contained in:
kaadmy 2015-10-06 10:10:27 -07:00
parent a28e07f155
commit 85f2804402
2 changed files with 17 additions and 1 deletions

View File

@ -508,6 +508,22 @@ minetest.register_craft(
-- Cooking
--
minetest.register_craft(
{
type = "cooking",
output = "default:torch_weak",
recipe = "default:torch_dead",
cooktime = 1,
})
minetest.register_craft(
{
type = "cooking",
output = "default:torch",
recipe = "default:torch_weak",
cooktime = 4,
})
minetest.register_craft(
{
type = "cooking",

View File

@ -306,7 +306,7 @@ minetest.register_abm( -- weak torchs burn out and die after ~3 minutes
interval = 3,
chance = 60,
action = function(pos, node)
minetest.set_node(pos, {name = "default:torch_dead"})
minetest.set_node(pos, {name = "default:torch_dead", param = node.param, param2 = node.param2})
end
})