Advanced Fluid Handling (simple)


This makes Advanced Fluid Handling a little more simple. Intermediates are replaced by the sum of the plates that are needed to make the pipe.

Tweaks
2 months ago
1.1 - 2.0
754

b Crash when not using Space Age

6 days ago
(updated 6 days ago)

I've tried adding it to a new run of Space Exploration with the new 0.7 version and it crashes on launch:

Failed to load mods: underground-pipe-pack-simple/data-updates.lua:188: attempt to index local 'tech' (a nil value)
stack traceback:
underground-pipe-pack-simple/data-updates.lua:188: in function 'add_tech'
underground-pipe-pack-simple/data-updates.lua:262: in main chunk

Mods to be disabled:
• underground-pipe-pack-simple (2.0.2)

Line 188 is this:

local tech = table.deepcopy(data.raw.technology['foundry'])

Adding a guard on line 262 to only add this tech when space-age is enabled should work to fix it:

if feature_flags["space_travel"] then
    add_tech()
end

But I'm seeing some metallurgy related stuff later on, so it's possible more modifications are required to make it fully compatible with SA-less Factorio.

I get this too, it's prevalent when using Space Exploration. Can we please get a fix?

New response