diff --git a/CheatEnabler/CHANGELOG.md b/CheatEnabler/CHANGELOG.md new file mode 100644 index 0000000..dc8581b --- /dev/null +++ b/CheatEnabler/CHANGELOG.md @@ -0,0 +1,232 @@ +## Changlog +* 2.3.20 + + New feature: `Retrieve/Place items from/to remote planets on logistics control panel` +* 2.3.19 + + New features: + + `Remove all metadata consumption records` + + `Remove metadata consumption record in current game` + + `Clear metadata flag which bans achievements` +* 2.3.18 + + New features: + + `Teleport to outer space`, this will teleport you to the outer space which is 50 LYs far from the farthest star. + + `Teleport to selected astronomical` + + Fix logic of `Unlock techs with key-modifiers`. + + `No condition build` does not hide rotation info of belts now. +* 2.3.17 + + Make compatible with game version 0.10.30.23292 +* 2.3.16 + + Add 2 options to `Belt signal item generation`: + - `Count generations as production in statistics` + - `Count removals as consumption in statistics` + + New feature: `Increase maximum power usage in Logistic Stations and Advanced Mining Machines` + - Logistic Stations: Increased max charging power to 3GW(ILS) and 600MW(PLS) (10x of original) + - Advanced Mining Machines: Increased max mining speed to 1000% +* 2.3.15 + + New features: + - `Instant teleport (like that in Sandbox mode)` + - `Mecha and Drones/Fleets invicible` + - `Buildings invicible` +* 2.3.14 + + Remove default shortcut key for `No condition build` and `No collision`, to avoid misoperation. You can still set them in system settings window manually if needed. + + Fix translation issue. +* 2.3.13 + + Fix a bug that shortcuts are not working and have display issue on settings window. +* 2.3.12 + + Add a shortcut to toggle `No collision`, you can modify the shortcut on system settings window. + + Add realtime tips when toggling `No condition build` and `No collision` with shortcuts. +* 2.3.11 + + Add a shortcut to toggle `No condition build`, you can modify the shortcut on system settings window. This depends on [UXAssist](https://dsp.thunderstore.io/package/soarqin/UXAssist) 1.0.15 or later. +* 2.3.10 + + Fix following functions not working in new game updates: + - `Pump Anywhere` + - `Terraform without enough soil piles` +* 2.3.9 + + Support game version 0.10.28.21219 +* 2.3.8 + + Fix a crash on starting new games while `Finish build immediately` is enabled. + + Fix UI button width. +* 2.3.7 + + Support game version 0.10.28.20759 + + Fix belt signal that items' generation speed is not fit to number set sometimes. +* 2.3.6 + + Support for UXAssist's new function within `Finish build immediately`. + + Add a warning message when `Build without condition` is enabled. + + Fix an issue in `Finish build immediately` that some buildings are not finished immediately. +* 2.3.5 + + Fix another crash in `Skip bullet period`. +* 2.3.4 + + Use new tab layout of UXAssist 1.0.2 + + Minor bug fixes +* 2.3.3 + + Fix a crash in `Skip bullet period`. + + Unlock techs with Alt unlocks VeinUtil to 10000 instead of 7200 now, as bug fixed in UXAssist. +* 2.3.2 + + Birth star options moved to [UniverseGenTweaks](https://dsp.thunderstore.io/package/soarqin/UniverseGenTweaks/) + + Optimize `Quick absorb`, consumes less CPU time and take turns firing to nodes. + + `Fast Mining` ensures full output of oil extractors now. + + Fix issue that `Belt signal generator` not working after switched off then on again. + + Fix absorption issue by `Quick absorb` and `Skip bullet period` enabled at the same time. + + Crash fix for some options +* 2.3.1 + + Add UXAssist to dependencies in manifest. +* 2.3.0 + + Move some functions to an individual mod: [UXAssist](https://dsp.thunderstore.io/package/soarqin/UXAssist) + + Depends on [UXAssist](https://dsp.thunderstore.io/package/soarqin/UXAssist) now, so that config panel is unified with UXAssist. + + Remove `LCtrl+A` from Dev Shortcuts, to avoid misoperation. + + Infinite bots/drones/vessels in `Architect mode` now. +* 2.2.7 + + New function: `Construct only nodes but frames` + + Opening config panel does not close inventory panel now + + Remove `Input direction conflict` check while using `Remove some build conditions` + + Fix a bug that prevents `Belt signal alt format` from switching number formats for current belt signals +* 2.2.6 + + New function: `Stop ejectors when available nodes are all filled up` + + Fix a bug that absorb solar sails on unfinised nodes +* 2.2.5 + + Skip all intermediate states and absorb solar sails instantly while enable `Quick absorb`, `Skip bullet period` and `Skip absorption period` at the same time. + + Fix a problem that `Quick absorb` does not absorb all solar sails instantly when most nodes are full. + + Fix crash while using with some mods +* 2.2.4 + + New function: `Enable player actions in globe view` + + Fix UI bug +* 2.2.3 + + New function: `Remove some build conditions` + + Fix compatibility with some mods +* 2.2.2 + + New function: `Assign gamesave to currrnet account` + + New subfunction: `Belt signal alt format` + + Fix a crash on using `Initialize this Planet` + + Fix belt build in `Finish build immediately` +* 2.2.1 + + Check condition for miners even when `Build without condition` is enabled. + + Fix a patch issue that may cause `Build without condition` not working. +* 2.2.0 + + Add some power related functions + + Add a subfunction to belt signal item generation, which simulates production process of raws and intermediates on statistics + + Split some functions from Architect mode +* 2.1.0 + + Belt signal item generation + + Fix window display priority which may cause tips to be covered by main window +* 2.0.0 + + Refactorying codes + + UI implementation + + Add a lot of functions +* 1.0.0 + + Initial release + + +## 更新日志 +* 2.3.20 + + 新功能:`在物流总控面板上可以从非本地行星取放物品` +* 2.3.19 + + 新功能: + + `移除所有元数据消耗记录` + + `移除当前存档的元数据消耗记录` + + `解除当前存档因使用元数据导致的成就限制` +* 2.3.18 + + 新功能: + + `传送到外太空`,这会将你传送到距离最远星球50光年的外太空 + + `传送到选中天体` + + 修复了`组合键解锁科技`的逻辑 + + `无条件建造`现在不会隐藏传送带的旋转信息了 +* 2.3.17 + + 适配游戏版本0.10.30.23292 +* 2.3.16 + + 为`传送带信号物品生成`添加了两个选项: + - `统计信息里将生成计算为产物` + - `统计信息里将移除计算为消耗` + + 新功能:`提升物流塔和大型采矿机的最大功耗` + - 物流塔:将最大充电功率提高到3GW(星际物流塔)和600MW(行星物流塔)(原来的10倍) + - 大型采矿机:将最大采矿速度提高到1000% +* 2.3.15 + + 新功能: + - `快速传送(和沙盒模式一样)` + - `机甲和战斗无人机无敌` + - `建筑无敌` +* 2.3.14 + + 移除了`无条件建造`和`无碰撞`的默认快捷键,以避免误操作。如有需要请手动在系统选项窗口中设置。 + + 修复了翻译问题。 +* 2.3.13 + + 修复了快捷键无效和设置窗口上的按键显示问题 +* 2.3.12 + + 添加了一个快捷键来切换`无碰撞`,你可以在系统设置面板中修改快捷键。 + + 在使用快捷键切换`无条件建造`和`无碰撞`时添加了实时提示信息。 +* 2.3.11 + + 添加了一个快捷键来切换`无条件建造`,你可以在系统设置面板中修改快捷键。这依赖于[UXAssist](https://dsp.thunderstore.io/package/soarqin/UXAssist) 1.0.15或更高版本 +* 2.3.10 + + 修复了以下功能在新游戏版本中不生效的问题: + - `平地抽水` + - `沙土不够时依然可以整改地形` +* 2.3.9 + + 支持游戏版本0.10.28.21219 +* 2.3.8 + + 修复了启用`建造秒完成`时开新游戏可能导致崩溃的问题 + + 修复了UI按钮宽度 +* 2.3.7 + + 支持游戏版本0.10.28.20759 + + 修复了传送带信号有时候物品生成速度和设置不匹配的问题 +* 2.3.6 + + 在`建造秒完成`中支持UXAssist的新功能 + + 在启用`无条件建造`时添加警告信息 + + 修复了`建造秒完成`可能导致部分建筑无法立即完成的问题 +* 2.3.5 + + 修复了`跳过子弹阶段`可能导致崩溃的问题 +* 2.3.4 + + 使用UXAssist 1.0.2的新页签布局 + + 修复了一些小bug +* 2.3.3 + + 修复了`跳过子弹阶段`可能导致崩溃的问题 + + 使用Alt解锁科技时,现在`矿物利用`的科技解锁到10000级而不是7200级,因为UXAssist已修复对应bug +* 2.3.2 + + 母星系的选项移动到了[UniverseGenTweaks](https://dsp.thunderstore.io/package/soarqin/UniverseGenTweaks/) + + 优化了`快速吸收`,现在消耗更少的CPU,并且会轮流打向各节点 + + `高速采集`现在可以保证油井的最大产出 + + 修复了`传送带信号物品生成`在选项关闭后再次启用时不生效的问题 + + 修复了`快速吸收`和`跳过子弹阶段`同时启用时可能导致吸收计算错误的问题 + + 修复了一些选项可能导致崩溃的问题 +* 2.3.1 + + 在manifest中添加UXAssist到依赖 +* 2.3.0 + + 将部分功能移动到单独的mod:[UXAssist](https://dsp.thunderstore.io/package/soarqin/UXAssist) + + 现在依赖[UXAssist](https://dsp.thunderstore.io/package/soarqin/UXAssist),因此配置面板与UXAssist合并 + + 从开发模式快捷键中移除`LCtrl+A`,以避免误操作 + + 现在`建筑师模式`中配送机/物流机/物流船也无限了 +* 2.2.7 + + 新功能:`只建造节点不建造框架` + + 打开设置面板时不再关闭背包面板 + + 在`移除部分不影响游戏逻辑的建造条件`启用时移除`输入方向冲突`的检查条件 + + 修复导致`传送带信号替换格式`不切换传送带信号数字格式的问题 +* 2.2.6 + + 新功能:`可用节点全部造完时停止弹射` + + 修复了在未完成的节点上吸收太阳帆的问题 +* 2.2.5 + + 在同时启用`快速吸收`、`跳过子弹阶段`和`跳过吸收阶段`时,所有弹射的太阳帆会跳过所有中间环节立即吸收 + + 修复了`快速吸收`在大部分节点已满时无法立即吸收所有太阳帆的问题 + + 修复了与一些mod的兼容性问题 +* 2.2.4 + + 新功能:`在行星视图中允许玩家操作` + + 修复了UI显示问题 +* 2.2.3 + + 新功能:`移除部分不影响游戏逻辑的建造条件` + + 修复了与一些mod的兼容性问题 +* 2.2.2 + + 新功能:`将游戏存档绑定给当前账号` + + 新子功能:`传送带信号替换格式` + + 修复了`初始化本行星`可能导致崩溃的问题 + + 修复了`建造秒完成`中传送带建造的问题 +* 2.2.1 + + 即使在启用`无条件建造`时依然检查矿机的建造条件 + + 修复一个可能导致`无条件建造`不生效的问题 +* 2.2.0 + + 添加了一些发电相关功能 + + 为传送带信号物品生成添加了一个子功能,在统计面板模拟了原材料和中间产物的生产过程 + + 从建筑师模式中分离了一些功能 +* 2.1.0 + + 传送带信号物品生成 + + 修复窗口显示优先级可能导致提示信息被主窗口遮挡的问题 +* 2.0.0 + + 重构代码 + + UI实现 + + 添加了很多功能 +* 1.0.0 + + 初始版本 diff --git a/CheatEnabler/CheatEnabler.cs b/CheatEnabler/CheatEnabler.cs index 2c80131..25c33f2 100644 --- a/CheatEnabler/CheatEnabler.cs +++ b/CheatEnabler/CheatEnabler.cs @@ -46,6 +46,8 @@ public class CheatEnabler : BaseUnityPlugin "Boost geothermal power"); FactoryPatch.GreaterPowerUsageInLogisticsEnabled = Config.Bind("Build", "GreaterPowerUsageInLogistics", false, "Increase maximum power usage in Logistic Stations and Advanced Mining Machines"); + FactoryPatch.ControlPanelRemoteLogisticsEnabled = Config.Bind("Build", "ControlPanelRemoteLogistics", false, + "Retrieve/Place items from/to remote planets on logistics control panel"); ResourcePatch.InfiniteResourceEnabled = Config.Bind("Planet", "AlwaysInfiniteResource", false, "always infinite natural resource"); ResourcePatch.FastMiningEnabled = Config.Bind("Planet", "FastMining", false, diff --git a/CheatEnabler/CheatEnabler.csproj b/CheatEnabler/CheatEnabler.csproj index 00504f9..422e67e 100644 --- a/CheatEnabler/CheatEnabler.csproj +++ b/CheatEnabler/CheatEnabler.csproj @@ -5,7 +5,7 @@ net472 org.soardev.cheatenabler DSP MOD - CheatEnabler - 2.3.19 + 2.3.20 true latest CheatEnabler @@ -29,6 +29,6 @@ - + diff --git a/CheatEnabler/FactoryPatch.cs b/CheatEnabler/FactoryPatch.cs index 80ee693..89ea666 100644 --- a/CheatEnabler/FactoryPatch.cs +++ b/CheatEnabler/FactoryPatch.cs @@ -28,6 +28,7 @@ public static class FactoryPatch public static ConfigEntry BoostFuelPowerEnabled; public static ConfigEntry BoostGeothermalPowerEnabled; public static ConfigEntry GreaterPowerUsageInLogisticsEnabled; + public static ConfigEntry ControlPanelRemoteLogisticsEnabled; private static Harmony _factoryPatch; private static PressKeyBind _noConditionKey; @@ -70,6 +71,7 @@ public static class FactoryPatch BoostFuelPowerEnabled.SettingChanged += (_, _) => BoostFuelPower.Enable(BoostFuelPowerEnabled.Value); BoostGeothermalPowerEnabled.SettingChanged += (_, _) => BoostGeothermalPower.Enable(BoostGeothermalPowerEnabled.Value); GreaterPowerUsageInLogisticsEnabled.SettingChanged += (_, _) => GreaterPowerUsageInLogistics.Enable(GreaterPowerUsageInLogisticsEnabled.Value); + ControlPanelRemoteLogisticsEnabled.SettingChanged += (_, _) => ControlPanelRemoteLogistics.Enable(ControlPanelRemoteLogisticsEnabled.Value); ImmediateBuild.Enable(ImmediateEnabled.Value); ArchitectMode.Enable(ArchitectModeEnabled.Value); NoConditionBuild.Enable(NoConditionEnabled.Value); @@ -81,6 +83,7 @@ public static class FactoryPatch BoostFuelPower.Enable(BoostFuelPowerEnabled.Value); BoostGeothermalPower.Enable(BoostGeothermalPowerEnabled.Value); GreaterPowerUsageInLogistics.Enable(GreaterPowerUsageInLogisticsEnabled.Value); + ControlPanelRemoteLogistics.Enable(ControlPanelRemoteLogisticsEnabled.Value); _factoryPatch = Harmony.CreateAndPatchAll(typeof(FactoryPatch)); } @@ -98,6 +101,7 @@ public static class FactoryPatch BoostFuelPower.Enable(false); BoostGeothermalPower.Enable(false); GreaterPowerUsageInLogistics.Enable(false); + ControlPanelRemoteLogistics.Enable(false); } public static void OnUpdate() @@ -1469,4 +1473,134 @@ public static class FactoryPatch return matcher.InstructionEnumeration(); } } + + private static class ControlPanelRemoteLogistics + { + private static Harmony _patch; + + public static void Enable(bool enable) + { + if (enable) + { + _patch ??= Harmony.CreateAndPatchAll(typeof(ControlPanelRemoteLogistics)); + } + else + { + _patch?.UnpatchSelf(); + _patch = null; + } + } + + [HarmonyTranspiler] + [HarmonyPatch(typeof(UIControlPanelDispenserInspector), nameof(UIControlPanelDispenserInspector.OnItemIconMouseDown))] + [HarmonyPatch(typeof(UIControlPanelDispenserInspector), nameof(UIControlPanelDispenserInspector.OnHoldupItemClick))] + [HarmonyPatch(typeof(UIControlPanelDispenserInspector), nameof(UIControlPanelDispenserInspector.OnCourierIconClick))] + private static IEnumerable UIControlPanelDispenserInspector_OnItemIconMouseDown_Transpiler(IEnumerable instructions) + { + var matcher = new CodeMatcher(instructions); + Label? branch = null; + matcher.MatchForward(false, + new CodeMatch(OpCodes.Ldarg_0), + new CodeMatch(OpCodes.Call, AccessTools.PropertyGetter(typeof(UIControlPanelDispenserInspector), nameof(UIControlPanelDispenserInspector.isLocal))), + new CodeMatch(ci => ci.Branches(out branch)) + ).Repeat( + m => + { + if (branch == null) + { + m.Advance(3); + return; + } + var labels = m.Labels; + m.RemoveInstructions(3).InsertAndAdvance( + new CodeInstruction(OpCodes.Br, branch.Value).WithLabels(labels) + ); + } + ); + return matcher.InstructionEnumeration(); + } + + [HarmonyTranspiler] + [HarmonyPatch(typeof(UIControlPanelStationInspector), nameof(UIControlPanelStationInspector.OnShipIconClick))] + [HarmonyPatch(typeof(UIControlPanelStationInspector), nameof(UIControlPanelStationInspector.OnWarperIconClick))] + [HarmonyPatch(typeof(UIControlPanelStationInspector), nameof(UIControlPanelStationInspector.OnDroneIconClick))] + private static IEnumerable UIControlPanelStationInspector_OnShipIconClick_Transpiler(IEnumerable instructions) + { + var matcher = new CodeMatcher(instructions); + Label? branch = null; + matcher.MatchForward(false, + new CodeMatch(OpCodes.Ldarg_0), + new CodeMatch(OpCodes.Call, AccessTools.PropertyGetter(typeof(UIControlPanelStationInspector), nameof(UIControlPanelStationInspector.isLocal))), + new CodeMatch(ci => ci.Branches(out branch)) + ).Repeat( + m => + { + if (branch == null) + { + m.Advance(3); + return; + } + var labels = m.Labels; + m.RemoveInstructions(3).InsertAndAdvance( + new CodeInstruction(OpCodes.Br, branch.Value).WithLabels(labels) + ); + } + ); + return matcher.InstructionEnumeration(); + } + + [HarmonyTranspiler] + [HarmonyPatch(typeof(UIControlPanelStationStorage), nameof(UIControlPanelStationStorage.OnItemIconMouseDown))] + private static IEnumerable UIControlPanelStationStorage_OnItemIconMouseDown_Transpiler(IEnumerable instructions) + { + var matcher = new CodeMatcher(instructions); + Label? branch = null; + matcher.MatchForward(false, + new CodeMatch(OpCodes.Ldarg_0), + new CodeMatch(OpCodes.Call, AccessTools.PropertyGetter(typeof(UIControlPanelStationStorage), nameof(UIControlPanelStationStorage.isLocal))), + new CodeMatch(ci => ci.Branches(out branch)) + ).Repeat( + m => + { + if (branch == null) + { + m.Advance(3); + return; + } + var labels = m.Labels; + m.RemoveInstructions(3).InsertAndAdvance( + new CodeInstruction(OpCodes.Br, branch.Value).WithLabels(labels) + ); + } + ); + return matcher.InstructionEnumeration(); + } + + [HarmonyTranspiler] + [HarmonyPatch(typeof(UIControlPanelVeinCollectorPanel), nameof(UIControlPanelVeinCollectorPanel.OnProductIconClick))] + private static IEnumerable UIControlPanelVeinCollectorPanel_OnProductIconClick_Transpiler(IEnumerable instructions) + { + var matcher = new CodeMatcher(instructions); + Label? branch = null; + matcher.MatchForward(false, + new CodeMatch(OpCodes.Ldarg_0), + new CodeMatch(OpCodes.Call, AccessTools.PropertyGetter(typeof(UIControlPanelVeinCollectorPanel), "isLocal")), + new CodeMatch(ci => ci.Branches(out branch)) + ).Repeat( + m => + { + if (branch == null) + { + m.Advance(3); + return; + } + var labels = m.Labels; + m.RemoveInstructions(3).InsertAndAdvance( + new CodeInstruction(OpCodes.Br, branch.Value).WithLabels(labels) + ); + } + ); + return matcher.InstructionEnumeration(); + } + } } \ No newline at end of file diff --git a/CheatEnabler/README.md b/CheatEnabler/README.md index 94fb682..7be57e8 100644 --- a/CheatEnabler/README.md +++ b/CheatEnabler/README.md @@ -3,120 +3,6 @@ #### Add various cheat functions while disabling abnormal determinants #### 添加一些作弊功能,同时屏蔽异常检测 -## Changlog -* 2.3.19 - + New features: - + `Remove all metadata consumption records` - + `Remove metadata consumption record in current game` - + `Clear metadata flag which bans achievements` -* 2.3.18 - + New features: - + `Teleport to outer space`, this will teleport you to the outer space which is 50 LYs far from the farthest star. - + `Teleport to selected astronomical` - + Fix logic of `Unlock techs with key-modifiers`. - + `No condition build` does not hide rotation info of belts now. -* 2.3.17 - + Make compatible with game version 0.10.30.23292 -* 2.3.16 - + Add 2 options to `Belt signal item generation`: - - `Count generations as production in statistics` - - `Count removals as consumption in statistics` - + New feature: `Increase maximum power usage in Logistic Stations and Advanced Mining Machines` - - Logistic Stations: Increased max charging power to 3GW(ILS) and 600MW(PLS) (10x of original) - - Advanced Mining Machines: Increased max mining speed to 1000% -* 2.3.15 - + New features: - - `Instant teleport (like that in Sandbox mode)` - - `Mecha and Drones/Fleets invicible` - - `Buildings invicible` -* 2.3.14 - + Remove default shortcut key for `No condition build` and `No collision`, to avoid misoperation. You can still set them in system settings window manually if needed. - + Fix translation issue. -* 2.3.13 - + Fix a bug that shortcuts are not working and have display issue on settings window. -* 2.3.12 - + Add a shortcut to toggle `No collision`, you can modify the shortcut on system settings window. - + Add realtime tips when toggling `No condition build` and `No collision` with shortcuts. -* 2.3.11 - + Add a shortcut to toggle `No condition build`, you can modify the shortcut on system settings window. This depends on [UXAssist](https://dsp.thunderstore.io/package/soarqin/UXAssist) 1.0.15 or later. -* 2.3.10 - + Fix following functions not working in new game updates: - - `Pump Anywhere` - - `Terraform without enough soil piles` -* 2.3.9 - + Support game version 0.10.28.21219 -* 2.3.8 - + Fix a crash on starting new games while `Finish build immediately` is enabled. - + Fix UI button width. -* 2.3.7 - + Support game version 0.10.28.20759 - + Fix belt signal that items' generation speed is not fit to number set sometimes. -* 2.3.6 - + Support for UXAssist's new function within `Finish build immediately`. - + Add a warning message when `Build without condition` is enabled. - + Fix an issue in `Finish build immediately` that some buildings are not finished immediately. -* 2.3.5 - + Fix another crash in `Skip bullet period`. -* 2.3.4 - + Use new tab layout of UXAssist 1.0.2 - + Minor bug fixes -* 2.3.3 - + Fix a crash in `Skip bullet period`. - + Unlock techs with Alt unlocks VeinUtil to 10000 instead of 7200 now, as bug fixed in UXAssist. -* 2.3.2 - + Birth star options moved to [UniverseGenTweaks](https://dsp.thunderstore.io/package/soarqin/UniverseGenTweaks/) - + Optimize `Quick absorb`, consumes less CPU time and take turns firing to nodes. - + `Fast Mining` ensures full output of oil extractors now. - + Fix issue that `Belt signal generator` not working after switched off then on again. - + Fix absorption issue by `Quick absorb` and `Skip bullet period` enabled at the same time. - + Crash fix for some options -* 2.3.1 - + Add UXAssist to dependencies in manifest. -* 2.3.0 - + Move some functions to an individual mod: [UXAssist](https://dsp.thunderstore.io/package/soarqin/UXAssist) - + Depends on [UXAssist](https://dsp.thunderstore.io/package/soarqin/UXAssist) now, so that config panel is unified with UXAssist. - + Remove `LCtrl+A` from Dev Shortcuts, to avoid misoperation. - + Infinite bots/drones/vessels in `Architect mode` now. -* 2.2.7 - + New function: `Construct only nodes but frames` - + Opening config panel does not close inventory panel now - + Remove `Input direction conflict` check while using `Remove some build conditions` - + Fix a bug that prevents `Belt signal alt format` from switching number formats for current belt signals -* 2.2.6 - + New function: `Stop ejectors when available nodes are all filled up` - + Fix a bug that absorb solar sails on unfinised nodes -* 2.2.5 - + Skip all intermediate states and absorb solar sails instantly while enable `Quick absorb`, `Skip bullet period` and `Skip absorption period` at the same time. - + Fix a problem that `Quick absorb` does not absorb all solar sails instantly when most nodes are full. - + Fix crash while using with some mods -* 2.2.4 - + New function: `Enable player actions in globe view` - + Fix UI bug -* 2.2.3 - + New function: `Remove some build conditions` - + Fix compatibility with some mods -* 2.2.2 - + New function: `Assign gamesave to currrnet account` - + New subfunction: `Belt signal alt format` - + Fix a crash on using `Initialize this Planet` - + Fix belt build in `Finish build immediately` -* 2.2.1 - + Check condition for miners even when `Build without condition` is enabled. - + Fix a patch issue that may cause `Build without condition` not working. -* 2.2.0 - + Add some power related functions - + Add a subfunction to belt signal item generation, which simulates production process of raws and intermediates on statistics - + Split some functions from Architect mode -* 2.1.0 - + Belt signal item generation - + Fix window display priority which may cause tips to be covered by main window -* 2.0.0 - + Refactorying codes - + UI implementation - + Add a lot of functions -* 1.0.0 - + Initial release - ## Usage * Config panel is unified with UXAssist. @@ -143,6 +29,7 @@ + Increase maximum power usage in Logistic Stations and Advanced Mining Machines - Logistic Stations: Increased max charging power to 3GW(ILS) and 600MW(PLS) (10x of original) - Advanced Mining Machines: Increased max mining speed to 1000% + + Retrieve/Place items from/to remote planets on logistics control panel + Remove space limit between wind turbines and solar panels + Boost power generations for kinds of power generators + Planet: @@ -172,119 +59,6 @@ * [BepInEx](https://bepinex.dev/): Base modding framework * [Multifunction_mod](https://github.com/blacksnipebiu/Multifunction_mod): Some cheat functions -## 更新日志 -* 2.3.19 - + 新功能: - + `移除所有元数据消耗记录` - + `移除当前存档的元数据消耗记录` - + `解除当前存档因使用元数据导致的成就限制` -* 2.3.18 - + 新功能: - + `传送到外太空`,这会将你传送到距离最远星球50光年的外太空 - + `传送到选中天体` - + 修复了`组合键解锁科技`的逻辑 - + `无条件建造`现在不会隐藏传送带的旋转信息了 -* 2.3.17 - + 适配游戏版本0.10.30.23292 -* 2.3.16 - + 为`传送带信号物品生成`添加了两个选项: - - `统计信息里将生成计算为产物` - - `统计信息里将移除计算为消耗` - + 新功能:`提升物流塔和大型采矿机的最大功耗` - - 物流塔:将最大充电功率提高到3GW(星际物流塔)和600MW(行星物流塔)(原来的10倍) - - 大型采矿机:将最大采矿速度提高到1000% -* 2.3.15 - + 新功能: - - `快速传送(和沙盒模式一样)` - - `机甲和战斗无人机无敌` - - `建筑无敌` -* 2.3.14 - + 移除了`无条件建造`和`无碰撞`的默认快捷键,以避免误操作。如有需要请手动在系统选项窗口中设置。 - + 修复了翻译问题。 -* 2.3.13 - + 修复了快捷键无效和设置窗口上的按键显示问题 -* 2.3.12 - + 添加了一个快捷键来切换`无碰撞`,你可以在系统设置面板中修改快捷键。 - + 在使用快捷键切换`无条件建造`和`无碰撞`时添加了实时提示信息。 -* 2.3.11 - + 添加了一个快捷键来切换`无条件建造`,你可以在系统设置面板中修改快捷键。这依赖于[UXAssist](https://dsp.thunderstore.io/package/soarqin/UXAssist) 1.0.15或更高版本 -* 2.3.10 - + 修复了以下功能在新游戏版本中不生效的问题: - - `平地抽水` - - `沙土不够时依然可以整改地形` -* 2.3.9 - + 支持游戏版本0.10.28.21219 -* 2.3.8 - + 修复了启用`建造秒完成`时开新游戏可能导致崩溃的问题 - + 修复了UI按钮宽度 -* 2.3.7 - + 支持游戏版本0.10.28.20759 - + 修复了传送带信号有时候物品生成速度和设置不匹配的问题 -* 2.3.6 - + 在`建造秒完成`中支持UXAssist的新功能 - + 在启用`无条件建造`时添加警告信息 - + 修复了`建造秒完成`可能导致部分建筑无法立即完成的问题 -* 2.3.5 - + 修复了`跳过子弹阶段`可能导致崩溃的问题 -* 2.3.4 - + 使用UXAssist 1.0.2的新页签布局 - + 修复了一些小bug -* 2.3.3 - + 修复了`跳过子弹阶段`可能导致崩溃的问题 - + 使用Alt解锁科技时,现在`矿物利用`的科技解锁到10000级而不是7200级,因为UXAssist已修复对应bug -* 2.3.2 - + 母星系的选项移动到了[UniverseGenTweaks](https://dsp.thunderstore.io/package/soarqin/UniverseGenTweaks/) - + 优化了`快速吸收`,现在消耗更少的CPU,并且会轮流打向各节点 - + `高速采集`现在可以保证油井的最大产出 - + 修复了`传送带信号物品生成`在选项关闭后再次启用时不生效的问题 - + 修复了`快速吸收`和`跳过子弹阶段`同时启用时可能导致吸收计算错误的问题 - + 修复了一些选项可能导致崩溃的问题 -* 2.3.1 - + 在manifest中添加UXAssist到依赖 -* 2.3.0 - + 将部分功能移动到单独的mod:[UXAssist](https://dsp.thunderstore.io/package/soarqin/UXAssist) - + 现在依赖[UXAssist](https://dsp.thunderstore.io/package/soarqin/UXAssist),因此配置面板与UXAssist合并 - + 从开发模式快捷键中移除`LCtrl+A`,以避免误操作 - + 现在`建筑师模式`中配送机/物流机/物流船也无限了 -* 2.2.7 - + 新功能:`只建造节点不建造框架` - + 打开设置面板时不再关闭背包面板 - + 在`移除部分不影响游戏逻辑的建造条件`启用时移除`输入方向冲突`的检查条件 - + 修复导致`传送带信号替换格式`不切换传送带信号数字格式的问题 -* 2.2.6 - + 新功能:`可用节点全部造完时停止弹射` - + 修复了在未完成的节点上吸收太阳帆的问题 -* 2.2.5 - + 在同时启用`快速吸收`、`跳过子弹阶段`和`跳过吸收阶段`时,所有弹射的太阳帆会跳过所有中间环节立即吸收 - + 修复了`快速吸收`在大部分节点已满时无法立即吸收所有太阳帆的问题 - + 修复了与一些mod的兼容性问题 -* 2.2.4 - + 新功能:`在行星视图中允许玩家操作` - + 修复了UI显示问题 -* 2.2.3 - + 新功能:`移除部分不影响游戏逻辑的建造条件` - + 修复了与一些mod的兼容性问题 -* 2.2.2 - + 新功能:`将游戏存档绑定给当前账号` - + 新子功能:`传送带信号替换格式` - + 修复了`初始化本行星`可能导致崩溃的问题 - + 修复了`建造秒完成`中传送带建造的问题 -* 2.2.1 - + 即使在启用`无条件建造`时依然检查矿机的建造条件 - + 修复一个可能导致`无条件建造`不生效的问题 -* 2.2.0 - + 添加了一些发电相关功能 - + 为传送带信号物品生成添加了一个子功能,在统计面板模拟了原材料和中间产物的生产过程 - + 从建筑师模式中分离了一些功能 -* 2.1.0 - + 传送带信号物品生成 - + 修复窗口显示优先级可能导致提示信息被主窗口遮挡的问题 -* 2.0.0 - + 重构代码 - + UI实现 - + 添加了很多功能 -* 1.0.0 - + 初始版本 ## 使用说明 @@ -312,6 +86,7 @@ + 提升物流塔和大型采矿机的最大功耗 - 物流塔:将最大充电功率提高到3GW(星际物流塔)和600MW(行星物流塔)(原来的10倍) - 大型采矿机:将最大采矿速度提高到1000% + + 在物流总控面板上可以从非本地行星取放物品 + 风力发电机和太阳能板无间距限制 + 提升各种发电设备发电量 + 行星: diff --git a/CheatEnabler/UIConfigWindow.cs b/CheatEnabler/UIConfigWindow.cs index 90f91a6..0a9464b 100644 --- a/CheatEnabler/UIConfigWindow.cs +++ b/CheatEnabler/UIConfigWindow.cs @@ -51,6 +51,7 @@ public static class UIConfigWindow I18N.Add("Boost fuel power 2", "(x20,000 for deuteron, x10,000 for antimatter)", "(氘核燃料棒x20,000,反物质燃料棒x10,000)"); I18N.Add("Boost geothermal power", "Boost geothermal power(x50,000)", "提升地热发电(x50,000)"); I18N.Add("Increase maximum power usage in Logistic Stations and Advanced Mining Machines", "Increase maximum power usage in Logistic Stations and Advanced Mining Machines", "提升物流塔和大型采矿机的最大功耗"); + I18N.Add("Retrieve/Place items from/to remote planets on logistics control panel", "Retrieve/Place items from/to remote planets on logistics control panel", "在物流总控面板上可以从非本地行星取放物品"); I18N.Add("Infinite Natural Resources", "Infinite natural resources", "自然资源采集不消耗"); I18N.Add("Fast Mining", "Fast mining", "高速采集"); I18N.Add("Pump Anywhere", "Pump anywhere", "平地抽水"); @@ -129,6 +130,8 @@ public static class UIConfigWindow x = 0f; y += 30f; MyCheckBox.CreateCheckBox(x, y, tab2, FactoryPatch.GreaterPowerUsageInLogisticsEnabled, "Increase maximum power usage in Logistic Stations and Advanced Mining Machines"); + y += 36f; + MyCheckBox.CreateCheckBox(x, y, tab2, FactoryPatch.ControlPanelRemoteLogisticsEnabled, "Retrieve/Place items from/to remote planets on logistics control panel"); FactoryPatch.BeltSignalGeneratorEnabled.SettingChanged += (_, _) => { diff --git a/CheatEnabler/package/manifest.json b/CheatEnabler/package/manifest.json index 2419243..df17b71 100644 --- a/CheatEnabler/package/manifest.json +++ b/CheatEnabler/package/manifest.json @@ -1,6 +1,6 @@ { "name": "CheatEnabler", - "version_number": "2.3.19", + "version_number": "2.3.20", "website_url": "https://github.com/soarqin/DSP_Mods/tree/master/CheatEnabler", "description": "Add various cheat functions while disabling abnormal determinants / 添加一些作弊功能,同时屏蔽异常检测", "dependencies": [