Swap Rail Layer in Blueprint

by majoca

Press G while holding a blueprint (or after using copy/cut) to swap all rails between ground/elevated layers.

Utilities
8 days ago
2.0
192
Factorio: Space Age Icon Space Age Mod
Trains Blueprints

b [Resolved] Crash when used with a blueprint book

If I hold a blueprint book (stored in the player inventory) in the cursor and press G it crashes the game.

Error while running event swap-rail-layer::swap_rail_layer_linked (ID 252)
Item is not blueprint.
stack traceback:
[C]: in function 'get_blueprint_entities'
swap-rail-layer/control.lua:19: in function <swap-rail-layer/control.lua:10>

Book:
https://factoriobin.com/post/hntjm8

8 days ago

Thanks for the report, this should be fixed now.

New response