From f574235d1d31e924dc70aadb28676e58e4ba4831 Mon Sep 17 00:00:00 2001 From: Vanessa Ezekowitz Date: Sat, 18 Aug 2012 22:12:29 -0400 Subject: [PATCH] better pipe end textures, made 'cut' ends also display them. --- init.lua | 27 +++++++++++++++++++++++++ textures/pipeworks_pipe_end_empty.png | Bin 0 -> 2144 bytes textures/pipeworks_pipe_end_loaded.png | Bin 0 -> 2185 bytes 3 files changed, 27 insertions(+) create mode 100644 textures/pipeworks_pipe_end_empty.png create mode 100644 textures/pipeworks_pipe_end_loaded.png diff --git a/init.lua b/init.lua index 3f477f9..f941d65 100644 --- a/init.lua +++ b/init.lua @@ -239,6 +239,33 @@ for zp = 0, 1 do jy = yp+ym jz = zp+zm + if (jx+jy+jz) == 1 then + if xm == 1 then + table.remove(outimgs, 3) + table.insert(outimgs, 3, "pipeworks_pipe_end_XXXXX.png") + end + if xp == 1 then + table.remove(outimgs, 4) + table.insert(outimgs, 4, "pipeworks_pipe_end_XXXXX.png") + end + if ym == 1 then + table.remove(outimgs, 1) + table.insert(outimgs, 1, "pipeworks_pipe_end_XXXXX.png") + end + if xp == 1 then + table.remove(outimgs, 2) + table.insert(outimgs, 2, "pipeworks_pipe_end_XXXXX.png") + end + if zm == 1 then + table.remove(outimgs, 5) + table.insert(outimgs, 5, "pipeworks_pipe_end_XXXXX.png") + end + if zp == 1 then + table.remove(outimgs, 6) + table.insert(outimgs, 6, "pipeworks_pipe_end_XXXXX.png") + end + end + if (jx==1 and jy==1 and jz~=1) or (jx==1 and jy~=1 and jz==1) or (jx~= 1 and jy==1 and jz==1) then addbox(outboxes, bendsphere) end diff --git a/textures/pipeworks_pipe_end_empty.png b/textures/pipeworks_pipe_end_empty.png new file mode 100644 index 0000000000000000000000000000000000000000..400a85bdc8cc5abf87f0839c8902716c1c16a8ac GIT binary patch literal 2144 zcmV-m2%q00009a7bBm000XU z000XU0RWnu7ytkO2XskIMF-pn69NkzSc0TD000O7NklhQho8`y3k-HP2=Ra8`BkG|Mo_qFTnsjAw~ zazX!xh^n%xYS6M?u2IzxWVo&xwA_k?wR{jWt4dlC2@--`4hXSF&mzif)~l+hiY79_Gh5QcyqU3uihzlP!UdVVJ_~rwTIgR-zpBD#3r zoC#Bod)AbLmW6ZlDL=IEp|k&3^h5*zQG`W;@FXH3Xr&KXxNj!7lE=k{O3((JG#M~NU->>q`HZSZS=+d?*q^k;IC6A<ji(Vp65i+;>%tDUHVDX|1=KDTS)*&cK)p=+iX-U^LoE zU+L1?p_g$YuIij4<9^ZiSx8W&QAxh;&=08k;NEJFLXJd889WfhjC17s96ydmQ)4*r zz4VbIzKHGUt@bEnBtRe>Q%?3hA|Q~nr?Qai0oul5q|y%U40kGIw1B}JIWzPGfJorc zI~EeJLuKaUd2pY#ucg&m+b-4>0IdB$8cL)=5KmLP>5Dq2SKSr;zyJL6*WZ8N+}se+ z{rmTyK7D%c-o2yHqhD;Bfn3PAf^4Q`uB6IbDGXG1MSp#L{o%uh5JHTRh`xRM_Wk?! zM~@!8c=2KheWZvxveuiL>Oj&gB5W+wcZSM5?dS|M`i~z!zJLEdga81{d~tDM)5|Yk zzFb~jUS3`feUF4_yf|Xa9z6gcAP~gFJjy(!$*1T0wa#!M?%%$B`|H;)^Yq2Vg{_-C zpFe+o`0(LU}5dpFgwv%t5>0Y0KnDN)srVr&V-)G)Dj|G zUtiawlr&Ue-OV{mwf57ePw(EnyScf!bLYL!*5aNr{E@~yANq1nY+6d5 zk3J92T3nc=(H}vNc68jE$4l{o%0oGco0G|-rcq}^-|$$^ z#huW&iTO#VZfEj+ z6M^mlMGMVNLbuNhPwxy}bKJMN000Eh%vkoliJ>?<32o8444Wy16FbA~f;>p1B#_Ck z6fZA;Z@zLSL*L_{PzrMo>}+fcx*iB~j6b5dH&( W8YmxPgyR?h0000Do literal 0 HcmV?d00001 diff --git a/textures/pipeworks_pipe_end_loaded.png b/textures/pipeworks_pipe_end_loaded.png new file mode 100644 index 0000000000000000000000000000000000000000..5624b834747f5014ecc05c4f75e73796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