Zefram
2014-04-26 f5041784212a5045538983f41e1fc73bf79277a8
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,
})