← back

z_mirror/flib

git clone https://git.raiguard.me/z_mirror/flib

compilatronMove to version 0.17.388a5e3b

trunk
6 folders32 files

files

.github/ISSUE_TEMPLATE/
docs/
graphics/
locale/
prototypes/
tests/
.editorconfig58 B
.gitignore444 B
.kakrc184 B
.mailmap144 B
LICENSE1.0 KiB
README.md1.5 KiB
array.lua7.7 KiB
bounding-box.lua9.6 KiB
changelog.txt25.5 KiB
crowdin.yml466 B
data-util.lua4.9 KiB
data.lua101 B
dictionary.lua13.8 KiB
direction.lua1.8 KiB
format.lua2.4 KiB
gen-docs.sh414 B
gui-templates.lua3.3 KiB
gui.lua9.3 KiB
info.json678 B
locale.lua3.1 KiB
math.lua4.3 KiB
on-tick-n.lua2.7 KiB
orientation.lua1.4 KiB
position.lua8.3 KiB
prototypes.lua17.8 KiB
queue.lua2.8 KiB
reverse-defines.lua811 B
table.lua8.1 KiB
technology.lua3.8 KiB
thumbnail.png4.3 KiB
train.lua4.5 KiB
typedefs.lua31 B

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.

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.