Lenny Industries


Lenny Industries a Factorio mod that adds some stuff.

3 years ago
0.15 - 1.1
80

g conditional requires might be troublesome

3 years ago

As far as I know, having conditional file requiers is not multiplayer safe.

3 years ago

I assume you mean the dependencies? I put them in mostly for easy use for people as those mods are the mods I have build my mod around, but if there are any issues with it I'll remove them.

3 years ago

no, having a require(file) that doesn't always happens.
AFAIK if the loaded files are different from you and the multiplayer server, and the mod versions is the same, it will tell you you have a version mismatch.

3 years ago

Ok, I'll have a look if I can remove them, but I use them to load certain parts of the mod based on settings and other loaded mods, so removing them would take a bit of time.

3 years ago

move the conditions onto the interior of the files.
So that the files still get loaded, but just don't do anything if the conditions aren't met.

3 years ago

That's what I was thinking, didn't try it yet, but I'll do that, Thanks :)

New response