Code, graphics and conventions to help modders creating planets, moons and other systems.
Lua libraries for use by other mods and submods that are parts of a larger mod.
Version: 1.1.12 Date: 2025-01-03 Locale: - Czech localization added.
Version: 1.1.11 Date: 2025-01-03 Changes: - Switched API from PlanetsLib:planet_extend to PlanetsLib:extend.
Version: 1.1.10 Date: 2025-01-02 Locale: - Adds translation into Russian.
Version: 1.1.9 Date: 2025-01-02 Changes: - Compatibility with mods that update the positions of planets of other mods.
Version: 1.1.8 Date: 2025-01-02 Locale: - Added Chinese localization. Bugfixes: - Fixed solar system edge not having an orbit sprite.
Version: 1.1.7 Date: 2025-01-02 Bugfixes: - Fixed crash for planets without surface properties.
Version: 1.1.6 Date: 2025-01-02 Changes: - Surface conditions for gas composition. - New surface conditions are now off by default, unless requested by a mod.
Version: 1.1.5 Date: 2025-01-02 Bugfixes: - Bail when updating the starmap for a planet without an 'orbit' field.
Version: 1.1.4 Date: 2025-01-02 Bugfixes: - Fixed crash when space locations are added later than data.lua.
Version: 1.1.3 Date: 2025-01-02 Changes: - Compatibility with mods that set the 'orbit' field of planets and space locations to other objects.
Version: 1.1.2 Date: 2025-01-01 Changes: - is_space_location check enforced in planet_extend. - Readme note added about breaking changes will bump the major version. Special thanks added to MidnightTigger.
Version: 1.1.1 Date: 2025-01-01 Info: - Readme fixes.
Version: 1.1.0 Date: 2025-01-01 Changes: - API for planets switched from 'planet_type' to 'sprite_only'. This is now simply a boolean that determines whether the prototype should be removed in data-final-fixes and replaced by a sprite on the starmap. With this change, PlanetsLib now supports extra solar systems, binary systems, etc. - Form of 'parent' within 'orbit' changed to an object with 'type' and 'name' fields, rather than just a name. - Core locale overrides changes to use 'space location' terminology instead of planets and moons.
Version: 1.0.8 Date: 2025-01-01 Bugfixes: - Fixed items in cargo pod drops being allowed if they were not associated to an entity in Factorio.
Version: 1.0.7 Date: 2024-12-31 Info: - README.md update
Version: 1.0.6 Date: 2024-12-31 Info: - README.md update
Version: 1.0.5 Date: 2024-12-31 Changes: - Extract the unified API into 'api.lua' for clarity. Info: - Syncing of README.md to the mod portal.
Version: 1.0.4 Date: 2024-12-30 Changes: - Organized exports into a single API file for readability.
Version: 1.0.3 Date: 2024-12-30 Modding: - Compatibility with Organized Solar System.
Version: 1.0.2 Date: 2024-12-30 Bugfixes: - Fixed a crash.
Version: 1.0.1 Date: 2024-12-30 Modding: - Dependencies updated.
Version: 1.0.0 Date: 2024-12-30 Modding: - APIs: PlanetsLib:planet_extend, PlanetsLib.technology_icons_moon, PlanetsLib.cargo_drops_tech_effect, PlanetsLib.technology_icons_planet_cargo_drops - When a technology with name '[planet_name]-cargo-drops' is created, cargo drops to that planet (excepting those with only players or construction robots) will be prevented until that technology is researched.