mirror of
https://github.com/soarqin/DSP_Mods.git
synced 2026-11-19 17:05:20 +08:00
fix(uxassist): exclude protected veins from mining displays
Use productive veins for mining-rate estimates, resource analysis and hover counts without mutating miners or reserves. Keep zero-cost mining productive, including CheatEnabler infinite resources. Refs #95
This commit is contained in:
1 parent
47ba29447c
commit
06a8445907
6 files changed
+203
-4
No files matched your search
@@ -8,7 +8,7 @@ using GameLogicProc = UXAssist.Common.GameLogic;
|
||||
namespace UXAssist.Patches.Factory;
|
||||
|
||||
[ModFeature("VeinProtection")]
|
||||
internal static class VeinProtectionPatch
|
||||
internal static partial class VeinProtectionPatch
|
||||
{
|
||||
public static void Enable(bool enable)
|
||||
{
|
||||
@@ -30,7 +30,7 @@ internal static class VeinProtectionPatch
|
||||
GameLogicProc.OnGameEnd -= ProtectVeinsFromExhaustion.ResetState;
|
||||
}
|
||||
|
||||
internal class ProtectVeinsFromExhaustion : PatchImpl<ProtectVeinsFromExhaustion>
|
||||
internal partial class ProtectVeinsFromExhaustion : PatchImpl<ProtectVeinsFromExhaustion>
|
||||
{
|
||||
public static int KeepVeinAmount = 100;
|
||||
public static float KeepOilSpeed = 1f;
|
||||
|
||||
Reference in new issue
Block a user