Linked Chest And Linked Pipe


关联箱+关联管+背包共享区+物品堆叠+装卸机堆叠【link chest + link pipes + package share area + item stack + loader stack】 Update to 2.0, Compatible with Space Age

Content
20 days ago
1.1 - 2.0
6.04K
Logistics Fluids Circuit network Storage Cheats

i Make Other Changes Part Of The Other Attributes?

2 months ago

One minor change I noticed in the code that could be made as part of the optional attribute changes (or it's own setting), would be to change the wire reach and service range adjustment, as well as the pipeline extent. As someone who plays with quality and uses blueprints between playthroughs, it's a little annoying having to work around it/have it rendered pointless.

I've personally changed it to a startup setting (so character and building changes are separated), by making these adjustments
(E.g. In settings
{
type = "bool-setting",
name = "wire_and_pipeline_changes",
setting_type = "startup",
default_value = false,
order = "a-e"
},

And adjusting the code for the extra wire reach and pipeline extent to

-- 修改电信杆的供电范围, 泵运力, 管道中断距离
if settings.startup['wire_and_pipeline_changes'].value then
local samll = data.raw["electric-pole"]["small-electric-pole"]
local medium = data.raw["electric-pole"]["medium-electric-pole"]
local pump = data.raw.pump.pump
samll.supply_area_distance = math.max(samll.supply_area_distance, math.floor(samll.maximum_wire_distance) / 2.0)
medium.supply_area_distance = math.max(medium.supply_area_distance, medium.maximum_wire_distance / 2.0)
if not feature_flags["quality"] then
pump.pumping_speed = math.max(pump.pumping_speed, 60)
end
data.raw["utility-constants"]["default"].default_pipeline_extent = 2 * data.raw["utility-constants"]["default"].default_pipeline_extent
end

Along with a locale for en, being
wire_and_pipeline_changes=Double Wire Properties And Pipeline Buffs

For my personal, 'I'm not a modder so I may have made a mistake, but I made a change' fiddling
I'm not sure if that part that mentions quality is important, if so, it may be able to be moved for this change? Since the wire and pipeline changes shouldn't technically have anything to do with it)

Similarly, I've noticed the technology for the linked chest still applies an inventory size change/gives character logistics even when the attribute setting is disabled. Is this intentional, or a bug?

Thank you.

2 months ago

if not feature_flags["quality"] then
pump.pumping_speed = math.max(pump.pumping_speed, 60)
end
The above code, I just don't want to modify the pipeline properties. When the quality module is enabled, high-quality pump can have higher flow speed。
Similarly, I've noticed the technology for the linked chest still applies an inventory size change/gives character logistics even when the attribute setting is disabled。This is intentional。I want have a big inventory size, and the logistics recycle area bigger, Can improve the speed of recycling items, this is very good in some scenarios.

New response