From 9d1258a9582ffeb67882740b8f1e82c9f4ab4194 Mon Sep 17 00:00:00 2001 From: cheapie Date: Tue, 11 Mar 2014 18:20:24 -0500 Subject: Added Content (still needs a better texture, and maybe some more tuning) --- README.md | 2 ++ depends.txt | 1 + init.lua | 17 +++++++++++++++++ textures/charcoal_lump.png | Bin 0 -> 186 bytes 4 files changed, 20 insertions(+) create mode 100644 depends.txt create mode 100644 init.lua create mode 100644 textures/charcoal_lump.png diff --git a/README.md b/README.md index 3c96f08..f647727 100644 --- a/README.md +++ b/README.md @@ -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 new file mode 100644 index 0000000..3f78a6e Binary files /dev/null and b/textures/charcoal_lump.png differ -- cgit v1.2.3