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.
This commit is contained in:
Sirrobzeroone 2021-06-10 19:19:07 +10:00
parent f9d41a1425
commit bfb33c5805
2 changed files with 2 additions and 0 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 13 KiB

View File

@ -3,6 +3,7 @@
ele.register_conduit("elepower_dynamics:conduit", { ele.register_conduit("elepower_dynamics:conduit", {
description = "Power Conduit", description = "Power Conduit",
tiles = {"elepower_conduit.png"}, tiles = {"elepower_conduit.png"},
use_texture_alpha = "clip",
groups = {oddly_breakable_by_hand = 1, cracky = 1} 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", { fluid_lib.register_transfer_node("elepower_dynamics:opaque_duct", {
description = "Opaque Fluid Duct", description = "Opaque Fluid Duct",
tiles = {"elepower_opaque_duct.png"}, tiles = {"elepower_opaque_duct.png"},
use_texture_alpha = "clip",
duct_density = 1/5, duct_density = 1/5,
groups = {oddly_breakable_by_hand = 1, cracky = 1} groups = {oddly_breakable_by_hand = 1, cracky = 1}
}) })