Skip to content

Using the Firefly API

MirageDev edited this page Jul 2, 2025 · 1 revision

The Firefly API allows modders to use the Firefly effects in their mods, eg. to create an effect for an FTL engine.

It works by being a dependency of both Firefly and the other mod, which doesn't make Firefly a hard dependency and doesn't require to use Reflection.

For an example usage with code comments, see this repo. It showcases everything that the API has to offer, and is setup with KSP Build Tools, which builds the mod with Github Actions and does all the dependency work.

Clone this wiki locally