1
0
mirror of https://github.com/soarqin/DSP_Mods.git synced 2025-12-09 05:33:37 +08:00

UXAssist v1.4.1

This commit is contained in:
2025-09-30 00:15:26 +08:00
parent 16429936a9
commit 7c1e88f86d
6 changed files with 8 additions and 4 deletions

Binary file not shown.

Binary file not shown.

View File

@@ -3,6 +3,8 @@
## Changlog ## Changlog
* 1.4.1
* Fixed a compatible issue with latest game patch.
* 1.4.0 * 1.4.0
* Support game version 0.10.33, with some features removed: * Support game version 0.10.33, with some features removed:
* Remove `Scale up mouse cursor`: Unity 2022 set cursor size from system settings, software rendering does not affect its size now. * Remove `Scale up mouse cursor`: Unity 2022 set cursor size from system settings, software rendering does not affect its size now.
@@ -336,6 +338,8 @@
## 更新日志 ## 更新日志
* 1.4.1
* 修复了与最新游戏补丁的兼容性问题
* 1.4.0 * 1.4.0
* 支持游戏版本 0.10.33,移除了一些功能: * 支持游戏版本 0.10.33,移除了一些功能:
* 移除`放大鼠标指针`Unity 2022 读取系统设置里的鼠标指针大小,软件渲染不再影响其大小 * 移除`放大鼠标指针`Unity 2022 读取系统设置里的鼠标指针大小,软件渲染不再影响其大小

View File

@@ -1150,7 +1150,7 @@ public class FactoryPatch : PatchImpl<FactoryPatch>
var pos = veinPool[veinId].pos; var pos = veinPool[veinId].pos;
factory.RemoveVeinWithComponents(veinId); factory.RemoveVeinWithComponents(veinId);
factory.RecalculateVeinGroup(groupIndex); factory.RecalculateVeinGroup(groupIndex);
factory.NotifyVeinExhausted(venType, pos); factory.NotifyVeinExhausted(venType, groupIndex, pos);
veinCount = __instance.veinCount; veinCount = __instance.veinCount;
} }
else else
@@ -1251,7 +1251,7 @@ public class FactoryPatch : PatchImpl<FactoryPatch>
factory.veinAnimPool[veinId].time = amount >= 25000 ? 0f : 1f - amount * VeinData.oilSpeedMultiplier; factory.veinAnimPool[veinId].time = amount >= 25000 ? 0f : 1f - amount * VeinData.oilSpeedMultiplier;
if (amount <= 2500) if (amount <= 2500)
{ {
factory.NotifyVeinExhausted((int)veinPool[veinId].type, veinPool[veinId].pos); factory.NotifyVeinExhausted((int)veinPool[veinId].type, groupIndex, veinPool[veinId].pos);
} }
} }
} }

View File

@@ -4,7 +4,7 @@
<TargetFramework>net472</TargetFramework> <TargetFramework>net472</TargetFramework>
<BepInExPluginGuid>org.soardev.uxassist</BepInExPluginGuid> <BepInExPluginGuid>org.soardev.uxassist</BepInExPluginGuid>
<Description>DSP MOD - UXAssist</Description> <Description>DSP MOD - UXAssist</Description>
<Version>1.4.0</Version> <Version>1.4.1</Version>
<AllowUnsafeBlocks>true</AllowUnsafeBlocks> <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
<LangVersion>latest</LangVersion> <LangVersion>latest</LangVersion>
<PackageId>UXAssist</PackageId> <PackageId>UXAssist</PackageId>

View File

@@ -1,6 +1,6 @@
{ {
"name": "UXAssist", "name": "UXAssist",
"version_number": "1.4.0", "version_number": "1.4.1",
"website_url": "https://github.com/soarqin/DSP_Mods/tree/master/UXAssist", "website_url": "https://github.com/soarqin/DSP_Mods/tree/master/UXAssist",
"description": "Some functions and patches for better user experience / 一些提升用户体验的功能和补丁", "description": "Some functions and patches for better user experience / 一些提升用户体验的功能和补丁",
"dependencies": [ "dependencies": [