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:
parent
f9d41a1425
commit
bfb33c5805
BIN
elepower_documentation/grid_background.png
Normal file
BIN
elepower_documentation/grid_background.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 13 KiB |
@ -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}
|
||||||
})
|
})
|
||||||
|
Loading…
Reference in New Issue
Block a user