Open ahicks92 opened 1 month ago
Looks like this can be accomplished with the following four lines in data-updates.lua
local lsr=data.raw["legacy-straight-rail"]["legacy-straight-rail"]
lsr.placeable_by = {item="rail",count=1}
local lcr=data.raw["legacy-curved-rail"]["legacy-curved-rail"]
lcr.placeable_by = {item="rail",count=4}
when this is there, blueprints work again and bots (and I presume KK) will build the pasted entities from inventory.
Note that this does not allow the rail_planner tool to place them as there's still no rail planner tool for the legacy rail.
If that works then we need to just rename the prototypes in our rail builder code. We don't use rail planner. THis isn't intended to be permanent, but it does get "it works on day one" type stuff.
"It works on day one" is what we expected for this transition to work for the community without headaches. I will be really glad if a few careful renames do the trick.
The way they're handling new rails is with a new set of
legacy-xxx
prototypes that are the old prototypes. If we are very, very lucky we can mod recipes and placements, as well as rail builder, to let us bring it back for long enough to get new rails done. Otherwise, people will somewhat hard block on new rail support.