Auto-Switch Techs


Reorder the research queue when one science pack runs out

Utilities
a month ago
2.0
2.95K

Changelog

Version: 1.8.1
Date: 2025-07-07
  Bugfixes:
    - Fixed bug where settings were not being fetched when game was loaded.
    - Fixed a bug when some modded science packs are in labs but not in the mod's science pack list.
    - Fixed a bug where some modded science packs were not being assigned a priority.
Version: 1.8.0
Date: 2025-07-06
  Features:
    - Added settings to override science pack priorities.
    - Added command /science_priorities to print out current science pack priorities.
    - Ignore labs that don't have any science packs at all, labs that are disabled by script or control behavior, and labs that need electric power but don't have any.
  Changes:
    - Toggle is now enabled by default at the start of the game.
Version: 1.7.0
Date: 2025-07-01
  Features:
    - Added shortcut button to toggle tech switching on or off. Removed setting for "disable mod until X".
    - Added lower threshold for science packs shared by all techs in queue, so that tech-switching still works if a lower-tier science pack is the bottleneck.
  Optimizations:
    - Cache list of labs per-surface; when lab is created/destroyed, only invalidate and rebuild cache for that surface instead of searching all surfaces.
Version: 1.6.1
Date: 30. 06. 2025
  Bugfixes:
    - Fixed crash when lab spoilage goes to science pack inventory because spoilage inventory is full.
Version: 1.6.0
Date: 21. 06. 2025
  Compatibility:
    - Added compatibility for modded labs that only allow some types of science packs.
  Bugfixes:
    - Fixed bug where missing science packs were reported as "(error)" when "prioritize late game science" is enabled and the mod switches away from techs that have early-game science packs not in the new tech.
    - Ignore frozen labs (e.g. on Cerys) when checking science pack availability.
Version: 1.5.0
Date: 22. 02. 2025
  Features:
    - When using settings to prioritize spoilable and late-game sciences together, techs that both have spoilable sciences will use late-game sciences as a tie-breaker, using method suggested by Matrix_V. Option to prioritize late-game sciences will now use tech's other sciences as tie-breakers.
  Bugfixes:
    - Fixed bug where labs cache didn't update when labs were built by space platforms or other mods.
    - Changed global to storage. Might prevent multiplayer desyncs though no issues have been reported.
Version: 1.4.2
Date: 09. 02. 2025
  Translation:
    - Russian translation updated by dodther.
Version: 1.4.1
Date: 09. 02. 2025
  Bugfixes:
    - Fixed setting min/max values not working
    - Fixed crash on load in latest experimental (2.0.34) due to signal item-subgroup changes.
Version: 1.4.0
Date: 06. 01. 2025
  Features:
    - Added option to move techs to the back of the queue when they're switched away from, instead of moving them to second place.
  Translation:
    - Added AI-generated translations for Chinese, French, German, Japanese, Korean.
  Changes:
    - Increased default science-available threshold from 0.5 to 0.8, should reduce thrashing.
Version: 1.3.1
Date: 14. 12. 2024
  Bugfixes:
    - Fix crash when labs become invalid. (Crash seems to happen in multiplayer with other mods; could not reproduce it but this probably fixes it.)
Version: 1.3.0
Date: 7. 12. 2024
  Optimizations:
    - Remove lag spikes by caching list of force's labs.
Version: 1.2.0
Date: 7. 12. 2024
  Translation:
    - Added Russian translation by dodther.
Version: 1.1.2
Date: 29. 11. 2024
  Bugfixes:
    - Fix another bug with typo in virtual signal name.
Version: 1.1.1
Date: 29. 11. 2024
  Bugfixes:
    - Fix bug with virtual signal having undefined name and showing up in wrong tab of combinators etc.
Version: 1.1.0
Date: 28. 11. 2024
  Features:
    - Tech switch notifications and warnings now use the in-game alerts system, not the chat.
    - Clicking on an alert will show one of your labs in map view.
    - Warnings when no tech in queue is researchable now show missing science packs.
    - Removed dependency on Space Age.
    - Added option to prioritize late-game science packs.
    - Tech switch alerts show the reason for switching.
Version: 1.0.0
Date: 27. 11. 2024
  Features:
    - Initial release.