Realistic reactors integration

This commit is contained in:
PreLeyZero 2022-04-03 21:22:33 +02:00
parent bdfc0cfb14
commit 563cac9fa4
13 changed files with 469 additions and 4 deletions

View file

@ -19,4 +19,14 @@ end
--overhaul K2
if (settings.startup['overhaul_mode'].value == true and mods["Krastorio2"]) then
require('scripts/krastorio2/overhaul')
end
--overhaul with realistic reactors
if mods["RealisticReactors"] then
for i,v in ipairs(data.raw.technology["nuclear-power"].prerequisites) do
if v == "effectivity-module-2" then data.raw.technology["nuclear-power"].prerequisites[i] = nil end
end
if (settings.startup['overhaul_mode'].value == true and settings.startup['overhaul_realistic_reactors'].value == true) then
require('scripts/realisticreactors/overhaul')
end
end