PowerSystemTweak

版本 v1.0.2·更新於 2025-01-04

Tweak power system for better efficiency

模組介紹 作者原文

Power System Tweak

Version 1.0.2 Features

  • 調整發電優先級,優先使用清潔能源 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

中文 & English

用法 Usage

  • 默認打開,可通過Ctrl + Y來切換開關,Use Ctrl + Y to toggle the switch on/off
  • 按Ctrl + Shift + Y 來循環切換能量樞紐的放電優先級 Press Ctrl + Shift + Y to cycle through the priority of energy exchanger discharge
  • 按Ctrl + U可以查看當前的電力設施處理所用時間排行 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
  • 0: 默認,優先級等於燃料發電機 Default, priority equals fuel generator
  • 1: 高於燃料發電機 Priority as in the original game, higher than fuel generator
  • 2: 低於燃料發電機 Priority lower than fuel generator

注意事項 Note

  • 該Mod會完全替換電力系統處理PowerSystem.GameTick,如果發現有其他MOD也對這個函數加了Patch,本MOD將自動放棄patch並失效。 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.

版本 Changelog

1.0.2

  • 更新GameTick的Patch到對應0.10.31
  • 增加在遊戲中切換能量樞紐放電優先級的功能 Add function to cycle through the priority of energy exchanger discharge in-game

1.0.0

  • 初始版本 Initial release

安裝與使用 安裝:BepInEx 外掛

  1. 本站下載的壓縮包就是模組本體,通常是 BepInEx 外掛(解壓後得到 .dll 或外掛資料夾)。
  2. 建議流程:用社群模組管理器(如 r2modman)選中本遊戲後匯入該模組,管理器會自動裝好 BepInEx 前置並處理依賴。
  3. 手動流程:先在遊戲目錄裝好 BepInEx 載入器,再把解壓出的 .dll 或外掛資料夾放進 BepInEx/plugins/。
  4. 啟動遊戲,BepInEx 控制台會列印載入日誌;確認這個模組出現在日誌裡即為安裝成功。

帶「前置依賴」的模組需要一併安裝,否則不會載入。功能開關通常在遊戲內或外掛自帶的設定檔裡調整。

前置依賴

下面這些內容需要先安裝,否則該模組不會生效:

xiaoye97-BepInEx

檔案與校驗

檔案名稱
PowerSystemTweak-1.0.2.zip
檔案大小
16.2 KiB