more torch fixes and funtionality
This commit is contained in:
parent
a28e07f155
commit
85f2804402
|
@ -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",
|
||||
|
|
|
@ -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
|
||||
})
|
||||
|
||||
|
|
Loading…
Reference in New Issue