Science pack dependencies

by Nidan

If a technology doesn't depend (either directly or indirectly) on the science packs it needs, these missing dependecies are added.

Utilities
4 days ago
0.15 - 2.1
1.67K

b [Fixed] 5Dim compatibility?

6 days ago

Hi, thanks for the really cool mod! I'm trying to use it with 5Dim's, and it's throwing an error at me. I think that it can't parse the tech tree properly? Might a similar issue to the planet mod issue most recently posted here in Discussion, on your mod portal.
Bother, I can't paste the error here. Anyway, it's this:

Failed to load mods: science-pack-dependencies/make_dependencies.lua:174: attempt to concatenate field '
Errors in technology tree!
This most likely a mod loading order problem
Please report the mods you used at https://mods.factorio.com/mod/science-pack-dependencies/discussion
' (a nil value)
stack traceback:
science-pack-dependencies/make_dependencies.lua:174: in function 'reporterrors'
science-pack-dependencies/make_dependencies.lua:740: in function 'make_dependencies'
science-pack-dependencies/data-final-fixes.lua:3: in main chunk
Mods to be disabled:
insert floating dot here science-pack-dependencies (0.3.3) insert checkmark-able box here Reset mod settings

Here's the mods I'm using (it's just the 5Dim modpack on top of Space Age):
Elevated Rails
Quality
Recycler
Space Age
5Dim's mod - Automation
5Dim's mod - Battlefield
5Dim's mod - Core
5Dim's mod - Enemies
5Dim's mod - Energy
5Dim's mod - Equipment
5Dim's mod - Infinite Research
5Dim's mod - Locales
5Dim's mod - Logistic
5Dim's mod - Mining
5Dim's mod - Modpack
5Dim's mod - Modules
5Dim's mod - New Automated Fuel & Ammo
5Dim's mod - Nuclear
5Dim's mod - Quality
5Dim's mod - Resources
5Dim's mod - Space Age
5Dim's mod - Storage
5Dim's mod - Trains
5Dim's mod - Transport
5Dim's mod - Vehicles
5Dim's mod - Yeters
Bob's Adjustable Inserters mod
Science pack dependencies

I do have other mods 'installed', however none of them are activated.

6 days ago

Also, not necessarily asking for a patch here. If it's too annoying, that's ok. If can understand the issue better, I might be able to slap fix together myself. I've only dabbled in factorio mod lua coding so maybe not. xD

4 days ago

As the error message already says, running into apparently missing technologies usually means that other mods aren't done modifying the tech tree by the time this mod does its stuff. Thus, the fix is rather trivial: Add another dependency to ensure this mod loads after the other mods are done.

Fixed in 0.3.4 by loading after 5dim_core.

4 days ago

Ok, sweet, thank you! I didn't realize that was all that it was asking for. 😅

New response