more torch fixes and funtionality
This commit is contained in:
parent
a28e07f155
commit
85f2804402
@ -508,6 +508,22 @@ minetest.register_craft(
|
|||||||
-- Cooking
|
-- 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(
|
minetest.register_craft(
|
||||||
{
|
{
|
||||||
type = "cooking",
|
type = "cooking",
|
||||||
|
@ -306,7 +306,7 @@ minetest.register_abm( -- weak torchs burn out and die after ~3 minutes
|
|||||||
interval = 3,
|
interval = 3,
|
||||||
chance = 60,
|
chance = 60,
|
||||||
action = function(pos, node)
|
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
|
end
|
||||||
})
|
})
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user