Research (#2)

This commit is contained in:
2024-11-19 00:39:53 +09:00
committed by Cooldude2606
parent d26aaec648
commit 4118acf91a

View File

@@ -20,7 +20,14 @@ end)
--- @param silent boolean True when no message should be printed
local function res_queue(force, silent)
local res_q = force.research_queue
local res = force.technologies["mining-productivity-4"]
local res
if script.active_mods["space-age"] then
res = force.technologies["mining-productivity-3"]
else
res = force.technologies["mining-productivity-4"]
end
if #res_q < config.queue_amount then
for i = 1, config.queue_amount - #res_q do