PlanetwideMiner
Make miners on a planet work in a planetwide way. 让矿机可以采集全球资源。
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.CalculateFactory、FactoryProductionStat.AddRefProductSpeed/ResetRefProductSpeed、UIReferenceSpeedTip.AddEntryDataWithFactory、UIProductEntry.OnProductionExtraInfoEndCalculate、UIMinerWindow._OnUpdate。