This repository was archived by the owner on Jun 6, 2025. It is now read-only.
Tags: factoriolib/flib
Tags
Features:
- [area] Added `area.square()` to turn the area into a square
- [area] Added `starting_offset` argument to `area.iterate()`
- [dictionary] Added a GUI that shows translation progress
- [math] Added `floored` and `ceiled` for flooring and ceiling to N decimal places.
- [math] Added `sign` to return the signedness of a number as a multiplier
- [math] Added `sum`, `maximum`, `minimum`, `midrange`, `range` for sets of numbers
Changes:
- [math] Deprecated `round_to`, `ceil_to`, `floor_to`
- [math] `clamp` defaults to clamping between 0, 1 when min or max are not set
- [dictionary] Removed string nesting to significantly reduce network traffic
- This makes translation take significantly longer
Bugfixes:
- Fixed missing annotations in math and table libraries
- [dictionary] Fixed that an empty translation would cause the translation after it to be skipped
- [migration] Fixed a crash when loading the tutorial scenario