olpp-EnergyExchangerTweaks icon

EnergyExchangerTweaks

能量枢纽充放电倍率独立调节(1-20x)| Power Exchanger charge/discharge rate tweaks (1-20x), configurable, default 2x.

By olpp
Last updated a day ago
Total downloads 22
Total rating 0 
Categories Optimization
Dependency string olpp-EnergyExchangerTweaks-1.0.0
Dependants 0 other packages depend on this package

This mod requires the following mods to function

xiaoye97-BepInEx-5.4.17 icon
xiaoye97-BepInEx

BepInEx5.4.17 mod plugin framework, Mod框架

Preferred version: 5.4.17

README

EnergyExchangerTweaks

能量枢纽充放电倍率调节 MOD | Power Exchanger Charge/Discharge Rate Tweaks for Dyson Sphere Program

一个轻量级 MOD,允许独立调节能量枢纽(Power Exchanger)的充电与放电功率倍率,范围 1–20 倍(1 = 原版)。仅修改功率吞吐,不影响蓄电池容量、电网逻辑与传送带物流。

A lightweight mod that independently adjusts the charge and discharge power multipliers of the Power Exchanger, from 1x to 20x (1 = vanilla). It only changes power throughput — battery capacity, grid logic, and belt logistics remain untouched.


功能特性 / Features

  • 充电倍率与放电倍率独立配置,范围 1–20(默认 2 / 2)
  • Charge and discharge multipliers are configured independently, range 1–20 (default 2 / 2)
  • 采用 Harmony Postfix 补丁,实现简单、对游戏更新更鲁棒
  • Uses a Harmony Postfix patch — simple to maintain and robust against game updates
  • 不修改存档、不影响成就、无网络请求,可放心使用
  • No save file modification, no achievement impact, no network requests
  • 兼容 BepInEx 5(xiaoye97 维护版)与 r2modman 管理
  • Compatible with BepInEx 5 (xiaoye97 build) and r2modman

安装 / Installation

方式一:r2modman(推荐)

  1. 在 r2modman 中搜索 EnergyExchangerTweaks 并安装
  2. 或拖拽 EnergyExchangerTweaks-1.0.0.zip 到「已安装」页面完成本地导入

Method 1: r2modman (recommended)

  1. Search EnergyExchangerTweaks in r2modman and install
  2. Or drag the zip onto the "Installed" page to import locally

方式二:手动安装

将 BepInEx/plugins/EnergyExchangerTweaks/EnergyExchangerTweaks.dll 复制到游戏目录下的 BepInEx/plugins/EnergyExchangerTweaks/,启动游戏即可。

Method 2: Manual

Copy BepInEx/plugins/EnergyExchangerTweaks/EnergyExchangerTweaks.dll into BepInEx/plugins/EnergyExchangerTweaks/ under your game folder, then launch the game.


配置 / Configuration

首次启动游戏后自动生成配置文件:

A config file is generated on first launch:

BepInEx/config/com.marvis.energyexchangertweaks.cfg
[General]
ChargeMultiplier = 2     ; 充电倍率(1-20),默认 2
DischargeMultiplier = 2  ; 放电倍率(1-20),默认 2
  • 倍率含义:2 表示功率为原版 2 倍;1 表示原版

  • 修改后需完全重启游戏生效

  • 若在 r2modman 下使用,配置路径为 r2modman 配置档目录/BepInEx/config/ 下同名文件

  • Multiplier meaning: 2 = double the vanilla power; 1 = vanilla

  • Restart the game completely for changes to take effect

  • When using r2modman, the config is under your profile's BepInEx/config/


兼容性 / Compatibility

  • 游戏版本:测试于 0.10.x(Build 0.10.35.29151)

  • 依赖:xiaoye97-BepInEx(Thunderstore 上 DSP 社区的 BepInEx 包)

  • 与其他 MOD 无已知冲突;若需叠加充放电相关改动,请先备份配置测试

  • Game version: tested on 0.10.x (Build 0.10.35.29151)

  • Dependency: xiaoye97-BepInEx

  • No known conflicts with other mods


技术细节 / Technical Notes

补丁点:PowerExchangerComponent.CalculateActualEnergyPerTick(bool isOutput),通过 Postfix 按 isOutput 取值(false = 充电,true = 放电)乘以对应倍率。

Patch target: PowerExchangerComponent.CalculateActualEnergyPerTick(bool isOutput) — a Postfix multiplies the result by the configured multiplier (false = charge, true = discharge).


版本历史 / Changelog

1.0.0 — 首发版本:充电/放电独立倍率 1–20,默认 2x 1.0.0 — Initial release: independent charge/discharge multipliers 1–20, default 2x


免责声明 / Disclaimer

本 MOD 由 AI 辅助生成,仅供学习与自用参考;使用前请自行测试并备份存档。

This mod was AI-assisted. Test at your own risk and back up your saves.