PlanetsLib: Tiers


This companion mod for PlanetsLib assigns 'tier values' to planets — rough indicators of where the planet fits in a vanilla-style game of Space Age — for other mods that wish to use this information. PlanetsLib: Tiers is separate to PlanetsLib so that it can be updated independently. You can hold the version of this mod fixed to avoid tier values changing (unless another external mod changes them).

4 days ago
2.0
12.4K
Planets

b error

a month ago

Not sure if its this mod or Metal and Stars thats the problem but Metal and Stars didnt update. So I'm posting it here and there

.../prototypes/dependency-updates/compatibility-scripts.lua:1: module PlanetsLib.tiers not found; no such file PlanetsLib/tiers.lua
stack traceback:
[C]: in function 'require'
.../prototypes/dependency-updates/compatibility-scripts.lua:1: in main chunk
[C]: in function 'require'
metal-and-stars/control.lua:4: in main chunk

a month ago

⬆️

a month ago

Sorry about that, we intended to make this change backwards-compatible. However Metal & Stars is modifying a PlanetsLib file directly that no longer exists.

Until Metal & Stars issues an update, you can keep playing by downgrading your version of PlanetsLib to 1.7.0 or earlier.

a month ago
(updated a month ago)

Except that Redrawn space connections and Tiered solar system both require >= 1.7.1, which is when you added Tiers.

This now fully prevents loading & launching a saved game that worked just last night.

Can you please revert the split and coordinate with the other mods or find a path that doesn't break at least three other mods that were built around your libraries?

a month ago
(updated a month ago)

You are able to continue your saved game by also downgrading Redrawn Space Connections and Organized Solar System to yesterday's versions (2.2.4 and 3.0.1 respectively) until Metal&Stars is patched.

Though I do my best to coordinate compatibility between different mods, PlanetsLib has an API it is expecting other mods to use, which didn't have downtime. I don't plan to halt development on PlanetsLib and the older versions are still available on the portal, but I apologize for the inconvenience.

a month ago

sorry about the downtime, I just updated it. If you'd rather keep the planet tiers in this mod, that's fine with me

a month ago

No worries, we do our best without the ability to have private files in mods.

The tiers are in data.raw["mod-data"]["PlanetsLib-tierlist"] and actually I anticipate other mods will overwrite them. It may not be feasible for every mod to submit a PR. If you want to override it, I recommend doing so in data.lua.

New response