This repository was archived by the owner on Jun 6, 2025. It is now read-only.
v0.12.0
- Added 'bounding-box' module
- A cleaned up version of the 'area' module that treats bounding boxes as immutable and does not use metatables
- Since the cleanup was a breaking change, a new module was created
- Added 'dictionary-lite' module
- Takes advantage of new Factorio API features to drastically simplify the process
- Increases translation speed in singleplayer by a factor of 10
- Added 'format' module with various string formatting functions
- Added 'gui-lite' module
- Removes redundant features, simplifies the building process, and enhances type-checking and autocomplete
- Added 'migration.handle_on_configuration_changed()'
- Added 'position' module with various position manipulation functions
Changes:
- Changed preferred require syntax to '/' instead of '.'
- Deprecated 'area' module in favor of the 'bounding-box' module
- Deprecated 'dictionary' module in favor of the 'dictionary-lite' module
- Deprecated 'event' module - type checking did not work and it didn't provide much over using 'script' directly
- Deprecated 'gui' module in favor of the 'gui-lite' module
- Deprecated 'misc' module in favor of the 'format' and 'position' modules
- Removed 'queue.load()' and queue metatables
- Updated type definitions to use generics where possible
Bugfixes:
- [dictionary] Fixed translations getting stuck on Factorio 1.1.73+