summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorcheapie <no-email-for-you@example.com>2014-03-11 18:20:24 -0500
committercheapie <no-email-for-you@example.com>2014-03-11 18:20:24 -0500
commit9d1258a9582ffeb67882740b8f1e82c9f4ab4194 (patch)
treed152c87ae0cf4273008397ae5e099b49f4ac6fd1
parentc33d1323ffbd9ece7997cbc91c58945546b2221c (diff)
downloadcharcoal-9d1258a9582ffeb67882740b8f1e82c9f4ab4194.tar
charcoal-9d1258a9582ffeb67882740b8f1e82c9f4ab4194.tar.gz
charcoal-9d1258a9582ffeb67882740b8f1e82c9f4ab4194.tar.bz2
charcoal-9d1258a9582ffeb67882740b8f1e82c9f4ab4194.tar.xz
charcoal-9d1258a9582ffeb67882740b8f1e82c9f4ab4194.zip
Added Content (still needs a better texture, and maybe some more tuning)
-rw-r--r--README.md2
-rw-r--r--depends.txt1
-rw-r--r--init.lua17
-rw-r--r--textures/charcoal_lump.pngbin0 -> 186 bytes
4 files changed, 20 insertions, 0 deletions
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
--- /dev/null
+++ b/textures/charcoal_lump.png
Binary files differ