Two issues in 1.0.6, both checked against the released code:
- Hidden tiers. The preset tier set in
__BeltLineUpgrade__/data/dict.lua:49 contains kr-advanced, and a preset line replaces the next_upgrade chain when it is longer (dict.lua:260). Krastorio 2 Spaced Out hides kr-advanced-transport-belt, kr-advanced-underground-belt and kr-advanced-splitter and chains express → turbo → kr-superior-*. The preset line is one entry longer, so upgrading turbo marks the line for a hidden entity that has no recipe. The same happens with aai-loaders and the hidden aai-kr-advanced-loader (aai-?loader format, dict.lua:55). Skipping hidden prototypes fixes it:
--- data/dict.lua
+++ data/dict.lua
@@ -290,3 +290,3 @@
for name, proto in pairs(entity_prototypes) do
- if is_supported_type[proto.type] then
+ if is_supported_type[proto.type] and not proto.hidden then
local next_name = get_next_upgrade_name(proto)
@@ -349,3 +349,3 @@
for _, candidate in ipairs(candidates) do
- if entity_prototypes[candidate] then
+ if entity_prototypes[candidate] and not entity_prototypes[candidate].hidden then
table.insert(line, candidate)
- Shift + Right Click. The selection tools set
reverse_alt_select (data.lua:47, 125, 203, data-updates.lua:52), but the prototype key is alt_reverse_select. The game ignores the unknown key, so the Shift + Right Click mode is never defined and on_player_alt_reverse_selected_area (control.lua:58) doesn't get the intended selection (downgrade with feeder belts, forced cancel-deconstruct). Renaming the key in all four places fixes it:
- reverse_alt_select = {
+ alt_reverse_select = {