You are viewing a potentially older version of this package. View all versions.
un1eagle-PlanetwideMiner-1.0.0 icon

PlanetwideMiner

Make miners on a planet work in a planetwide way. 让矿机可以采集全球资源。

Date uploaded 3 months ago
Version 1.0.0
Download link un1eagle-PlanetwideMiner-1.0.0.zip
Downloads 881
Dependency string un1eagle-PlanetwideMiner-1.0.0

README

戴森球计划 - 全球矿机 PlanetwideMiner

简介

本 Mod 计划让矿机可以采集全球资源:

  • 小矿机和大矿机采集全球矿点;
  • 抽油机采集全球油井;
  • 数据可以在统计面板正确显示;

安装

  1. 确保已安装 BepInEx 5.x (x64)
  2. PlanetwideMiner.dll 放入 BepInEx\plugins\ 文件夹
  3. 启动游戏

构建与打包

dotnet build -c Release
.\pack-mod.ps1
# 或指定输出目录: .\pack-mod.ps1 -OutputDir ".\dist"

输出:PlanetwideMiner-<version>.zip(内含 manifest.jsonREADME.mdicon.png、DLL)

CHANGELOG

Changelog

All notable changes to this project will be documented in this file.

[1.0.0] - 2026-03-10

功能

  • 全球矿机:小矿机、大矿机按全球矿点采集;抽油机按全球同种油井总储量计算产量与速率。
  • 参考速率修正:生产统计与 P 面板中油井参考速率 = 全球油量×系数×科技×抽油机数量;主行与悬停 Tip 均显示正确值(不再出现悬停后主行/ Tip 变成单井 1.8k 的问题)。
  • 抽油机出货:每 tick 可向传送带插入最多 25 格(原版 4 格),高产量时实际输出可超过 7200/min。
  • 矿机 UI:抽油机窗口显示全星球总油量对应速率与每分钟产量。

技术

  • Harmony 补丁:MinerComponent.InternalUpdate(油井分支)、ProductionExtraInfoCalculator.CalculateFactoryFactoryProductionStat.AddRefProductSpeed / ResetRefProductSpeedUIReferenceSpeedTip.AddEntryDataWithFactoryUIProductEntry.OnProductionExtraInfoEndCalculateUIMinerWindow._OnUpdate