templates.lua
-- Krastorio2 support
if data.raw.item["kr-superior-transport-belt"] then
templates["express-"].next_prefix = "kr-advanced-"
templates["kr-advanced-"] = {
prerequisite_techs = {"kr-logistic-4", "express-miniloader"},
tint = util.color("3ade21D1"),
}
templates["kr-superior-"] = {
prerequisite_techs = {"kr-logistic-5", "kr-advanced-miniloader"},
tint = util.color("a30bd6D1"),
}
end
there shall be one more string:
templates["kr-advanced-"].next_prefix = "kr-superior-"