More Infinite Research


Productivity for intermediates, science packs, final products, spoilage rate, and modded recipes. Bonuses for player stats, robot specs, weapon speed, stack size, cargo landing pads, and more... Override game limits on productivity, efficiency, speed, quality, and recycling. Settings to disable, limit, and rebalance each added research. Designed for vanilla, Space Age, and overhaul mods.

Tweaks
5 hours ago
0.13 - 2.1
8.03K
Logistics Trains Combat Character Mining Fluids Logistic network Manufacturing Cheats

b Crash with Angel's Smelting

a month ago

Using this mod and Angel's Smelting leads to a crash.

Angel's Smelting introduces a dependency from 'modules' to the disabled 'angels-silver-smelting-1' tech. More Infinite Research detects that dependency and rejects the downstream science progression, making everything explode.

I worked out an ugly fix fueled by too much coffee - in 'data-final-fixes.lua' I just dropped this to surgically ignore this one point of failure. It's a kitchen-sink fix but it seems to work without breaking anything:

local tech = data.raw.technology["modules"]

if tech and tech.prerequisites then
for i = #tech.prerequisites, 1, -1 do
if tech.prerequisites[i] == "angels-silver-smelting-1" then
table.remove(tech.prerequisites, i)
log("[Test Fix] Removed disabled Angel's Silver Smelting 1 prerequisite from modules")
end
end
end

a month ago

Cheers, your diagnosis was right. v4.5.2 includes a guarded version of that repair: it removes that one prerequisite only when Angel’s Smelting is installed and the silver technology actually exists and is disabled, thanks again for the help

a month ago

Glad to help. I did say my fix was very kitchen-sink, I just wanted to make my game stop crashing - Happy you could work it into something actually useful :)

15 days ago
(updated 14 days ago)

MIR 5.0 is in beta on GitHub.

Hey again, I've rewritten MIR and it should be faster and more stable, but I want to test it to make sure I haven't broken anything.

(It's not on the mod portal yet, if anyone's game to test, just download and replace the zip in your mods folder.)

Cheers

New response