summaryrefslogtreecommitdiff
path: root/technic/machines/power_monitor.lua
diff options
context:
space:
mode:
authorVanessa Ezekowitz <vanessaezekowitz@gmail.com>2017-03-10 14:15:38 -0500
committerVanessa Ezekowitz <vanessaezekowitz@gmail.com>2017-03-10 14:15:38 -0500
commit343c7946d9014bf111e25a7a225a1b6f5746992b (patch)
treeb869c9cb0812712d58f300978f1e66bd3b881cc0 /technic/machines/power_monitor.lua
parent5b473927ca52a1fd7b43a01b783ed343c1bed165 (diff)
power monitor changes
New textures, uses facedir, connects from the back as well.
Diffstat (limited to 'technic/machines/power_monitor.lua')
-rw-r--r--technic/machines/power_monitor.lua14
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_craft({
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)