I had used to use a similar mod in 1.1 so grabbed this, of course found the same problem. If anyone wants an alternative, try https://mods.factorio.com/mod/Kruise_Kontrol_Updated
Also, I took a quick look at the files, pretty easy to fix if anyone wants to fix their own copy of the mod. It's trying to reference graphics for the shortcut bar that don't exist in the base game, not sure why this ever worked.
- Unzip the mod file
- Edit data.lua with the contents below
- Save and re-zip then replace the file in your mods directory
replace the data.lua file with:
data:extend(
{
{
type = "custom-input",
name = "toggle-player-auto-build",
key_sequence = "SHIFT + C",
consuming = "game-only"
},
{
type = "shortcut",
name = "toggle-player-auto-build",
order = "c[toggles]-c[my-toggle]",
action = "lua",
localised_name = {"shortcut.toggle-player-auto-build"},
toggleable = true,
icons = {
{
icon = "__base__/graphics/icons/shortcut-toolbar/mip/toggle-personal-roboport-x24.png",
icon_size = 24,
scale = 0.5,
flags = {"gui-icon"}
}
},
small_icons = {
{
icon = "__base__/graphics/icons/shortcut-toolbar/mip/toggle-personal-roboport-x24.png",
icon_size = 24,
scale = 0.5,
flags = {"gui-icon"}
}
},
disabled_icons = {
{
icon = "__base__/graphics/icons/shortcut-toolbar/mip/toggle-personal-roboport-x24-white.png",
priority = "extra-high-no-scale",
icon_size = 24,
scale = 0.5,
flags = {"gui-icon"}
}
},
disabled_small_icons = {
{
icon = "__base__/graphics/icons/shortcut-toolbar/mip/toggle-personal-roboport-x24-white.png",
priority = "extra-high-no-scale",
icon_size = 24,
scale = 0.5,
flags = {"gui-icon"}
}
}
}
})