Factorio Library


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

Internal
18 hours ago
0.18 - 2.0
947K
Owner:
raiguard
Source:
https://codeberg.org/raiguard/flib
Homepage:
https://codeberg.org/raiguard/flib
License:
MIT
Created:
5 years ago
Latest Version:
0.16.4 (18 hours ago)
Factorio version:
0.18 - 2.0
Downloaded by:
947K users

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.

There is currently no online documentation due to a lack of infrastructure to generate it from EmmyLua annotations.

Contributing

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

For locale contributions, please use Crowdin.