feat(cheatenabler): add bounded shell-count input

This commit is contained in:
2026-07-11 01:02:12 +08:00
parent 6b03801681
commit 15c5bbdd72
4 changed files with 36 additions and 29 deletions
@@ -8,6 +8,9 @@ namespace CheatEnabler.Functions;
[ModFeature("CheatDysonSphere", Order = 20)]
public static class DysonSphereFunctions
{
public const int MinShellsCountForFunctions = 1;
public const int MaxShellsCountForFunctions = 99_999;
public static ConfigEntry<bool> IllegalDysonShellFunctionsEnabled;
public static ConfigEntry<int> ShellsCountForFunctions;