FactoryLib - Modding Utilities


Utility library for prototype manipulation, GUI building, and common helpers. Replacement for LSlib, built for Factorio 2.1.

Internal
11 days ago
2.1
22

Changelog

Version: 0.2.2
Date: 24. 06. 2026
  Bugfixes:
    - Added missing FLib.utils.table.convertRGBA function (converts color values from 0-255 to 0-1 range).
    - Fixed getLocalisedUnit to return Factorio localised strings (tables) instead of attempting string concatenation on table values.
    - Rewrote GUI layout and runtime systems with own implementation providing full path-based element navigation, drag support, auto-centering, and tab management.
  Changes:
    - All item/recipe/technology helper function signatures now match the original LSlib API exactly.
Version: 0.1.0
Date: 24. 06. 2026
  Features:
    - Initial release: utility library for Factorio 2.1 modding.
    - Item, recipe, technology, and entity prototype helpers.
    - Declarative GUI layout builder and runtime GUI management.
    - Direction utilities, string splitting, table helpers, and unit formatting.