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$0sOJnM}H)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}YJsEZRiaz%Uey!TARfTz-F~x*d=N!kKZmYtt zBhvN6*!uA{@!%PWHJNIJch^B{WawH%~s4$=26@Mxt;ntXOJ4PT7M5>;UWd;Qeix9`qwwQ&cd){&(@e2`5?epr0|{>^5ZM6x_`+r68QiG4g} zRIC(3<}J2#E%5;NuMHORBz;Seeo;HZMjpLZxa8q`#YWO(fb$U!zrl{a7#bdVU|s%O zJZLuHT?}=;*A9RZ@L+mVgwqlEYd~ko2#PN1N|S3&<3sxryF7nj{$^fi* zbPZSB3qWF7Nq`AEG%$sOsrPd4V=$s4%y))x!+6v|y8-^@Gif1S86hr_;nCUQ^Kv)k zByBz|49w+4rqu={MQq=~<8LeFmS8i=j|UgkaIy;`@+!9(?~ndwM|?~^Pk1OQ_vlWY z=OI9_U95MwK$tQuY1bZ(z$G?4t}J1bDA`dK#TR6oRK@Kn-jx!b)l?rNtV)c@+LK2) zL2rn!&f2%PBOz}0f%K*n@qvS$k;35IJV94lDyjB#QE}0MW8a-PIjto>rsarX>5<|? z$CGLfHYZnYZa$8d94;1?3Cl~*##UcEQN2u5Av#uBnkN>0Un%J?J670~T2)gitvKCO z)g(Swe@O9mbk+rt9baWA(G}g7Xx3zV} zpTAb$e&tfTEUZyhUe{CJas8^er@!S^OY@ytX?NF^o}u?0mv7#Z^>;tJ`ta(V-rEC1 z=z9-(Z#=!y*Z-jVS@)x-{dWh(2cA709|uD(o=;4G(Xkg}uU@`-`_r5EA0{Ry(qEhU z%Qc{|$%W5np#jlLz?a=G00hRI65_{jtR`5UGh z4 z*O{-{V?fP7%|Ok3-M$=Z25JUs25JT#o8`CzG5|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} })