Train Shortage Alert


Alerts you when a resource has more unloading stations than trains serving it. Works with icon-only station names (red mark + item/fluid icon = unload, green mark + icon = load), counted separately per planet.

Utilities
4 hours ago
2.0 - 2.1
4
Transportation Trains
Owner:
Mistikkust
Source:
N/A
Homepage:
N/A
License:
MIT
Created:
4 hours ago
Latest Version:
1.1.0 (4 hours ago)
Factorio version:
2.0 - 2.1
Downloaded by:
4 users

Alerts you when a resource has more unloading stations than trains serving it.

Tired of finding out that a station has been starving for ten minutes? Train Shortage Alert watches your train network and tells you when there are fewer trains than unloading stations for a resource.

HOW IT WORKS

Stations are recognised by their names, which consist only of icons:
- red mark (signal-red) + resource icon = unloading station ("deliver here")
- green mark (signal-green) + resource icon = loading station ("take from here")
- the resource is any item / fluid / signal icon in the name

Every few seconds the mod counts, per resource and per planet / surface:
- unloading stations with that resource
- trains that have a station with that resource in their schedule

If trains < stations, you get an alert with the resource icon on the unloading station, plus a chat message with a clickable GPS tag the first time the shortage appears. The alert disappears when enough trains are added. Station names with any extra text are ignored on purpose.

COMPATIBILITY
- Factorio 2.0 and 2.1 (separate releases), Space Age supported (counting is done per surface)
- Remote interface "train_shortage_alert" (get_shortages, refresh) for other mods
- Works great together with Train Preset Builder and Train Shortage Builder Link

LANGUAGES
Localised in 13 languages: English, Russian, Ukrainian, German, French, Spanish, Italian, Brazilian Portuguese, Polish, Chinese, Japanese, Korean, Turkish. The language follows the game language. Translations are machine-assisted, corrections are welcome.