PowerSystemTweak

v1.0.2·Updated 2025-01-04

Tweak power system for better efficiency

About this mod Machine translation

Power System Tweak

Version 1.0.2 Features

  • Adjust power generation priority, prior clean energy than other power sources Optimize power production priority, prior clean energy than other power sources
  • Configurable priority of energy exchanger discharge
  • Optimize power system multi-threading load balancing, which should eliminate additional performance consumption caused by function above

Language Support

Chinese & English

Usage

  • Open by default, you can use Ctrl + Y to toggle the switch, Use Ctrl + Y to toggle the switch on/off
  • Press Ctrl + Shift + Y to cycle through the priority of energy exchanger discharge
  • Press Ctrl + U to view the processing time ranking of power facilities Press Ctrl + U to view the processing time ranking of power facilities

Configuration

PreferCleanEnergyGenerator

  • Whether to prioritize clean energy generators first

ExcDischargeEqualFuelGenerator

  • Energy exchanger discharge priority Energy exchanger discharge priority
  • 0: Default, priority equals fuel generator Default, priority equals fuel generator
  • 1: Priority as in the original game, higher than fuel generator
  • 2: Priority lower than fuel generator Priority lower than fuel generator

Note

  • This Mod will completely replace the power system processing PowerSystem.GameTick. If other MODs are found to have added a patch to this function, this MOD will automatically give up the patch and become invalid. Please note that this mod will completely replace the power system processing function PowerSystem.GameTick, and if other mods also patch this function, this feature will automatically give up to patch the method and become invalid.

Version Changelog

1.0.2

  • Update GameTick Patch to correspond to 0.10.31
  • Add function to cycle through the priority of energy exchanger discharge in-game

1.0.0

  • Initial release

Install & use Install: BepInEx plugin

  1. The archive from playbuff is the mod itself — usually a BepInEx plugin (a .dll or a plugin folder once unzipped).
  2. Recommended: use a community mod manager (such as r2modman) — pick this game, import the mod, and the manager sets up BepInEx and its dependencies for you.
  3. Manual route: install the BepInEx loader in the game folder, then drop the unzipped .dll or plugin folder into BepInEx/plugins/.
  4. Launch the game — the BepInEx console logs every plugin it loads; seeing this mod in the log means it is installed.

Mods with listed dependencies need those installed too, or they will not load. Options are usually changed in-game or in the plugin's config file.

Dependencies

Install these first, or the mod will not work:

xiaoye97-BepInEx

File & checksum

Filename
PowerSystemTweak-1.0.2.zip
File size
16.2 KiB