Skip to content

A set of high-quality, commonly-used utilities for creating Factorio mods.

License

Notifications You must be signed in to change notification settings

factoriolib/flib

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ae2c608 · Jan 24, 2025
Jun 19, 2023
Mar 11, 2023
Nov 9, 2023
Jan 20, 2025
Aug 13, 2024
Oct 10, 2024
Apr 28, 2023
Feb 16, 2022
Jul 8, 2022
Apr 12, 2020
Jan 6, 2024
Jan 6, 2024
Jan 24, 2025
Dec 4, 2022
Oct 25, 2024
Jan 6, 2024
Oct 25, 2024
Oct 31, 2024
Oct 4, 2024
Mar 11, 2023
Jan 9, 2025
Dec 16, 2024
Jan 24, 2025
Jan 24, 2025
Oct 4, 2024
Oct 31, 2024
Oct 10, 2024
Oct 4, 2024
Oct 23, 2024
Jan 9, 2025
Oct 10, 2024
Jan 6, 2024
Feb 16, 2022
Oct 10, 2024
Nov 18, 2024
Oct 1, 2020
Jan 6, 2024
Dec 20, 2023

Repository files navigation

shield shield shield

Factorio Library

The Factorio Library is a set of high-quality, commonly-used utilities for creating Factorio mods.

Usage

Download the latest release from the mod portal unzip it, and put it in your mods directory. You can access libraries provided by flib with require("__flib__.position"), etc.

Add the flib directory to your language server's library. We recommend installing the Factorio modding toolkit and setting it up with the Sumneko Lua language server to get cross-mod autocomplete and type checking.

You can view the online documentation here. This documentation is auto-generated by the Lua language server, and is heavily unpolished. It is recommended to use language server intellisense instead of the docs site wherever possible.

Contributing

Please use the GitHub repository for questions, bug reports, or pull requests.

For locale contributions, please use Crowdin.