Add a LuaForce.research_queue function
Posted: Wed Apr 03, 2019 6:04 pm
The new LuaForce.research_queue would expose read/write access to the forces current research queue as a numbered dictionary of technologies. With number 1 being the current research and counting up the queue.
When read it would return LuaTechnology and when writing it would accept TechnologySpecification. Same types as previous_research and current_research.
This would allow mods to identify (read) future scheduled researches in the queue and to manipulate them if desired.
When read it would return LuaTechnology and when writing it would accept TechnologySpecification. Same types as previous_research and current_research.
This would allow mods to identify (read) future scheduled researches in the queue and to manipulate them if desired.