From 343c7946d9014bf111e25a7a225a1b6f5746992b Mon Sep 17 00:00:00 2001
From: Vanessa Ezekowitz <vanessaezekowitz@gmail.com>
Date: Fri, 10 Mar 2017 20:15:38 +0100
Subject: [PATCH] power monitor changes New textures, uses facedir, connects from the back as well.

---
 technic/machines/power_monitor.lua |   14 ++++++++++----
 1 files changed, 10 insertions(+), 4 deletions(-)

diff --git a/technic/machines/power_monitor.lua b/technic/machines/power_monitor.lua
index 4e90460..4306693 100644
--- a/technic/machines/power_monitor.lua
+++ b/technic/machines/power_monitor.lua
@@ -15,11 +15,17 @@
 
 minetest.register_node("technic:power_monitor",{
 	description = S("Power Monitor"),
-	tiles  = {"technic_water_mill_top_active.png", "technic_water_mill_top_active.png",
-                  "technic_water_mill_top_active.png", "technic_water_mill_top_active.png",
-	          "technic_water_mill_top_active.png", "technic_water_mill_top_active.png"},
+	tiles  = {
+		"technic_power_monitor_sides.png",
+		"technic_power_monitor_bottom_back.png",
+		"technic_power_monitor_sides.png",
+		"technic_power_monitor_sides.png",
+		"technic_power_monitor_bottom_back.png",
+		"technic_power_monitor_front.png"
+	},
+	paramtype2 = "facedir",
 	groups = {snappy=2, choppy=2, oddly_breakable_by_hand=2, technic_all_tiers=1, technic_machine=1},
-	connect_sides = {"bottom"},
+	connect_sides = {"bottom", "back"},
 	sounds = default.node_sound_wood_defaults(),
 	on_construct = function(pos)
 		local meta = minetest.get_meta(pos)

--
Gitblit v1.8.0