minetest-mm/mods/charcoal/init.lua

23 lines
479 B
Lua
Raw Normal View History

2020-10-26 17:38:53 +01:00
minetest.register_craftitem("charcoal:charcoal_lump", {
image = "charcoal_lump.png",
description="Lump of Charcoal",
})
minetest.register_craft({
output = "charcoal:charcoal_lump 4",
type = "cooking",
recipe = "group:tree",
cooktime = 4
})
minetest.register_craft({
type = "fuel",
recipe = "charcoal:charcoal_lump",
burntime = 8,
})
minetest.register_craft({
type = "shapeless",
recipe = {"charcoal:charcoal_lump","default:stick"},
output = "default:torch",
})