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.