power monitor changes

New textures, uses facedir, connects from the back as well.
This commit is contained in:
Vanessa Ezekowitz 2017-03-10 14:15:38 -05:00
parent 5b473927ca
commit 343c7946d9
4 changed files with 10 additions and 4 deletions

View File

@ -15,11 +15,17 @@ minetest.register_craft({
minetest.register_node("technic:power_monitor",{ minetest.register_node("technic:power_monitor",{
description = S("Power Monitor"), description = S("Power Monitor"),
tiles = {"technic_water_mill_top_active.png", "technic_water_mill_top_active.png", tiles = {
"technic_water_mill_top_active.png", "technic_water_mill_top_active.png", "technic_power_monitor_sides.png",
"technic_water_mill_top_active.png", "technic_water_mill_top_active.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}, 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(), sounds = default.node_sound_wood_defaults(),
on_construct = function(pos) on_construct = function(pos)
local meta = minetest.get_meta(pos) local meta = minetest.get_meta(pos)

Binary file not shown.

After

Width:  |  Height:  |  Size: 506 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 428 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 456 B