From 343c7946d9014bf111e25a7a225a1b6f5746992b Mon Sep 17 00:00:00 2001 From: Vanessa Ezekowitz Date: Fri, 10 Mar 2017 14:15:38 -0500 Subject: [PATCH] power monitor changes New textures, uses facedir, connects from the back as well. --- technic/machines/power_monitor.lua | 14 ++++++++++---- .../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 0000000000000000000000000000000000000000..c857039330eedb8021c112f167c54d68338ac45d GIT binary patch literal 506 zcmV$@ zOKwy#5Jl_fw%wumM1YWxGROjY1}un0u?Y5oA~9tRhyh9l>3;9|Q&kKKT1ZecyX@=h zdkSxFZ`XA#rKoDod0p39>-l^}#GLaOgPF|?0Cu~bs*zIw*@kM{Z72WAdM zGb0hHwf5fUoB;6Se%6dby>%bc&#MA}yAx3;5+X*3Vf4+leE&J$zD(B#I&WSw0RSSV zlv-=06ms|25)lCC!=68(hm%f&oRAQLz_KhsNm5F+*4A3kF^4vM40m%X^!kNd0t`M9 zPFicVRseXqr_*ZtOlrPtwswyTV~j{##u#(XtE;Qi=>!0uzP$T4)|8T&1qZyjxj{r# zW#%ykA`+3Asj7(NoR?(*fKtkwQ&lMv_#17^mAjkSx~?L^%<;*Tl9*Y<8XQzL8u3)X wx=gN_Nnj2-01(TV*6_{D?%rC30RSkaR;$&oq1(14A~v7Ti=ucA{fx&0nx-j=V!2$3 zl+p|0=Ld`}abpYs>~_0fLpMz$rQ~H$>fB`<1vG`hS1^64BTLWLd^Jch2Q`&KP@d+fN6Zx9#nA%kvxnLI{F$ zj)X9!rf7`1pNFayx;GwwNi?i9mmmHtF^x0Z$vzf zW39!^?hXJsXEP%+TWjTaN8e@FlN-0Fd%x1Rt77-#+)wLD?%sCN}&hy-Rt12@;pU*LdyAzR!wARcl z1jO*(n@cH(C?d=p8;A%I=bW`xRTU9L3={w$5vjG#IaO6v%`6z_oI^AK?7agB00EksNyjWJ3oviAmnU=@4KET!b`!72oNKA%X5Z?{{mHO9i(y?4&} z=jX@Fn0fE*?m6eRmWa?=D^`bYRShd2k4H-B^?HSey>~=pW*(T;FEf{PZN=h<3Q)o6#AQ8@5_w9%`e-dYQ)5ok(D+&##sYGA|z yB1TQz{o7o3muNwx6Cs3vud`v)7~?pOl+qtSGFhUUDvWyo0000