bfb33c5805
Change for 5.4 mesh/nodebox nodes now need a valid "use_texture_alpha" setting or logs fill up with warnings.
18 lines
480 B
Lua
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}
|
|
})
|