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/tools/mining_drill.lua |   12 ++++++------
 1 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/technic/tools/mining_drill.lua b/technic/tools/mining_drill.lua
index ac22098..0612059 100644
--- a/technic/tools/mining_drill.lua
+++ b/technic/tools/mining_drill.lua
@@ -6,9 +6,9 @@
 minetest.register_craft({
 	output = 'technic:mining_drill',
 	recipe = {
-		{'technic:stainless_steel_ingot', 'technic:diamond_drill_head', 'technic:stainless_steel_ingot'},
+		{'moreores:tin_ingot',            'technic:diamond_drill_head', 'moreores:tin_ingot'},
 		{'technic:stainless_steel_ingot', 'technic:motor',              'technic:stainless_steel_ingot'},
-		{'',                              'technic:red_energy_crystal', 'moreores:copper_ingot'},
+		{'',                              'technic:red_energy_crystal', 'default:copper_ingot'},
 	}
 })
 minetest.register_craft({
@@ -51,12 +51,12 @@
 		minetest.record_protection_violation(pos, player:get_player_name())
 		return
 	end
-	local node=minetest.env:get_node(pos)
+	local node=minetest.get_node(pos)
 	if node.name == "air" or node.name == "ignore" then return end
 	if node.name == "default:lava_source" then return end
 	if node.name == "default:lava_flowing" then return end
-	if node.name == "default:water_source" then minetest.env:remove_node(pos) return end
-	if node.name == "default:water_flowing" then minetest.env:remove_node(pos) return end
+	if node.name == "default:water_source" then minetest.remove_node(pos) return end
+	if node.name == "default:water_flowing" then minetest.remove_node(pos) return end
 	minetest.node_dig(pos,node,player)
 end
 
@@ -230,7 +230,7 @@
 end
 
 local function pos_is_pointable(pos)
-	local node = minetest.env:get_node(pos)
+	local node = minetest.get_node(pos)
 	local nodedef = minetest.registered_nodes[node.name]
 	return nodedef and nodedef.pointable
 end

--
Gitblit v1.8.0