Research queue


Allows players to queue research, view research by required science packs, and automatically queue prerequisites for desired tech. Special thanks to Chrisgbk for 0.16 update.

Utilities
5 years ago
0.13 - 0.16
78

b not handling research with multiple icons

5 years ago

Some research (oil scanning) in the "ribbon maze" mod uses multiple icons overlayed. These technologies crash the text mode of the research queue. I think the problem is in the gui-style creation of Research queue, where it does this:

monolith_image =
{
filename = tech.icon,
priority = "extra-high-no-scale",
width = get_size(tech),
height = get_size(tech),
x = 0,
y = 0
}

tech.icon will be nil; the technology will have tech.icons instead. I think this causes the gui style not to be created.

New response