From a15b69802e0a9ec08e5815222c7722897daeee8d Mon Sep 17 00:00:00 2001 From: Vanessa Ezekowitz Date: Mon, 2 Dec 2013 19:29:35 -0500 Subject: [PATCH] make the tube connection images for furnaces/chests into overlays also don't redefine furnace top - tubes don't connect there anyways --- compat.lua | 46 +++++++++--------- textures/pipeworks_chest_side.png | Bin 914 -> 0 bytes textures/pipeworks_chest_tb.png | Bin 587 -> 0 bytes textures/pipeworks_furnace_bottom.png | Bin 648 -> 0 bytes textures/pipeworks_furnace_side.png | Bin 657 -> 0 bytes textures/pipeworks_furnace_top.png | Bin 648 -> 0 bytes textures/pipeworks_tube_connection_stony.png | Bin 0 -> 189 bytes textures/pipeworks_tube_connection_wooden.png | Bin 0 -> 180 bytes 8 files changed, 22 insertions(+), 24 deletions(-) delete mode 100644 textures/pipeworks_chest_side.png delete mode 100644 textures/pipeworks_chest_tb.png delete mode 100644 textures/pipeworks_furnace_bottom.png delete mode 100644 textures/pipeworks_furnace_side.png delete mode 100644 textures/pipeworks_furnace_top.png create mode 100644 textures/pipeworks_tube_connection_stony.png create mode 100644 textures/pipeworks_tube_connection_wooden.png diff --git a/compat.lua b/compat.lua index 05558f8..074484e 100644 --- a/compat.lua +++ b/compat.lua @@ -11,12 +11,11 @@ function pipeworks:clone_node(name) end furnace=pipeworks:clone_node("default:furnace") - furnace.tiles[1] = "pipeworks_furnace_top.png" - furnace.tiles[2] = "pipeworks_furnace_bottom.png" - furnace.tiles[3] = "pipeworks_furnace_side.png" - furnace.tiles[4] = "pipeworks_furnace_side.png" - furnace.tiles[5] = "pipeworks_furnace_side.png" - -- note we don't redefine entry #6 - the front. + furnace.tiles[2] = "default_furnace_bottom.png^pipeworks_tube_connection_stony.png" + furnace.tiles[3] = "default_furnace_side.png^pipeworks_tube_connection_stony.png" + furnace.tiles[4] = "default_furnace_side.png^pipeworks_tube_connection_stony.png" + furnace.tiles[5] = "default_furnace_side.png^pipeworks_tube_connection_stony.png" + -- note we don't redefine entries 1 and 6 (top and front) furnace.groups.tubedevice=1 furnace.groups.tubedevice_receiver=1 furnace.tube={insert_object = function(pos,node,stack,direction) @@ -51,12 +50,11 @@ furnace=pipeworks:clone_node("default:furnace") minetest.register_node(":default:furnace",furnace) furnace=pipeworks:clone_node("default:furnace_active") - furnace.tiles[1] = "pipeworks_furnace_top.png" - furnace.tiles[2] = "pipeworks_furnace_bottom.png" - furnace.tiles[3] = "pipeworks_furnace_side.png" - furnace.tiles[4] = "pipeworks_furnace_side.png" - furnace.tiles[5] = "pipeworks_furnace_side.png" - -- note we don't redefine entry #6 - the front. + furnace.tiles[2] = "default_furnace_bottom.png^pipeworks_tube_connection_stony.png" + furnace.tiles[3] = "default_furnace_side.png^pipeworks_tube_connection_stony.png" + furnace.tiles[4] = "default_furnace_side.png^pipeworks_tube_connection_stony.png" + furnace.tiles[5] = "default_furnace_side.png^pipeworks_tube_connection_stony.png" + -- note we don't redefine entries 1 and 6 (top and front) furnace.groups.tubedevice=1 furnace.groups.tubedevice_receiver=1 furnace.tube={insert_object=function(pos,node,stack,direction) @@ -91,12 +89,12 @@ furnace=pipeworks:clone_node("default:furnace_active") chest=pipeworks:clone_node("default:chest") - chest.tiles[1] = "pipeworks_chest_tb.png" - chest.tiles[2] = "pipeworks_chest_tb.png" - chest.tiles[3] = "pipeworks_chest_side.png" - chest.tiles[4] = "pipeworks_chest_side.png" - chest.tiles[5] = "pipeworks_chest_side.png" - -- note we don't redefine entry #6 - the front. + chest.tiles[1] = "default_chest_top.png^pipeworks_tube_connection_wooden.png" + chest.tiles[2] = "default_chest_top.png^pipeworks_tube_connection_wooden.png" + chest.tiles[3] = "default_chest_side.png^pipeworks_tube_connection_wooden.png" + chest.tiles[4] = "default_chest_side.png^pipeworks_tube_connection_wooden.png" + chest.tiles[5] = "default_chest_side.png^pipeworks_tube_connection_wooden.png" + -- note we don't redefine entry 6 (front). chest.groups.tubedevice=1 chest.groups.tubedevice_receiver=1 chest.tube={insert_object = function(pos,node,stack,direction) @@ -122,12 +120,12 @@ minetest.register_node(":default:chest",chest) chest_locked=pipeworks:clone_node("default:chest_locked") - chest_locked.tiles[1] = "pipeworks_chest_tb.png" - chest_locked.tiles[2] = "pipeworks_chest_tb.png" - chest_locked.tiles[3] = "pipeworks_chest_side.png" - chest_locked.tiles[4] = "pipeworks_chest_side.png" - chest_locked.tiles[5] = "pipeworks_chest_side.png" - -- note we don't redefine entry #6 - the front. + chest_locked.tiles[1] = "default_chest_top.png^pipeworks_tube_connection_wooden.png" + chest_locked.tiles[2] = "default_chest_top.png^pipeworks_tube_connection_wooden.png" + chest_locked.tiles[3] = "default_chest_side.png^pipeworks_tube_connection_wooden.png" + chest_locked.tiles[4] = "default_chest_side.png^pipeworks_tube_connection_wooden.png" + chest_locked.tiles[5] = "default_chest_side.png^pipeworks_tube_connection_wooden.png" + -- note we don't redefine entry 6 (front). chest_locked.groups.tubedevice=1 chest_locked.groups.tubedevice_receiver=1 chest_locked.tube={insert_object = function(pos,node,stack,direction) diff --git a/textures/pipeworks_chest_side.png b/textures/pipeworks_chest_side.png deleted file mode 100644 index 498eb3e56ec6e6bb9a7eff6d13a6ca9e97cebc7a..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 914 zcmV;D18w|?P)p1(w}565AoivJQ@h~=f3UPs_xpW&7xjD z8wldYj?SW3d_WfM*Q3s&S?=4a;J|prluGT`q~yw#_UFI%>&nBGQ_rPf)UR#w;IrDg zfHxNhTq+IX#*c|e8uR0~=+B(z&YD0R2~j2u=FOPGl2AY!3GCOXG!zB#-?4{C8rZgb zHWvru$CA#XUOX2DKN|>TG7;|Ds%$k9M;{80P8`ghRKbr&hDRCb&zae@YvjRq=+K(y z&6v}xVrn%KDh~w9pIi0kz4z_U?ANC7+^%pq6I3V-<;s;i76sI-XWYJwRw@oS6b0P8 zgyhMS)vIIc)uL@S6MH}waXA!79}4Kvo=+nS?AE4{PaQ)Y3E{+yMji^6R3GTjp6St@ z;lz#Gx`E`$l{pv(@ZYjO8woTM1@-92enJ<)k4bbp6vLHFZZ{KVGZE*`oB8n7=FOQw z90^$~4scaU_wCSyMi}A6kK@Ra_Ug-)QXS*Tmsu+heL)w8NEyJ4MEUX8Z8sC-!F+&2 z7=uL^P$mtJYg27iN^dw5RVfZ|I24s_REcL%mv2>uWl@xEQ<7{`m2OmxX;X}7QbZmJ zIvEIyOBz%t4oDyhj7uCw9|~SB5X_xYWHJ$AFc3l<305f%WHAw2EDvWh5=0#dXfzT# z83i?u0sRt^BcfkBxqC%^w%s}ro9Eg&W=t9jwU9J}pR z$@WeVk*(D-ujaVd2$)1i$Pk)H`o|nEDy9udf+oF*X20IvKfgaHqk60!y7i`KmZgnWb4R>@ oQ&dqZUA?%LE_W6Bc)EH20g1eFhV69(5&!@I07*qoM6N<$g5XS$r~m)} diff --git a/textures/pipeworks_chest_tb.png b/textures/pipeworks_chest_tb.png deleted file mode 100644 index ac1cb2bfe882a6afa650ff8bcd9d0bec56e7de6a..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 587 zcmV-R0<`^!P)UW;rr%D(Qq3&3YEguF9EYp(rk`&gJ}ASohoSi8=-aKnJ3R>+VyZma?^GZH6^%M}Et z;!V(~VuBEx&}?kpgtb8d{P_G~G1iM!i6-;bDhYr@7qt@ZMa#GbP%3lvsW@4e-7(l<7`DS+KF1ZM56TzsE2q6Xyio`~&{4s+511+`GLJj^68%ui&Ekwl_%q8J4 zcez}4Z}xU}cINvmqL9}=cs%j)`O`el6A>yUgs7YYfRsonsZaw`2yIHyS_=R~ggbk~ zHb!H#l&TGZh}yQ@SYP?{`Fpq91!gp+@g5NYKpUg3uPg&V2(41eIp@94^V~?Te00tc zfcHMe*v2S?NGVBXPALI^a}E)Ol%u1g?p!yflv~?|u+W=h07N9B!j`O{Y_1 zOp4KaKXney;GC;wvy_rj3IJk^SXGsjl8BgDN~uww6`0vMcX|Z?gb=8dA|fF~jIplk z+Sg}=rNs;K_8Jo_C6&TX$6{HQDWw>rQVJ1ouC2V=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g?p!yflv~?|u+W=h07N9B!j`O{Y_1 zOp4KaKXney;GC;wvy_rj3IJk^SXGsjl8BgDN~uww6`0vMcX|Z?gb=8dA|fF~jIplk z+Sg}=rNs;K_8Jo_C6&TX$6{HQDWw>rQVJ1ouC2V=dJD{nxT@S}GTYw$V~h@=wbp8_ z@$RivW3&)bNMW=d?Dw~S4|ezVwK1qvp64Ni5P~trdtcWz_6K7CFj+=KS1+B#NKE1{f2XhM7_8*tRJq0Kk-z z5Q2#2=jKtNn-=}SQB2ga9p89n4k2i*0pK(bXLX%vQz7ph)yOGH0Cc9>vO{4oT5Ph0000gTe~DWM4f#%4+X literal 0 HcmV?d00001 diff --git a/textures/pipeworks_tube_connection_wooden.png b/textures/pipeworks_tube_connection_wooden.png new file mode 100644 index 0000000000000000000000000000000000000000..c20cd7d553a59319f78f010930f8902d11e92b0f GIT binary patch literal 180 zcmeAS@N?(olHy`uVBq!ia0vp^0wB!61|;P_|4#%`)t)YnAr_~T6C_wgnB8)kE^|Bm zH#RgdsQLMGdgIiY6CWO*|DWg0nI4{>!Pk>kq#sN>@W1}QVKa-aQNJr55M)957)Q- eU+mcz#=xMcBj+0yzfl3`3