diff options
-rw-r--r-- | README.md | 2 | ||||
-rw-r--r-- | depends.txt | 1 | ||||
-rw-r--r-- | init.lua | 17 | ||||
-rw-r--r-- | textures/charcoal_lump.png | bin | 0 -> 186 bytes |
4 files changed, 20 insertions, 0 deletions
@@ -2,3 +2,5 @@ charcoal ======== Charcoal mod for Minetest + +Craft charcoal by smelting a tree block. Works in furnaces as a fuel. diff --git a/depends.txt b/depends.txt new file mode 100644 index 0000000..4ad96d5 --- /dev/null +++ b/depends.txt @@ -0,0 +1 @@ +default diff --git a/init.lua b/init.lua new file mode 100644 index 0000000..2447446 --- /dev/null +++ b/init.lua @@ -0,0 +1,17 @@ +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, +}) diff --git a/textures/charcoal_lump.png b/textures/charcoal_lump.png Binary files differnew file mode 100644 index 0000000..3f78a6e --- /dev/null +++ b/textures/charcoal_lump.png |