elepower/elepower_dynamics/conduits.lua
Sirrobzeroone b9de6b6ef6 Power Network Fixes
Fix power distribution so its spread evenly across all machines
Fix glitch when removing machines from network other machines can stop working
2021-06-12 13:47:52 +10:00

19 lines
510 B
Lua

-- Electric power
ele.register_conduit("elepower_dynamics:conduit", {
description = "Power Conduit",
tiles = {"elepower_conduit.png"},
use_texture_alpha = "clip",
ele_conductor_density = 1/8,
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}
})