From f5041784212a5045538983f41e1fc73bf79277a8 Mon Sep 17 00:00:00 2001
From: Zefram <zefram@fysh.org>
Date: Sun, 27 Apr 2014 20:43:00 +0200
Subject: [PATCH] Fix drops for active machines

---
 technic/machines/register/grinder_recipes.lua |   12 +++++++++++-
 1 files changed, 11 insertions(+), 1 deletions(-)

diff --git a/technic/machines/register/grinder_recipes.lua b/technic/machines/register/grinder_recipes.lua
index d95eaf7..73595d4 100644
--- a/technic/machines/register/grinder_recipes.lua
+++ b/technic/machines/register/grinder_recipes.lua
@@ -1,4 +1,6 @@
 
+local S = technic.getter
+
 technic.grinder_recipes = {}
 
 function technic.register_grinder_recipe(data)
@@ -46,7 +48,9 @@
 	{"moreores:tin_lump",       "technic:tin_dust 2"},
 	{"technic:chromium_ingot",  "technic:chromium_dust 1"},
 	{"technic:chromium_lump",   "technic:chromium_dust 2"},
+	{"technic:zinc_ingot",      "technic:zinc_dust 1"},
 	{"technic:zinc_lump",       "technic:zinc_dust 2"},
+	{"technic:brass_ingot",     "technic:brass_dust 1"},
 }
 
 if minetest.get_modpath("homedecor") then
@@ -61,7 +65,7 @@
 	local lname = string.lower(name)
 	lname = string.gsub(lname, ' ', '_')
 	minetest.register_craftitem("technic:"..lname.."_dust", {
-		description = name.." Dust",
+		description = S("%s Dust"):format(S(name)),
 		inventory_image = "technic_"..lname.."_dust.png",
 		on_place_on_ground = minetest.craftitem_place_item,
 	})
@@ -92,3 +96,9 @@
 register_dust("Tin",             "moreores:tin_ingot")
 register_dust("Zinc",            "technic:zinc_ingot")
 
+minetest.register_craft({
+	type = "fuel",
+	recipe = "technic:coal_dust",
+	burntime = 50,
+})
+

--
Gitblit v1.8.0