You are viewing a potentially older version of this package. View all versions.
Saros-VeinsUtilizationBooster-1.4.0 icon

VeinsUtilizationBooster

Synchronizes Veins Utilization tech level and all native effects to a configurable target level, default 10000.

By Saros
Date uploaded a day ago
Version 1.4.0
Download link Saros-VeinsUtilizationBooster-1.4.0.zip
Downloads 18
Dependency string Saros-VeinsUtilizationBooster-1.4.0

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

VeinsUtilizationBooster

VeinsUtilizationBooster completes Veins Utilization I-V and synchronizes the repeatable Veins Utilization research to a configurable target level.

Default target: 10,000

What v1.3 fixes

Older builds could show level 10,000 in the technology tree while the actual gameplay bonuses were only around level 6.

This version detects the Veins Utilization level actually represented by miningSpeedScale and replays missing Veins Utilization research effects.

It also fixes repeatable research being forced to level 10,000. The booster no longer calls GameHistoryData.UnlockTech() for the repeatable technology. Instead, it applies missing research effects with UnlockTechFunction(), then explicitly sets curLevel, restores the real maxLevel, and keeps unlocked = false until the actual maximum is reached.

As a result, all effects tied to Veins Utilization are advanced together:

  • Technology-tree level
  • Mining speed
  • Vein/resource consumption rate
  • Dark Fog debris item collection multiplier

The plugin does not fake those three gameplay multipliers independently. DSP's own research-effect logic applies them.

Default configuration

`ini [General] Enabled = true TargetLevel = 10000

[Advanced] TechIdOverride = 0 `

TargetLevel supports values up to 1,000,000,000 in the config UI, but is clamped at runtime to the repeatable technology's current MaxLevel. If another mod raises that maximum, VeinsUtilizationBooster can use the expanded range automatically.

Formula reference

Veins Utilization normally grants per level:

  • Mining speed: +10%
  • Vein consumption: multiplied by 0.94
  • Items collected from Dark Fog debris: +4%

Therefore level 10,000 corresponds conceptually to:

  • Mining speed: 100,100% of base (1001x)
  • Vein consumption coefficient: 0.94^10000, effectively zero at normal numeric precision
  • Debris item collection: 40,100% of base (401x)

The plugin lets the game calculate these effects through its native unlock routine.

Compatibility with max-level mods

TargetLevel defaults to 10,000, but the configuration accepts values up to 1,000,000,000.

At runtime, the booster reads the repeatable Veins Utilization technology's current MaxLevel.

This means:

  • Without another max-level mod, the target is clamped to the game's normal maximum.
  • If another mod raises Veins Utilization's maximum level, this booster can target levels above 10,000 automatically.
  • This mod does not permanently force or replace the maximum level set by another mod.

For best results, make sure the max-level-increase mod loads before the save is fully initialized so its TechProto.MaxLevel change is visible when VeinsUtilizationBooster runs.

Save warning

The research level is persistent. Back up your save before first use.

CHANGELOG

Changelog

1.4.0

  • Increased the configurable TargetLevel upper limit to 1,000,000,000.
  • Default TargetLevel remains 10,000.
  • TargetLevel is still clamped at runtime to the repeatable technology's current MaxLevel.
  • Automatically supports other mods that raise Veins Utilization's TechProto.MaxLevel.
  • Does not overwrite or reduce a maximum level supplied by another mod.
  • Retains the repeatable-research state fix from v1.3.0.
  • Retains gameplay-effect synchronization for mining speed, vein consumption, and Dark Fog debris collection.