22 lines
364 B
Lua
22 lines
364 B
Lua
-- Charcoal
|
|
|
|
-- Charcoal Lump
|
|
|
|
minetest.register_craftitem("basics:charcoal", {
|
|
description = "charcoal",
|
|
inventory_image = "default_coal_lump.png",
|
|
})
|
|
|
|
minetest.register_craft({
|
|
type = "cooking",
|
|
output = "basics:charcoal",
|
|
recipe = "group:tree",
|
|
cooktime = 5,
|
|
})
|
|
|
|
minetest.register_craft({
|
|
type = "fuel",
|
|
recipe = "basics:charcoal",
|
|
burntime = "40",
|
|
})
|