1
0
mirror of https://github.com/soarqin/DSP_Mods.git synced 2025-12-09 04:13:32 +08:00

CheatEnabler v2.3.2, UniverseGenTweaks v1.2.0, UXAssist v1.0.1

This commit is contained in:
2023-10-16 14:37:32 +08:00
parent 3379745963
commit 5d9085d8dc
5 changed files with 50 additions and 29 deletions

View File

@@ -6,7 +6,10 @@
## Changlog ## Changlog
* 2.3.2 * 2.3.2
+ Birth star options moved to [UniverseGenTweaks](https://dsp.thunderstore.io/package/soarqin/UniverseGenTweaks/) + 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. + `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 + Crash fix for some options
* 2.3.1 * 2.3.1
+ Add UXAssist to dependencies in manifest. + Add UXAssist to dependencies in manifest.
@@ -99,7 +102,10 @@
## 更新日志 ## 更新日志
* 2.3.2 * 2.3.2
+ 母星系的选项移动到了[UniverseGenTweaks](https://dsp.thunderstore.io/package/soarqin/UniverseGenTweaks/) + 母星系的选项移动到了[UniverseGenTweaks](https://dsp.thunderstore.io/package/soarqin/UniverseGenTweaks/)
+ 优化了`快速吸收`现在消耗更少的CPU并且会轮流打向各节点
+ `高速采集`现在可以保证油井的最大产出 + `高速采集`现在可以保证油井的最大产出
+ 修复了`传送带信号物品生成`在选项关闭后再次启用时不生效的问题
+ 修复了`快速吸收``跳过子弹阶段`同时启用时可能导致吸收计算错误的问题
+ 修复了一些选项可能导致崩溃的问题 + 修复了一些选项可能导致崩溃的问题
* 2.3.1 * 2.3.1
+ 在manifest中添加UXAssist到依赖 + 在manifest中添加UXAssist到依赖

View File

@@ -6,7 +6,8 @@
## Changlog ## Changlog
* 1.0.1 * 1.0.1
+ Fix config button text and tips while returning to title menu. + Fix config button text and tips while returning to title menu.
+ Add a patch to fix the bug that warning popup on `Veins Utilization` upgraded to level 8000+ + Fix that error occurs while returning to title menu, with `Stop ejectors when available nodes are all filled up` enabled.
+ Add a patch to fix the bug that warning popup on `Veins Utilization` upgraded to level 8000+.
* 1.0.0 * 1.0.0
+ Initial release + Initial release
+ Functions moved from [MechaDronesTweaks](https://dsp.thunderstore.io/package/soarqin/MechaDronesTweaks/) and [CheatEnabler](https://dsp.thunderstore.io/package/soarqin/CheatEnabler/) + Functions moved from [MechaDronesTweaks](https://dsp.thunderstore.io/package/soarqin/MechaDronesTweaks/) and [CheatEnabler](https://dsp.thunderstore.io/package/soarqin/CheatEnabler/)
@@ -47,6 +48,7 @@
## 更新日志 ## 更新日志
* 1.0.1 * 1.0.1
+ 修复了返回标题界面后设置按钮文本和提示信息不正确的问题 + 修复了返回标题界面后设置按钮文本和提示信息不正确的问题
+ 修复了`当可用节点全部造完时停止弹射`选项启用时返回标题界面可能导致崩溃的问题
+ 添加了一个补丁,修复了`矿物利用`升级到8000级以上时弹出警告的bug + 添加了一个补丁,修复了`矿物利用`升级到8000级以上时弹出警告的bug
* 1.0.0 * 1.0.0
+ 初始版本 + 初始版本

View File

@@ -119,5 +119,4 @@ public class MySlider : MonoBehaviour
OnValueChanged?.Invoke(); OnValueChanged?.Invoke();
} }
} }
} }

View File

