VeinityProject

版本 v0.2.8·更新於 2025-06-03

Re-writes a chunk of MinerComponent to play nicer with multithreading and have some customizability.

模組介紹 作者原文

Veinity Project

Want to change the buffer sizes on miners?

Ever say "oops, I meant to put resources on infinite."

Want to experiment with having all veins work like Oil ones- or want to actually be able to run out of oil?

Or maybe you just want that Texan fever dream where a single mkII miner can harvest every oil node on a

planet when combined with with my other mod, LazyOutposting.

This and maybe more is all possible when you completely rewrite MinerComponent's internal update to

support a more loose definition of everything- and stop locking the entire vein pool in the process.

That's right, if you don't touch our settings, we're actually a QoL optimization mod like Re-Buffer!

In particular, planets with a lot of miners and oil pumps will see a... well, like, 0.05ms increase.

But they're also a lot more friendly to heavier multithreading and thus could see more of a gain in the future.

Changes

  • v0.2.8 Possible fix for possible rounding issue on vein consumption in Diminishing mode
  • v0.2.7 Fix for game version 0.10.32.25779 (matching game's removal of PRNG mining consumption code)
  • v0.2.6 Actually Working fix for game version 0.10.29.22010 lol (ref var is ref, duh)
  • v0.2.5 Fix for game version 0.10.29.22010
  • v0.2.4 DarkFog update; Swapped out a magic number for a source-reference.
  • v0.2.0
  • Actual support for JinxOAO's SmelterMiner
  • Theoretical support for similar "mining x produce y" concepts
  • Integrated Push-To-Station into our InternalUpdate code

Mechanical changes compared to vanilla

  • Item output ALWAYS piles up to 4 if available rather than batching to a tier 3 belt's speed.
  • Vein pruning is done the tick after a vein is emptied rather than only when the vein is selected as the target vein and found empty.
  • Vein count/amount speed contributions are calculated based on a rolling snapshot rather than a forced-serialization for any shared veins.
  • StationComponent is pushed to by MiningComponent rather than pulling from later in the tick.

Compatibility Notes

  • SmelterMiner by JinxOAO is fully supported.
  • Uses current smelting recipe ratios.
  • Type A supports all normal and Kimberlite smelting
  • Type B supports all alternate and Kimberlite smelting
  • Type C supports Frac-Si, Fire Ice, Oil, and Spin-Cry "smelting"

Known Issues

  • Miner UI does not "update" to an N/s value when in Diminishing Mode It's roughly 25000 vein value per 1/s output.

At some point I'll dig into how to change the UI for it. That is what's needed to hit v1.

安裝與使用 安裝:BepInEx 外掛

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

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

前置依賴

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

xiaoye97-BepInEx

檔案與校驗

檔案名稱
VeinityProject-0.2.8.zip
檔案大小
148.6 KiB