Station Auto Colour

by dougs

Automatically colours train stations from the first Factorio icon in their name.

Utilities
6 days ago
2.1
29
Trains
Owner:
dougs
Source:
https://github.com/dooougs/station-au...
Homepage:
N/A
License:
MIT
Created:
6 days ago
Latest Version:
0.5.0 (6 days ago)
Factorio version:
2.1
Downloaded by:
29 users

Automatically colours train stops from the first Factorio rich-text icon in their name.

How it works

Add an item or fluid icon to a train stop name, for example [item=electronic-circuit] Circuit pickup. The stop receives a colour sampled directly from that icon.

  • Includes explicit RGB values for 292 items and 22 fluids from Factorio 2.1 with Space Age.
  • Updates stops when built, cloned, renamed, revived, or when settings are pasted.
  • Recolours existing stops when the mod is installed or upgraded.
  • Leaves stops without a recognised icon unchanged.

Source code and releases are available on GitHub.