QuingKhaos' Factorio Library


A set of commonly-used utilities by QuingKhaos for creating Factorio mods.

Internal
a month ago
2.0
13

Changelog

Version: 0.1.1
Date: 2025-09-19
  Changes:
    - Pass a copy to the `khaoslib_sprites.traverse` function callback instead of the original sprite/animation.
    - The callback function of `khaoslib_sprites.traverse` should now modify the passed sprite/animation copy instead of returning a modified copy.
Version: 0.1.0
Date: 2025-09-19
  Features:
    - Adds a sprites helper function to tint a sprite or an animation with possible layers.
    - Adds a sprites helper function to replace sprite or animation filenames.
    - Exposes a sprites traverse function to apply a function to all sprites in a sprite or animation structure with possible layers.