mirror of
https://github.com/sirrobzeroone/elepower.git
synced 2024-12-02 19:43:43 +01:00
2627e0c763
- 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
26 lines
774 B
Lua
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}
|
|
})
|