Lua libraries for use by other mods and submods that are parts of a larger mod.
Version: 2.0.6
Date: 2025-09-24
Scripting:
- Added helper to add PSI radars for boss mode.
- Added Position.get_offset_position(pos1, pos2, offset) to find an offset location based on distance.
- Added Direction.which_area(position) and direction value mappings to stdlib/direction class.
- Added stdlib/territory class for territory controls.
- Added Position.calculate_position_x_tiles_further(position)
- Added Table.flatten
Bugfixes:
- Fixed nil handling for MapGenFunctions.remove_enemy_autoplace_controls()
Version: 2.0.5
Date: 2025-04-18
Changes:
- Added SoundUtil.dupe_planet_music(planet_name, new_planet_name)
Version: 2.0.4
Date: 2025-04-15
Changes:
- Updated String Lib with trim() and start_with()
Version: 2.0.3
Date: 2025-03-13
Changes:
- Added a helper to add army economy prototypes.
- Added a helper to add fusion assembling machine prototypes.
Bugfixes:
- Fix a start-up crash when other mods removes map_gen_settings from base game planets.
Version: 2.0.2
Date: 2025-02-21
Changes:
- Add a few functions to map_gen.lua
Version: 2.0.1
Date: 2024-12-05
Features:
- added autoplace control functions to map_gen.lua
Version: 2.0.0
Date: 2024-11-25
Features:
- Update to Factorio 2.0
- Refactored some stdlib files for ERM use (https://mods.factorio.com/mod/stdlib)
- Added asteroid_trigger to add unit spawning when breaking asteroid.
- Added sound_util as helper for sharing sound settings.
Changes:
- Re-sort animations to remove nil value on certain functions. 2.0 does not like it.
Version: 1.0.5
Date: 2023-08-26
Changes:
- Added support for custom shadow map. [AnimationDB]
- Added shift() to shift animations. [AnimationDB]
Version: 1.0.4
Date: 2023-08-19
Bugfixes:
- Fixed glow and effect from get_single_animation calling incorrect function. [AnimationDB]
- Fixed a crash if "main" animation does not exists. [AnimationDB]
Version: 1.0.3
Date: 2023-08-14
Changes:
- Add change_frame_count(). [AnimationDB]
Bugfixes:
- fixed apply_runtime_tint not apply correctly. [AnimationDB]
- fixed animation scale used incorrect attribute name. [AnimationDB]
Version: 1.0.2
Date: 2023-08-12
Bugfixes:
- Fixed prototypes/teamcolor_manager required an incorrect animation_db class. [AnimationDB]
Version: 1.0.1
Date: 2023-08-11
Changes:
- Removed log()
Version: 1.0.0
Date: 2023-08-10
Features:
- prototypes/animation_db
- prototypes/teamcolor_manager