@@ -16,13 +16,14 @@
+ Initial release + Initial release
## Features ## Features
1. More options on universe generation * Depends on [UXAssist](https://dsp.thunderstore.io/package/soarqin/UXAssist/), all tabs around with '+' are options for this mod.
* More options on universe generation
* Can set maximum star count(128 by default, up to 1024) in config file. * Can set maximum star count(128 by default, up to 1024) in config file.
+ Note: there is performance issue on galaxy view with large amount of stars. + Note: there is performance issue on galaxy view with large amount of stars.
2. Epic difficulty * Epic difficulty
* 0.01x resources and 0.25x oils (very hard difficulty has 0.5x oils). * 0.01x resources and 0.25x oils (very hard difficulty has 0.5x oils).
* Same oil mining speed as very hard difficuly * Same oil mining speed as very hard difficuly
3. Birth star * Birth star
* Rare resources on birth planet * Rare resources on birth planet
* Solid flat on birth planet * Solid flat on birth planet
* High luminosity for birth star * High luminosity for birth star
@@ -31,7 +32,7 @@
* 1.2.0 * 1.2.0
+ 现在依赖于[UXAssist](https://dsp.thunderstore.io/package/soarqin/UXAssist/) + 现在依赖于[UXAssist](https://dsp.thunderstore.io/package/soarqin/UXAssist/)
+ 增加`母星系`选项 + 增加`母星系`选项
+ 在UXAssist的配置面板中增加了一个选项卡 + 在UXAssist的配置面板中增加了一个页签
* 1.1.0 * 1.1.0
+ 增加史诗难度 + 增加史诗难度
+ `更多选项``史诗难度`现在可以单独启用 + `更多选项``史诗难度`现在可以单独启用
@@ -40,13 +41,14 @@
+ 初始版本 + 初始版本
## 功能 ## 功能
1. 生成宇宙时提供更多选项 * 依赖于[UXAssist](https://dsp.thunderstore.io/package/soarqin/UXAssist/),所有带有'+'的页签都是本mod的选项
* 生成宇宙时提供更多选项
* 可以在配置文件中设置最大恒星数(默认128, 最多1024) * 可以在配置文件中设置最大恒星数(默认128, 最多1024)
+ 注意: 大量恒星会导致宇宙视图出现性能问题 + 注意: 大量恒星会导致宇宙视图出现性能问题
2. 史诗难度 * 史诗难度
* 资源0.01倍油井储量0.25倍(极难是0.5倍) * 资源0.01倍油井储量0.25倍(极难是0.5倍)
* 采油速度和极难相同 * 采油速度和极难相同
3. 母星系 * 母星系
* 母星有稀有资源 * 母星有稀有资源
* 母星是纯平的 * 母星是纯平的
* 母星系恒星高亮 * 母星系恒星高亮

View File

@@ -13,6 +13,7 @@ public static class UIConfigWindow
I18N.Add("GalaxyGen", "+UniverseGen+", "+宇宙生成+"); I18N.Add("GalaxyGen", "+UniverseGen+", "+宇宙生成+");
I18N.Add("Enable more settings on UniverseGen", "Enable more settings on UniverseGen", "启用更多宇宙生成设置"); I18N.Add("Enable more settings on UniverseGen", "Enable more settings on UniverseGen", "启用更多宇宙生成设置");
I18N.Add("* Requires game restart to take effect", "* Requires game restart to take effect", "* 需要重启游戏才能生效"); I18N.Add("* Requires game restart to take effect", "* Requires game restart to take effect", "* 需要重启游戏才能生效");
I18N.Add("Maximum star count", "Maximum star count", "最大恒星数");
I18N.Add("Enable Epic difficulty", "Enable Epic difficulty", "启用史诗难度"); I18N.Add("Enable Epic difficulty", "Enable Epic difficulty", "启用史诗难度");
I18N.Add("Resource multiplier", "Resource multiplier", "资源倍率"); I18N.Add("Resource multiplier", "Resource multiplier", "资源倍率");
I18N.Add("Oil multiplier (relative to Very Hard)", "Oil multiplier (relative to Very Hard)", "石油倍率(相对于非常困难)"); I18N.Add("Oil multiplier (relative to Very Hard)", "Oil multiplier (relative to Very Hard)", "石油倍率(相对于非常困难)");
@@ -43,6 +44,17 @@ public static class UIConfigWindow
MyWindow.AddText(x, y, tab, "* Requires game restart to take effect", 13); MyWindow.AddText(x, y, tab, "* Requires game restart to take effect", 13);
x -= 20f; x -= 20f;
y += 36f; y += 36f;
x += 10f;
MyWindow.AddText(x, y, tab, "Maximum star count", 16);
x += 20f;
y += 26f;
var sl0 = MySlider.CreateSlider(x, y, tab, (float)MoreSettings.MaxStarCount.Value, 64f, 1024f, "G", 240f);
sl0.OnValueChanged += () =>
{
sl0.Value = MoreSettings.MaxStarCount.Value = (Mathf.RoundToInt(sl0.Value) + 7) & ~7;
};
x -= 30f;
y += 36f;
MyCheckBox.CreateCheckBox(x, y, tab, EpicDifficulty.Enabled, "Enable Epic difficulty"); MyCheckBox.CreateCheckBox(x, y, tab, EpicDifficulty.Enabled, "Enable Epic difficulty");
y += 36f; y += 36f;
x += 10f; x += 10f;
@@ -50,13 +62,13 @@ public static class UIConfigWindow
x += 20f; x += 20f;
y += 26f; y += 26f;
var index = EpicDifficulty.ResourceMultiplierToIndex(EpicDifficulty.ResourceMultiplier.Value); var index = EpicDifficulty.ResourceMultiplierToIndex(EpicDifficulty.ResourceMultiplier.Value);
var sl = MySlider.CreateSlider(x, y, tab, index, 0f, (float)EpicDifficulty.ResourceMultipliersCount() - 1, "G", 240f); var sl1 = MySlider.CreateSlider(x, y, tab, index, 0f, (float)EpicDifficulty.ResourceMultipliersCount() - 1, "G", 240f);
sl.SetLabelText(EpicDifficulty.IndexToResourceMultiplier(Mathf.RoundToInt(sl.Value)).ToString(sl.labelFormat)); sl1.SetLabelText(EpicDifficulty.IndexToResourceMultiplier(Mathf.RoundToInt(sl1.Value)).ToString(sl1.labelFormat));
sl.OnValueChanged += () => sl1.OnValueChanged += () =>
{ {
var val = EpicDifficulty.IndexToResourceMultiplier(Mathf.RoundToInt(sl.Value)); var val = EpicDifficulty.IndexToResourceMultiplier(Mathf.RoundToInt(sl1.Value));
EpicDifficulty.ResourceMultiplier.Value = val; EpicDifficulty.ResourceMultiplier.Value = val;
sl.SetLabelText(val.ToString(sl.labelFormat)); sl1.SetLabelText(val.ToString(sl1.labelFormat));
}; };
x -= 30f; x -= 30f;
y += 31f; y += 31f;