SSPP Logistics Train Mod

by jagoly

A logistics train mod that aims to be as pleasant to use as possible, even when knee-deep in byproducts. SSPP stands for Source-Sink-Push-Pull.

Content
8 months ago
2.0
806
Logistics Trains

g Increase product limit over 10

a day ago
(updated a day ago)

On my current playthrough, I am at a point where I found myself importing/exporting more than 10 products from a single station, I didn't know there was a limit and I didn't read that there was a limit on the mod description, so imagine my surprise when I tried to add a 11th product and an error sound was played.

My suggestion is simple... add a configuration to increase this limit and allow to add more than 10 products. I've edited your mod myself and increased the limit to 32, it seems to work fine and I noticed no performance loss.

In case someone has the same problem as me, to edit the limit do this:
- Close the game
- Go to %appdata%/Factorio/Mods
- Open SourceSinkPushPull_0.4.9\SourceSinkPushPull\scripts\gui\station.lua
- On line 171: "if not context.root.ghost.stop.bufferless and #context.rows < 10 then" replace 10 --> 32
- On line 711: " elseif #context.rows < 10 then" replace 10 --> 32

Lines may not match if the mod is updated. So better search for these texts or just search "10", there will be 3 matches, do not modify the train limit.

New response