Player Facing Features
The primary intent of PlanetsLib is to be a library which provides opt-in functionality for other mods. However, a small number of game-affecting or player-interface-affecting features have been added over time. These are listed below, player feedback on them is most welcome in Discord.
- Unlinking hidden prerequisites
- If PlanetsLib detects that technologies have hidden prerequisites such that they would be unresearchable, it warns players about this fact.
- This is done because the Factorio client gives no explanation or reason for why these technologies cannot be researched.
- There are PlanetsLib mod settings to repair the user's game by unlinking all such prerequisites, or to disable the warning.
- If PlanetsLib detects that technologies have hidden prerequisites such that they would be unresearchable, it warns players about this fact.
- Fixed rocket weights of vanilla items
- If an item prototype does not have an explicitly specified rocket weight, the behavior of the Factorio engine is to assign it a weight based on the recipes that produce it. Unfortunately, this means that the rocket weight of vanilla items is liable to change when additional mods are installed. PlanetsLib therefore sets an explicit weight on vanilla items equal to their weight in Space Age. This occurs in
data-final-fixesand only if the item does not have a weight by that point.
- If an item prototype does not have an explicitly specified rocket weight, the behavior of the Factorio engine is to assign it a weight based on the recipes that produce it. Unfortunately, this means that the rocket weight of vanilla items is liable to change when additional mods are installed. PlanetsLib therefore sets an explicit weight on vanilla items equal to their weight in Space Age. This occurs in
- Extra informational tooltips
- On recipes:
- Freshness resets on craft completion
- This tracks
result_is_always_freshand only appears iftrue.
- This tracks
- Freshness resets on craft beginning
- This tracks
reset_freshness_on_craftand only appears iftrue.
- This tracks
- Products preserved in machine output
- This tracks
preserve_products_in_machine_outputand only appears iftrue.
- This tracks
- Freshness resets on craft completion
- All such tooltips are added in
data-final-fixes.
- On recipes:
- Biolab inputs
- Because modders often forget about the Biolab when adding a new science pack, PlanetsLib mirrors all science packs from the vanilla lab to the Biolab in
data-final-fixes.
- Because modders often forget about the Biolab when adding a new science pack, PlanetsLib mirrors all science packs from the vanilla lab to the Biolab in
- Centrifuge entity improvements
- This entity is given an input and an output fluidbox (or two of each if the mod setting
PlanetsLib-enable-additional-centrifuge-fluidboxesis enabled). - Also, the graphics of the working glow are improved so that it naturally glows different colors depending on the recipe.
- This entity is given an input and an output fluidbox (or two of each if the mod setting
- Space platform hub improvements
- The list of cargo pods that can be accepted by the vanilla space platform hub can be modifying by modifying
PlanetsLib.constants.space_platform_hub_receiving_cargo_units. The global functionsplatform_upper_hatchandplatform_lower_hatchadded by base Space Age are overridden and modified by PlanetsLib to reference mod-data tables from PlanetsLib.
- The list of cargo pods that can be accepted by the vanilla space platform hub can be modifying by modifying
- Space tile without the ability to cover it
- A space tile that can be used around limited surfaces floating in space, as it can not be covered in space platform tiles. Modders, enable it with the
PlanetsLib-enable-blocking-empty-space-tilesetting. The name of the tile isplanetslib-empty-space, all localization is set to match the regularempty-spacetile from space age.
- A space tile that can be used around limited surfaces floating in space, as it can not be covered in space platform tiles. Modders, enable it with the