Milestones

by Wiwiweb

Keep track of your progress in a fun way by finding out how fast you created key items. Look back on your factory's history, compare with your friends, or challenge yourself. Supports any list of items and comes with presets for popular big mods. Can be added to existing games.

Utilities
9 days ago
1.1 - 2.0
257K

b Adding preset addon doesn't work with existing saves

26 days ago

Hi
I'm making my own mod with Milestones integration. I've added my milestones with milestones_preset_addons interface in control.lua file.
My milestones have been successfully added in new games.
However, it doesn't work with existing saves.
I also have Milestones as optional dependency in my mod.

I see the same issue with JumpStart Milestones mod
https://mods.factorio.com/mod/JumpStartMilestones

Is it possible to fix this and be able to add new milestones through mods to existing saves?

I also noted that you can duplicate a milestone if you add identical milestones in several mods at once.
Probably it would be better to track this case and add only one copy of the milestone in the game.

By the way, thanks for the great job with this mod
Much appreciated

24 days ago
(updated 24 days ago)

Milestones will not change the milestone preset of a player, that's intentional. I think your preset changing mid-game could lead to some unwanted changes. (e.g. you've made your own custom Pyanodons set, then Pyanodon updates the default preset and overwrites your custom changes)

However if a player goes to settings and then clicks the "Reset" button at the top, that does the same detection as when first installing Milestones, including addons.

One thing I need to double check: When a new preset is detected, Milestones prompts the player with a chat message pointing out they can use this Reset button. However I'm not sure this happens for preset addons. I should fix it if not.

I also noted that you can duplicate a milestone if you add identical milestones in several mods at once.
Probably it would be better to track this case and add only one copy of the milestone in the game.

Yeah maybe some naive de-duplication could be possible? I'm not sure it's a problem in practice, mods usually add milestones for their own items. But if there's already a conflict out there I'd be curious to know about it.

By the way, thanks for the great job with this mod
Much appreciated

Thanks!

23 days ago

I can confirm that on adding mod with new milestones from milestones_preset_addons in existing save there is no prompt messages. Also clicking "Reset" button do nothing and new addon milestones not appearing.

23 days ago

Hmm that's an issue, will look into it.

New response