elepower/elepower_dynamics/conduits.lua
Sirrobzeroone bfb33c5805 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.
2021-06-10 19:19:07 +10:00

18 lines
480 B
Lua

-- Electric power
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}
})
-- Fluid
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}
})