elepower/elepower_dynamics/conduits.lua
Sirrobzeroone 2627e0c763 Network fixes - Powercells/Batteries
- Powercells/Batteries now distribute power when Powergen for network is 0
- Powercells/Batteries will only distribute power to "Active" machines lowering network drain
- All machines/Powercells-Batteries act as power pass through ie no longer a network end point - note this only happened on reload of game they worked like this when laid out this way just game save/reload caused machines/Powercells to act as end point.
- fixed Issue max_stack to stack_max, https://gitlab.icynet.eu/evert/elepower/-/issues/5
2021-06-14 08:29:25 +10:00

26 lines
774 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}
})
--[[
ele.register_conduit("elepower_dynamics:conduit_wall", {
description = "Power Conduit Wall Pass Through",
tiles = {"elepower_machine_side.png^elepower_power_port.png"},
use_texture_alpha = "clip",
ele_conductor_density = 4/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}
})