xor's planet tweaks and compat

by xor50

Tweaks and compatibility for a few planet mods. Check mod description for list of changes.

Tweaks
a month ago
2.0 - 2.1
199
Planets

b Galvanization duplicate registration when paired with Crucible

a month ago
(updated a month ago)

I was looking to try out the Crucible https://mods.factorio.com/mod/planet-crucible planet mod for my playthrough, and when loading it up, this mod seems to be the cause of the following error during prototype stage:
Failed to load mods: Error while loading technology prototype "cryolab" (technology): Research ingredient "galvanization-science-pack" is registered twice in the technology
Modifications: ○🌐Muluna, Moon of Nauvis › Planet Crucible › Science Spread › xor's planet tweaks and compat

Removing this mod 'fixed' the problem. Anything I should know, do, or get (for example, in terms of logs)? Or should I take the L and either run Crucible or this mod?

Edit: Crucible may not be the problem, as removing it still yields the following error:
Failed to load mods: Error while loading technology prototype "cryolab" (technology): Research ingredient "galvanization-science-pack" is registered twice in the technology
Modifications: ○🌐Muluna, Moon of Nauvis › Science Spread › xor's planet tweaks and compat

a month ago

Science Spread is a dependency of Outer Rim which I suppose could be a compatibility issue. Should have looked a little further before posting, my bad.

a month ago

Ah, probably because of the "Science Spread" mod whatever that is. Can you give me a link to it? I couldn't find it when I just searched for it.

But in any case, maybe I can fix with with an additional check, I will look into it.

a month ago
(updated a month ago)

Nevermind, with your additional message I was able to find that mod.

a month ago

If there's anything I can do to help, lmk. I'll keep my eyes on here every once in a while. And as I said, if I need to cut my losses by removing a mod that might just be it.

a month ago

iirc Science Spread's goal is to distribute modded science packs to techs that are, in one way or another, dependent on techs introduced by those mods.
For example, adding packs to Research Productivity. I believe it too throws those packs into labs, so those techs are researchable. If you also do this, I think that's where the conflict might come from. Especially seeing that both Outer Rim and this mod modify Secretas.

a month ago

hm... I wonder how compatible Outer Rim and my mod are in general. I never used that mod but I think its goal is to also do some (outer) planet compat, so it might conflict in some ways in any case.

But for now I'm trying to fix the Factorio error itself, basically "only add science pack to a tech if not already in it".
I'm trying to get the update out for that within 30 minutes, so if you could just test it then and report back that would be cool.

a month ago

Sounds good, I shall. As for compatibility, once my university exam period is over I'll compare them and if I think they're good together, maybe with some minor adjustments, I'll let you know.

a month ago

Patch yields the following:
Failed to load mods: Error in assignID: technology with name 'worker-robots-storage-5' does not exist. It was removed by xor_planet_tweaks_compat.

At ROOT.technology.flying-robot-frame-productivity.prerequisites[0]

Source: flying-robot-frame-productivity (technology).
- this mod, latest
- beomyo dea-dia fork 0.37.1
- frozetta nuclear winter 1.12.7
- nulla 1.0.2
- science spread 0.9.2
(all to my knowledge latest as of writing)

a month ago

Yeah, I expected to get more errors.

I think for now I need to set Outer Rim to incompatible.
My mod and that one are kinda working in a similar "design space" (except they are focused on the outer planets only) and I don't really care too much about compat right now, considering it originally started as and mostly still is a personal mod for my own playthroughs.

Compat between mods that change other mods generally is kind of a nightmare, so I'm not sure if even if I tried it would work out the way I would like to.
But maybe I could take a look at what exactly they do and see if I can at least integrate some changes into my own mod, if I like and agree with them.

a month ago

As stated, I'd be more than happy to help look into it, esp considering I was looking to get a bit more experience with modding. It's just that I'm also spending time studying right as I write this and as such I cannot look into the source code and see what exactly is going on right now. I am always contactable through Discord (same username) if need be. I'll remove this for now and look later this week, probs wednesday or thursday.

New response