The shortcut prototype is missing the required 'small_icon' property. Factorio shortcuts require both 'icon' and 'small_icon' to be defined. Simply add a small_icon property pointing to your icon file to fix the error."
data:extend {
{
type = "custom-input",
name = "build-transport-line",
key_sequence = "CONTROL + mouse-button-1"
},
{
type = "custom-input",
name = "build-transport-line-no-underground",
key_sequence = "CONTROL + SHIFT + mouse-button-1"
},
{
type = "custom-input",
name = "build-transport-line-prefer-ground",
key_sequence = "CONTROL + ALT + mouse-button-1"
},
{
type = "custom-input",
name = "select-line-starting-point",
key_sequence = "CONTROL + mouse-button-2",
alternative_key_sequence = "CONTROL + SHIFT + mouse-button-2"
},
{
type = "custom-input",
name = "toggle-waypoint-mode",
key_sequence = "CONTROL + Q",
},
{
type = "custom-input",
name = "terminate-path-finding",
key_sequence = "CONTROL + SHIFT + T",
},
{
type = "shortcut",
name = "toggle-waypoint-mode",
toggleable = true,
icon = "__BeltRouter-lite__/icon/waypoint-mode.png",
small_icon = "__BeltRouter-lite__/icon/waypoint-mode.png",
action = "lua"
}
}
Here's the fix.