Auto Research (Redistributed)


Automates research. Toggle GUI with Shift+T (customizable). (Temporarily redistributed by Malderan for 0.18 support)

Utilities
4 years ago
0.18
10

g Still some issue

4 years ago
(updated 4 years ago)

https://cdn.discordapp.com/attachments/690225811147718771/695260819822346360/unknown.png
It happens when i enable this mod. Still not sure if this mod are the issue. Still that would be odd as the other mods works without this mod tho. Posting/Posted This on the:
https://mods.factorio.com/mod/Darkstar_utilities_Low_Spec-0_17-Port/discussion/5e85ea15009aa1000d0dd906

The other mod is the Icon. This is causing it.

4 years ago

Hello are u still fixing this mod ?

4 years ago

This was my fix to the problem

  • unzip the mod
  • changed "data-final-fixes.lua" to the following
-- dynamically add sprites for tools (to display research ingredients)
for _, tool in pairs(data.raw.tool) do
    if tool.icon or tool.icons then
        local icon_size = tool.icon_size or (tool.icons[1] and tool.icons[1].icon_size) or 64
        data:extend(
            {
                {
                    type = "sprite",
                    name = "auto_research_tool_" .. tool.name,
                    filename = tool.icon or (tool.icons[1] and tool.icons[1].icon) or nil,
                    priority = "extra-high-no-scale",
                    width = icon_size,
                    height = icon_size,
                    scale = 0.25
                }
            }
        )
    end
end
4 years ago

Am not wanting to mess in codes that's not mine. Also i use an other mod in the mean time. So not want to install total mess of unzipping programs. Or try finding out how they work. Had enough once trying. with 7 Zip & some other that i don't remember the name on. Anyway thanks

4 years ago

New response