1
0
mirror of https://github.com/soarqin/DSP_Mods.git synced 2025-12-09 10:53:31 +08:00
This commit is contained in:
2023-12-21 22:07:07 +08:00
parent 80c6fcf574
commit 51af7592e8
5 changed files with 211 additions and 28 deletions

View File

@@ -50,6 +50,8 @@ public class UXAssist : BaseUnityPlugin
"Increase maximum area size for terraform to 30x30 (from 10x10)\nNote: this may impact game performance while using large area");
FactoryPatch.OffGridBuildingEnabled = Config.Bind("Factory", "OffGridBuilding", false,
"Enable off grid building and stepped rotation");
FactoryPatch.LogisticsCapacityTweaksEnabled = Config.Bind("Factory", "LogisticsCapacityTweaks", true,
"Logistics capacity related tweaks");
PlanetFunctions.OrbitalCollectorMaxBuildCount = Config.Bind("Factory", "OCMaxBuildCount", 0, "Maximum Orbital Collectors to build once, set to 0 to build as many as possible");
PlayerPatch.EnhancedMechaForgeCountControlEnabled = Config.Bind("Player", "EnhancedMechaForgeCountControl", false,
"Enhanced count control for hand-make, increases maximum of count to 1000, and you can hold Ctrl/Shift/Alt to change the count rapidly");
@@ -90,6 +92,10 @@ public class UXAssist : BaseUnityPlugin
private void Update()
{
if (VFInput.inputing) return;
if (VFInput.onGUI)
{
FactoryPatch.LogisticsCapacityTweaks.OnUpdate();
}
if (Hotkey.Value.IsDown()) ToggleConfigWindow();
}