From bfb33c580563372e2fc90e0ad86bc5aa94060464 Mon Sep 17 00:00:00 2001
From: Sirrobzeroone <44497598+sirrobzeroone@users.noreply.github.com>
Date: Thu, 10 Jun 2021 19:19:07 +1000
Subject: [PATCH] Fix alpha texture warning

Change for  5.4 mesh/nodebox nodes now need a valid "use_texture_alpha" setting or logs fill up with warnings.
---
 elepower_documentation/grid_background.png | Bin 0 -> 13473 bytes
 elepower_dynamics/conduits.lua             |   2 ++
 2 files changed, 2 insertions(+)
 create mode 100644 elepower_documentation/grid_background.png

diff --git a/elepower_documentation/grid_background.png b/elepower_documentation/grid_background.png
new file mode 100644
index 0000000000000000000000000000000000000000..695e618da1089fd98e014f28ee48f0f1fafe8b91
GIT binary patch
literal 13473
zcmeI2dpML?9LEoul$0sO<Pt{X-WX{zsxcUIW87j~QmMvFE``RlmU7P%5oKhFk{W57
zsIW3<jY~>JnM}H<qzi>)yY04GJJjy8|7=^&?tgp!c%S!qf6qDRJ?A;^_dVx)e&2Kt
zH`;6!EfoO3YzEzFH2~9j0L&!JP?AT&MsCOeP)H3SlRX$@vVJ5lf*Z1h1Axi?xcx+W
zi@nZ;K(DY;Z=GTN{(U7Y{O2!tX2P;aPL=uu%bFfbErX@|gtY{f3WPFALo^55S+}BA
zCAm*It*}sVG$Z%tM&Whz&6G#+4fXG8cPP);tK!vhm|-uoFkFzGe!KVNU;@Qb@#RKE
z&-8*=^!a>;p0Vv}YJsEZRia<TBwAyR&BDI9=>z%Uey!TARfTz-F~x*d=N!kKZmYtt
zBhvN6*!uA{@!%PWHJNIJch^B{WawH%<IESDjj3+)^Tc1)ti+lZog;`2XocMqG~)7m
ze57m3Y?BFj`|RhTgStJa2n}>~s4$=26@Mxt;ntXOJ4PT<rDh?#OB{LQeF-n?1FCSu
zCq@W%;^>7M5>;UWd;Qeix9`qwwQ&cd){&(@e2`5?epr0|{>^5ZM6x_`+r68QiG4g}
zRIC(3<}J2#E%5;NuMHORBz;Seeo;HZMjpLZxa8q`#YWO(fb$U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`NPaex_=Y^v(zUq1#qwkB@Zg|8LkxNC(~7C%r_j2ZN4lIE#y=D
z_~eMKTRGu;K<05a@;O2J(INa`eHz2n!#8P;CII??;pE``?VXWZXJ;qkkkcHrqVTUD
zC?SvrB{D?R!(GLvhKKSC3NZDZ9~QAQt=={==E!gD8#AqpY%{Ie@*m^cPy(Gc6g%gU
zj{JG??oTmxP78|7<e}J^jI5|X%gAGye`%nz>5np#jlLz?a=G00hRI65_{jtR`5UGh
z<O<kaZr)Y%$)0B8Cwu<cUQN~cI4pwlmk)i*ayXc;n0q)glWKyW8T<i!`Tr7X25N>4
z*O{-{V?fP7%|Ok3-M$=Z25JUs25JT#o8`CzG5|<tJ^`<P#zqh|P2oVO8K@bk8OWNy
zi0DJ00f7e0&%li)Oap#d))dkiNN4^vomoE$<Q6D3&ZHM$Dwz+@Hu5d|-#QhhGzXKl
zFj)(ewa`ZcO+nDE_0a(b7frZme%=rX;Rb{o5N<%Y0pZ5~6>d;R6s9TME!%Uhnjm-R
N0|v#-slstX^6&TVAHe_s

literal 0
HcmV?d00001

diff --git a/elepower_dynamics/conduits.lua b/elepower_dynamics/conduits.lua
index c911edf..7f0cbfb 100644
--- a/elepower_dynamics/conduits.lua
+++ b/elepower_dynamics/conduits.lua
@@ -3,6 +3,7 @@
 ele.register_conduit("elepower_dynamics:conduit", {
 	description = "Power Conduit",
 	tiles = {"elepower_conduit.png"},
+	use_texture_alpha = "clip",
 	groups = {oddly_breakable_by_hand = 1, cracky = 1}
 })
 
@@ -10,6 +11,7 @@ ele.register_conduit("elepower_dynamics:conduit", {
 fluid_lib.register_transfer_node("elepower_dynamics:opaque_duct", {
 	description = "Opaque Fluid Duct",
 	tiles = {"elepower_opaque_duct.png"},
+	use_texture_alpha = "clip",
 	duct_density = 1/5,
 	groups = {oddly_breakable_by_hand = 1, cracky = 1}
 })