Utilities
2 months ago
2.0
311

g Support for "lane splitter"

2 months ago

Hi!
Thanks for the mod.
Is it possible to add support for single lane "lane splitter"? There is a mod that brings them back to the game "https://mods.factorio.com/mod/lane-balancers"

2 months ago
(updated 2 months ago)

As in just as a quick shortcut to set the filter and then wanted lane is set by another flip?
Or some more involved algorithm that determines from inserters further up in the lane?

2 months ago

I don't quite understand what you're asking :(
Most likely because of the translation.
The game has a hidden lane divider that is installed on one lane (that mod just allows you to use it), and now your mod works with it (that is, it allows you to block one side), but only if you manually select the filter, but it does not respond to pressing the button.

2 months ago

Released an update that simply sets a filter when flipping lane balancers.

2 months ago

Unfortunately, the button for lane balancer still does not respond to pressing. Maybe I'm doing something wrong?

2 months ago

By trial and error I changed line #146, and the button started working:

if splitter == nil or not splitter.valid or not ((splitter.type == "splitter" or "lane-splitter") or (splitter.type == "entity-ghost" and (splitter.ghost_type == "splitter" or "lane-splitter"))) then return end
2 months ago
(updated 2 months ago)

Oh whoops, I implemented it when flipping but forgot the button. Will release proper fix soon.

Edit:

Oooh, I think I found a bug in Factorio.

Nvm I was on older version

New response