PlanetsLib


Code and graphics to help modders creating planets, moons and other systems. This is a community project.

Internal
21 hours ago
2.0 - 2.1
111K
Owner:
thesixthroc
Source:
https://github.com/danielmartin0/PlanetsLib
Homepage:
https://github.com/danielmartin0/PlanetsLib
License:
MIT
Created:
1 year, 7 months ago
Latest Version:
1.23.3 (21 hours ago)
Factorio version:
2.0 - 2.1
Downloaded by:
111K users

PlanetsLib

Code and graphics to help modders creating planets, moons and other systems. This library is a community project. Anyone is welcome to open a pull request on Github. For feature requests, please open an issue. For general discussion, use Discord.

Since other mods make use of the 'orbit structure' this mod provides to the solar system, it is recommended to add PlanetsLib compatibility to your planet mod either by defining your planet prototype using PlanetsLib (as in the first image in the mod portal gallery), or by calling PlanetsLib:update in data-updates.lua (second image in the gallery). Besides improving compatibility with PlanetsLib consumers, this means if another mod updates the position of your planet's orbital parent without moving your planet, your planet will be moved too.

We aim to never make any breaking API changes such that the library is safe to use. We sometimes deprecate APIs by removing them from the documentation, but they stay functional.

Documentation

Contributors

thesixthroc, MeteorSwarm, Midnighttigger, Tserup, notnotmelon, Frontrider, Zwvei, allisonlastname, Hoochie63, SirPuck, Osmo, Thremtopod, Kryzeth.