+---------------------------------------------------------------------------------------------------
+Version: 2.0.5
+Date: 2024-10-26
+
+ Changed:
+ - Manages the last element of the research queue now. Should be more intuitive now.
+
---------------------------------------------------------------------------------------------------
Version: 2.0.4
Date: 2024-10-23
-- keep queue, just put next_research at the start.
if next_research then
local rq = {}
- table.insert(rq, next_research)
- for i=1,6 do
+ -- manage last element of research queue
+ for i=1,7 do
if force.research_queue[i] == nil then break end
- if i == 1 then
+ if i == (#force.research_queue) then
if not (force.current_research and config.allow_switching) then
table.insert(rq, force.research_queue[i].name)
end
table.insert(rq, force.research_queue[i].name)
end
end
+ table.insert(rq, next_research)
force.research_queue = rq
end
{
"name": "some-autoresearch",
- "version": "2.0.4",
+ "version": "2.0.5",
"title": "Auto Research (fixed + re-published)",
"author": "Someone (originally canidae)",
"homepage": "https://git.somenet.org/factorio/some-autoresearch.git",