uPgrade research doesn't exist in Agriculture or Chemical divisions (assuming any which don't create products). Potential improvement could be checking all available research for the current division, but there doesn't appear to be a function like division.getAvailableResearch() or corp.getAvailableResearch(division) so I have made this change just to make the script work for me for divisions which don't make products
uPgrade research doesn't exist in Agriculture or Chemical divisions (assuming any which don't create products). Potential improvement could be checking all available research for the current division, but there doesn't appear to be a function like division.getAvailableResearch() or corp.getAvailableResearch(division) so I have made this change just to make the script work for me for divisions which don't make products