🌐Igrys

by egorexW

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

Content
16 days ago
2.0
27.7K
Factorio: Space Age Icon Space Age Mod
Planets Environment Mining Fluids Manufacturing

g Conflict with Castra Enemy Research

25 days ago
(updated 18 days 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.

18 days ago

I've added an option to make them hidden

17 days 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.

17 days ago
(updated 17 days ago)

Shame, let me know what you come up with

17 days 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

16 days ago

Great, will do

16 days ago

Is live now

16 days ago

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

This thread has been locked.