mirror of
https://github.com/soarqin/DSP_Mods.git
synced 2025-12-08 21:33:28 +08:00
UniverseGenTweaks 1.2.7
This commit is contained in:
@@ -16,7 +16,7 @@
|
|||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<PackageReference Include="BepInEx.Core" Version="5.*" />
|
<PackageReference Include="BepInEx.Core" Version="5.*" />
|
||||||
<PackageReference Include="BepInEx.PluginInfoProps" Version="1.*" />
|
<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="UnityEngine.Modules" Version="2018.4.12" IncludeAssets="compile" />
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
|
|
||||||
|
|||||||
@@ -15,7 +15,7 @@
|
|||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<PackageReference Include="BepInEx.Core" Version="5.*" />
|
<PackageReference Include="BepInEx.Core" Version="5.*" />
|
||||||
<PackageReference Include="BepInEx.PluginInfoProps" Version="1.*" />
|
<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="UnityEngine.Modules" Version="2018.4.12" IncludeAssets="compile" />
|
||||||
<PackageReference Include="DysonSphereProgram.Modding.CommonAPI" Version="1.6.5" />
|
<PackageReference Include="DysonSphereProgram.Modding.CommonAPI" Version="1.6.5" />
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
|
|||||||
@@ -85,7 +85,7 @@ public static class EpicDifficulty
|
|||||||
[HarmonyPatch(typeof(UIGalaxySelect), nameof(UIGalaxySelect._OnInit))]
|
[HarmonyPatch(typeof(UIGalaxySelect), nameof(UIGalaxySelect._OnInit))]
|
||||||
private static void PatchGalaxyUI_OnInit(UIGalaxySelect __instance)
|
private static void PatchGalaxyUI_OnInit(UIGalaxySelect __instance)
|
||||||
{
|
{
|
||||||
__instance.resourceMultiplierSlider.maxValue = 10f;
|
__instance.resourceMultiplierSlider.maxValue = 11f;
|
||||||
}
|
}
|
||||||
|
|
||||||
[HarmonyPrefix]
|
[HarmonyPrefix]
|
||||||
@@ -97,14 +97,15 @@ public static class EpicDifficulty
|
|||||||
{
|
{
|
||||||
< 0.5f => ResourceMultiplier.Value,
|
< 0.5f => ResourceMultiplier.Value,
|
||||||
< 1.5f => 0.1f,
|
< 1.5f => 0.1f,
|
||||||
< 2.5f => 0.5f,
|
< 2.5f => 0.3f,
|
||||||
< 3.5f => 0.8f,
|
< 3.5f => 0.5f,
|
||||||
< 4.5f => 1f,
|
< 4.5f => 0.8f,
|
||||||
< 5.5f => 1.5f,
|
< 5.5f => 1f,
|
||||||
< 6.5f => 2f,
|
< 6.5f => 1.5f,
|
||||||
< 7.5f => 3f,
|
< 7.5f => 2f,
|
||||||
< 8.5f => 5f,
|
< 8.5f => 3f,
|
||||||
< 9.5f => 8f,
|
< 9.5f => 5f,
|
||||||
|
< 10.5f => 8f,
|
||||||
_ => 100f
|
_ => 100f
|
||||||
};
|
};
|
||||||
__instance.UpdateParametersUIDisplay();
|
__instance.UpdateParametersUIDisplay();
|
||||||
@@ -121,15 +122,16 @@ public static class EpicDifficulty
|
|||||||
{
|
{
|
||||||
< 0.09f => 0f,
|
< 0.09f => 0f,
|
||||||
< 0.11f => 1f,
|
< 0.11f => 1f,
|
||||||
< 0.51f => 2f,
|
< 0.31f => 2f,
|
||||||
< 0.81f => 3f,
|
< 0.51f => 3f,
|
||||||
< 1.01f => 4f,
|
< 0.81f => 4f,
|
||||||
< 1.51f => 5f,
|
< 1.01f => 5f,
|
||||||
< 2.01f => 6f,
|
< 1.51f => 6f,
|
||||||
< 3.01f => 7f,
|
< 2.01f => 7f,
|
||||||
< 5.01f => 8f,
|
< 3.01f => 8f,
|
||||||
< 8.01f => 9f,
|
< 5.01f => 9f,
|
||||||
_ => 10f
|
< 8.01f => 10f,
|
||||||
|
_ => 11f
|
||||||
};
|
};
|
||||||
text = resourceMultiplier switch
|
text = resourceMultiplier switch
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -4,6 +4,8 @@
|
|||||||
#### 宇宙生成参数调节
|
#### 宇宙生成参数调节
|
||||||
|
|
||||||
## Changelog
|
## Changelog
|
||||||
|
* 1.2.7
|
||||||
|
* `Epic difficulty`: Fix compatibility for 0.10.30, with new resource multiplier 0.3x supported.
|
||||||
* 1.2.6
|
* 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.
|
+ 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`).
|
+ Larger maximum value in combat settings (except `Aggressiveness` and `Max Density`).
|
||||||
@@ -45,6 +47,8 @@
|
|||||||
* High luminosity for birth star
|
* High luminosity for birth star
|
||||||
|
|
||||||
## 更新日志
|
## 更新日志
|
||||||
|
* 1.2.7
|
||||||
|
* `史诗难度`: 修复了对0.10.30版本的兼容性,支持新的资源倍率0.3x
|
||||||
* 1.2.6
|
* 1.2.6
|
||||||
+ 修复了在存档中更改了生成参数但是在配置面板中禁用了`启用更多宇宙生成设置`时可能崩溃或者星系数据错误的问题
|
+ 修复了在存档中更改了生成参数但是在配置面板中禁用了`启用更多宇宙生成设置`时可能崩溃或者星系数据错误的问题
|
||||||
+ 在星系生成时的战斗设置面板上提升了各选项的最大值(`黑雾攻击性`和`最大黑雾密度`除外`)
|
+ 在星系生成时的战斗设置面板上提升了各选项的最大值(`黑雾攻击性`和`最大黑雾密度`除外`)
|
||||||
|
|||||||
@@ -6,7 +6,7 @@
|
|||||||
<AssemblyName>UniverseGenTweaks</AssemblyName>
|
<AssemblyName>UniverseGenTweaks</AssemblyName>
|
||||||
<BepInExPluginGuid>org.soardev.universegentweaks</BepInExPluginGuid>
|
<BepInExPluginGuid>org.soardev.universegentweaks</BepInExPluginGuid>
|
||||||
<Description>DSP MOD - UniverseGenTweaks</Description>
|
<Description>DSP MOD - UniverseGenTweaks</Description>
|
||||||
<Version>1.2.6</Version>
|
<Version>1.2.7</Version>
|
||||||
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
|
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
|
||||||
<LangVersion>latest</LangVersion>
|
<LangVersion>latest</LangVersion>
|
||||||
<RestoreAdditionalProjectSources>https://nuget.bepinex.dev/v3/index.json</RestoreAdditionalProjectSources>
|
<RestoreAdditionalProjectSources>https://nuget.bepinex.dev/v3/index.json</RestoreAdditionalProjectSources>
|
||||||
|
|||||||
@@ -1,11 +1,11 @@
|
|||||||
{
|
{
|
||||||
"name": "UniverseGenTweaks",
|
"name": "UniverseGenTweaks",
|
||||||
"version_number": "1.2.6",
|
"version_number": "1.2.7",
|
||||||
"website_url": "https://github.com/soarqin/DSP_Mods/tree/master/UniverseGenTweaks",
|
"website_url": "https://github.com/soarqin/DSP_Mods/tree/master/UniverseGenTweaks",
|
||||||
"description": "Universe Generation Tweaks / 宇宙生成参数调节",
|
"description": "Universe Generation Tweaks / 宇宙生成参数调节",
|
||||||
"dependencies": [
|
"dependencies": [
|
||||||
"xiaoye97-BepInEx-5.4.17",
|
"xiaoye97-BepInEx-5.4.17",
|
||||||
"CommonAPI-DSPModSave-1.2.0",
|
"CommonAPI-DSPModSave-1.2.0",
|
||||||
"soarqin-UXAssist-1.0.5"
|
"soarqin-UXAssist-1.0.25"
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user