From 343c7946d9014bf111e25a7a225a1b6f5746992b Mon Sep 17 00:00:00 2001 From: Vanessa Ezekowitz Date: Fri, 10 Mar 2017 14:15:38 -0500 Subject: power monitor changes New textures, uses facedir, connects from the back as well. --- technic/machines/power_monitor.lua | 14 ++++++++++---- technic/textures/technic_power_monitor_bottom_back.png | Bin 0 -> 506 bytes technic/textures/technic_power_monitor_front.png | Bin 0 -> 428 bytes technic/textures/technic_power_monitor_sides.png | Bin 0 -> 456 bytes 4 files changed, 10 insertions(+), 4 deletions(-) create mode 100644 technic/textures/technic_power_monitor_bottom_back.png create mode 100644 technic/textures/technic_power_monitor_front.png create mode 100644 technic/textures/technic_power_monitor_sides.png 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) diff --git a/technic/textures/technic_power_monitor_bottom_back.png b/technic/textures/technic_power_monitor_bottom_back.png new file mode 100644 index 0000000..c857039 Binary files /dev/null and b/technic/textures/technic_power_monitor_bottom_back.png differ diff --git a/technic/textures/technic_power_monitor_front.png b/technic/textures/technic_power_monitor_front.png new file mode 100644 index 0000000..b0db568 Binary files /dev/null and b/technic/textures/technic_power_monitor_front.png differ diff --git a/technic/textures/technic_power_monitor_sides.png b/technic/textures/technic_power_monitor_sides.png new file mode 100644 index 0000000..a6df4f3 Binary files /dev/null and b/technic/textures/technic_power_monitor_sides.png differ -- cgit v1.2.3