Factorio Library


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

2 months ago
0.18 - 1.1
1405549
Owner:
raiguard
Source:
https://git.sr.ht/~raiguard/flib
Homepage:
https://git.sr.ht/~raiguard/flib
License:
MIT
Created:
2 years ago
Latest Version:
0.11.2 (2 months ago)
Factorio version:
0.18 - 1.1
Downloaded:
1405549 times

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__.event"), etc.

Add the flib directory to your language server's library and install the Factorio LSP plugin to enable autocomplete and in-line documentation of flib functions.

You can view the legacy online documentation here. Please note that this documentation is out-of-date, and will be replaced with a new site in the future.

Contributing

Please use the factorio-mods-devel mailing list for support, suggestions, and/or patches.