🌐Igrys

by egorexW

Igrys – A new planet with magic-powered science, advanced glassworking, and alternative production chains.

Content
a day ago
2.0
28.8K
Factorio: Space Age Icon Space Age Mod
Planets Environment Mining Fluids Manufacturing

g Conflict with Castra Enemy Research

a month ago
(updated a month ago)

Hi egorexW

We noticed a bug with Castra Enemy research and the recently added researches, the Infuse researches.
Castra does research the same tech tree as the players, meaning they also research the Igrys researches. But Castra is stuck in an infinite loop because of the the way the Infuses switches from A to B and back.

Since the Castra mod author is MIA I ask here for some compatibility.

In the code of Castra I noticed that Castra ignores hidden and trigger Technologies, so I have an Idea for your mod that could fix Castra.
Can you make the Infuse techs an Option in the Mod Settings? If a player disables that option they are probably hidden as a result, right? And Castra will stop its infinite loop.

This is my best guess for an hopefully easy to make fix.

a month ago

I've added an option to make them hidden

a month ago

Thanks for the change.

I cant test it myself yet, since Castra in my Savegame is not yet at that point. But our Planetary Pioneer friends report that it doesn't work the way I hoped. I'll take another look at it later.

a month ago
(updated a month ago)

Shame, let me know what you come up with

a month ago

Hey, been digging into this try and get a solution and my first instinct was to modify Castra to ignore those researches which worked but would require a custom version of that mod.
Then looked at it from the view of modifying Igrys instead and that can be done by not doing the mutex reset if it's not a player faction.
You can do this by inserting a single line in ExlusiveTechnologies.lua as the second line:
if #details.research.force.players == 0 then return end

This will mean that any non-player force that unlocks one of the researches won't reset the other one

a month ago

Great, will do

a month ago

Is live now

a month ago

Awesome, thanks. We'll update to that for Monday

This thread has been locked.