mirror of
https://git.minetest.land/VoxeLibre/VoxeLibre.git
synced 2024-11-22 10:31:06 +01:00
Fix torch craft
This commit is contained in:
parent
e8e011b7cc
commit
5c90c404d2
3 changed files with 24 additions and 23 deletions
|
@ -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 a new issue