Fix torch craft
This commit is contained in:
parent
e8e011b7cc
commit
5c90c404d2
@ -74,22 +74,6 @@ minetest.register_craft({
|
|||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
|
||||||
minetest.register_craft({
|
|
||||||
output = 'torches:torch 4',
|
|
||||||
recipe = {
|
|
||||||
{'default:coal_lump'},
|
|
||||||
{'default:stick'},
|
|
||||||
}
|
|
||||||
})
|
|
||||||
|
|
||||||
minetest.register_craft({
|
|
||||||
output = 'torches:torch 4',
|
|
||||||
recipe = {
|
|
||||||
{'default:charcoal_lump'},
|
|
||||||
{'default:stick'},
|
|
||||||
}
|
|
||||||
})
|
|
||||||
|
|
||||||
minetest.register_craft({
|
minetest.register_craft({
|
||||||
output = 'default:pick_wood',
|
output = 'default:pick_wood',
|
||||||
recipe = {
|
recipe = {
|
||||||
@ -736,12 +720,6 @@ minetest.register_craft({
|
|||||||
burntime = 60,
|
burntime = 60,
|
||||||
})
|
})
|
||||||
|
|
||||||
minetest.register_craft({
|
|
||||||
type = "fuel",
|
|
||||||
recipe = "torches:torch",
|
|
||||||
burntime = 4,
|
|
||||||
})
|
|
||||||
|
|
||||||
minetest.register_craft({
|
minetest.register_craft({
|
||||||
type = "fuel",
|
type = "fuel",
|
||||||
recipe = "signs:sign_wall",
|
recipe = "signs:sign_wall",
|
||||||
@ -809,4 +787,4 @@ minetest.register_craft({
|
|||||||
minetest.register_craft({
|
minetest.register_craft({
|
||||||
output = "default:string",
|
output = "default:string",
|
||||||
recipe = {{"default:paper", "default:paper"}},
|
recipe = {{"default:paper", "default:paper"}},
|
||||||
})
|
})
|
||||||
|
21
mods/torches/crafting.lua
Normal file
21
mods/torches/crafting.lua
Normal file
@ -0,0 +1,21 @@
|
|||||||
|
minetest.register_craft({
|
||||||
|
type = "fuel",
|
||||||
|
recipe = "torches:torch",
|
||||||
|
burntime = 4,
|
||||||
|
})
|
||||||
|
|
||||||
|
minetest.register_craft({
|
||||||
|
output = 'torches:torch 4',
|
||||||
|
recipe = {
|
||||||
|
{'default:coal_lump'},
|
||||||
|
{'default:stick'},
|
||||||
|
}
|
||||||
|
})
|
||||||
|
|
||||||
|
minetest.register_craft({
|
||||||
|
output = 'torches:torch 4',
|
||||||
|
recipe = {
|
||||||
|
{'default:charcoal_lump'},
|
||||||
|
{'default:stick'},
|
||||||
|
}
|
||||||
|
})
|
@ -223,3 +223,5 @@ minetest.register_on_dignode(function(pos, oldnode, digger)
|
|||||||
end
|
end
|
||||||
end
|
end
|
||||||
end)
|
end)
|
||||||
|
|
||||||
|
dofile(minetest.get_modpath("torches") .. "/crafting.lua")
|
||||||
|
Loading…
Reference in New Issue
Block a user