summaryrefslogtreecommitdiff
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
parent5b473927ca52a1fd7b43a01b783ed343c1bed165 (diff)
power monitor changes
New textures, uses facedir, connects from the back as well.
-rw-r--r--technic/machines/power_monitor.lua14
-rw-r--r--technic/textures/technic_power_monitor_bottom_back.pngbin0 -> 506 bytes
-rw-r--r--technic/textures/technic_power_monitor_front.pngbin0 -> 428 bytes
-rw-r--r--technic/textures/technic_power_monitor_sides.pngbin0 -> 456 bytes
4 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)
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
--- /dev/null
+++ b/technic/textures/technic_power_monitor_bottom_back.png
Binary files 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
--- /dev/null
+++ b/technic/textures/technic_power_monitor_front.png
Binary files 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
--- /dev/null
+++ b/technic/textures/technic_power_monitor_sides.png
Binary files differ