From 9087abcde029b12a8d21f90bf71fdf85ecff7d86 Mon Sep 17 00:00:00 2001
From: Tim <t4im@users.noreply.github.com>
Date: Fri, 30 Jan 2015 05:09:21 +0100
Subject: [PATCH] add centrifuge recipe for wheat

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

diff --git a/technic/machines/register/centrifuge_recipes.lua b/technic/machines/register/centrifuge_recipes.lua
index 0f33c66..32a0de2 100644
--- a/technic/machines/register/centrifuge_recipes.lua
+++ b/technic/machines/register/centrifuge_recipes.lua
@@ -20,12 +20,23 @@
 	{ "moretrees:rubber_tree_trunk",       rubber_tree_planks.." 4",      "technic:raw_latex"     },
 }
 
+local function uranium_dust(p)
+	return "technic:uranium"..(p == 7 and "" or p).."_dust"
+end
+for p = 1, 34 do
+	table.insert(recipes, { uranium_dust(p).." 2", uranium_dust(p-1), uranium_dust(p+1) })
+end
+
 if minetest.get_modpath("bushes_classic") then
 	for _, berry in ipairs({ "blackberry", "blueberry", "gooseberry", "raspberry", "strawberry" }) do
 		table.insert(recipes, { "bushes:"..berry.."_bush", "default:stick 20", "bushes:"..berry.." 4" })
 	end
 end
 
+if minetest.get_modpath("farming") then
+	table.insert(recipes, { "farming:wheat 4", "farming:seed_wheat 3", "default:dry_shrub 1" })
+end
+
 for _, data in pairs(recipes) do
 	technic.register_separating_recipe({ input = { data[1] }, output = { data[2], data[3] } })
 end

--
Gitblit v1.8.0