This commit is contained in:
2025-04-16 17:37:41 +09:00
parent cd362e233f
commit 0020b79c1f

View File

@@ -19,15 +19,11 @@ Storage.register(research, function(tbl)
research = tbl
end)
if script.active_mods["PHI-CL"] and settings.startup["PHI-VP"] and settings.startup["PHI-VP-MAIN"] then
config.mod_set = "base"
end
--- @param force LuaForce
--- @param silent boolean True when no message should be printed
function module.res_queue(force, silent)
local res_q = force.research_queue
local res = force.technologies[config.bonus_inventory.res[config.mod_set].name]
local res = force.technologies[config.bonus_inventory.res[config.mod_set].name or "mining-productivity-4"]
if #res_q < config.queue_amount then
for i = #res_q, config.queue_amount - 1 do