Add charcoal

master
braydofficial 2022-08-06 16:48:02 +02:00
parent ee02e2b644
commit a34ee2f306
No known key found for this signature in database
GPG Key ID: 5FF25C7F086FE217
3 changed files with 11 additions and 1 deletions

View File

@ -1,6 +1,6 @@
minetest.register_craft({
type = "cooking",
output = "default:coal_lump",
output = "minetest_additions:charcoal",
recipe = "group:tree",
cooktime = 10,
})

10
items/charcoal.lua Normal file
View File

@ -0,0 +1,10 @@
minetest.register_craftitem("minetest_additions:charcoal", {
description = "Charcoal",
inventory_image = "charcoal.png",
})
minetest.register_craft({
type = "fuel",
recipe = "minetest_additions:charcoal",
burntime = 20,
})

BIN
textures/charcoal.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 790 B