1
0
mirror of https://github.com/soarqin/DSP_Mods.git synced 2025-12-08 20:53:28 +08:00

UniverseGenTweaks 1.2.7

This commit is contained in:
2024-05-30 15:42:18 +08:00
parent 2741069bc7
commit 57c5993692
6 changed files with 29 additions and 23 deletions

View File

@@ -16,7 +16,7 @@
<ItemGroup>
<PackageReference Include="BepInEx.Core" Version="5.*" />
<PackageReference Include="BepInEx.PluginInfoProps" Version="1.*" />
<PackageReference Include="DysonSphereProgram.GameLibs" Version="0.10.29.22015-r.0" />
<PackageReference Include="DysonSphereProgram.GameLibs" Version="*-r.*" />
<PackageReference Include="UnityEngine.Modules" Version="2018.4.12" IncludeAssets="compile" />
</ItemGroup>

View File

@@ -15,7 +15,7 @@
<ItemGroup>
<PackageReference Include="BepInEx.Core" Version="5.*" />
<PackageReference Include="BepInEx.PluginInfoProps" Version="1.*" />
<PackageReference Include="DysonSphereProgram.GameLibs" Version="0.10.29.22015-r.0" />
<PackageReference Include="DysonSphereProgram.GameLibs" Version="*-r.*" />
<PackageReference Include="UnityEngine.Modules" Version="2018.4.12" IncludeAssets="compile" />
<PackageReference Include="DysonSphereProgram.Modding.CommonAPI" Version="1.6.5" />
</ItemGroup>

View File

@@ -85,7 +85,7 @@ public static class EpicDifficulty
[HarmonyPatch(typeof(UIGalaxySelect), nameof(UIGalaxySelect._OnInit))]
private static void PatchGalaxyUI_OnInit(UIGalaxySelect __instance)
{
__instance.resourceMultiplierSlider.maxValue = 10f;
__instance.resourceMultiplierSlider.maxValue = 11f;
}
[HarmonyPrefix]
@@ -97,14 +97,15 @@ public static class EpicDifficulty
{
< 0.5f => ResourceMultiplier.Value,
< 1.5f => 0.1f,
< 2.5f => 0.5f,
< 3.5f => 0.8f,
< 4.5f => 1f,
< 5.5f => 1.5f,
< 6.5f => 2f,
< 7.5f => 3f,
< 8.5f => 5f,
< 9.5f => 8f,
< 2.5f => 0.3f,
< 3.5f => 0.5f,
< 4.5f => 0.8f,
< 5.5f => 1f,
< 6.5f => 1.5f,
< 7.5f => 2f,
< 8.5f => 3f,
< 9.5f => 5f,
< 10.5f => 8f,
_ => 100f
};
__instance.UpdateParametersUIDisplay();
@@ -121,15 +122,16 @@ public static class EpicDifficulty
{
< 0.09f => 0f,
< 0.11f => 1f,
< 0.51f => 2f,
< 0.81f => 3f,
< 1.01f => 4f,
< 1.51f => 5f,
< 2.01f => 6f,
< 3.01f => 7f,
< 5.01f => 8f,
< 8.01f => 9f,
_ => 10f
< 0.31f => 2f,
< 0.51f => 3f,
< 0.81f => 4f,
< 1.01f => 5f,
< 1.51f => 6f,
< 2.01f => 7f,
< 3.01f => 8f,
< 5.01f => 9f,
< 8.01f => 10f,
_ => 11f
};
text = resourceMultiplier switch
{

View File

@@ -4,6 +4,8 @@
#### 宇宙生成参数调节
## Changelog
* 1.2.7
* `Epic difficulty`: Fix compatibility for 0.10.30, with new resource multiplier 0.3x supported.
* 1.2.6
+ Fix possible crash or wrong stars data when loading save file with changed generation settings but with `Enable more settings on UniverseGen` disabled on config window.
+ Larger maximum value in combat settings (except `Aggressiveness` and `Max Density`).
@@ -45,6 +47,8 @@
* High luminosity for birth star
## 更新日志
* 1.2.7
* `史诗难度`: 修复了对0.10.30版本的兼容性支持新的资源倍率0.3x
* 1.2.6
+ 修复了在存档中更改了生成参数但是在配置面板中禁用了`启用更多宇宙生成设置`时可能崩溃或者星系数据错误的问题
+ 在星系生成时的战斗设置面板上提升了各选项的最大值(`黑雾攻击性``最大黑雾密度`除外`)

View File

@@ -6,7 +6,7 @@
<AssemblyName>UniverseGenTweaks</AssemblyName>
<BepInExPluginGuid>org.soardev.universegentweaks</BepInExPluginGuid>
<Description>DSP MOD - UniverseGenTweaks</Description>
<Version>1.2.6</Version>
<Version>1.2.7</Version>
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
<LangVersion>latest</LangVersion>
<RestoreAdditionalProjectSources>https://nuget.bepinex.dev/v3/index.json</RestoreAdditionalProjectSources>

View File

@@ -1,11 +1,11 @@
{
"name": "UniverseGenTweaks",
"version_number": "1.2.6",
"version_number": "1.2.7",
"website_url": "https://github.com/soarqin/DSP_Mods/tree/master/UniverseGenTweaks",
"description": "Universe Generation Tweaks / 宇宙生成参数调节",
"dependencies": [
"xiaoye97-BepInEx-5.4.17",
"CommonAPI-DSPModSave-1.2.0",
"soarqin-UXAssist-1.0.5"
"soarqin-UXAssist-1.0.25"
]
}