Factorio Library


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

Internal
4 months ago
0.18 - 1.1
689K
Owner:
raiguard
Source:
https://github.com/factoriolib/flib
Homepage:
https://github.com/factoriolib/flib
License:
MIT
Created:
3 years ago
Latest Version:
0.13.0 (4 months ago)
Factorio version:
0.18 - 1.1
Downloaded by:
689K 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.

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.