mirror of
https://github.com/soarqin/DSP_Mods.git
synced 2025-12-09 00:53:39 +08:00
Dustbin v1.3.2
This commit is contained in:
@@ -5,7 +5,7 @@
|
|||||||
<TargetFramework>net472</TargetFramework>
|
<TargetFramework>net472</TargetFramework>
|
||||||
<BepInExPluginGuid>org.soardev.dustbin</BepInExPluginGuid>
|
<BepInExPluginGuid>org.soardev.dustbin</BepInExPluginGuid>
|
||||||
<Description>DSP MOD - Dustbin</Description>
|
<Description>DSP MOD - Dustbin</Description>
|
||||||
<Version>1.3.1</Version>
|
<Version>1.3.2</Version>
|
||||||
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
|
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
|
||||||
<LangVersion>latest</LangVersion>
|
<LangVersion>latest</LangVersion>
|
||||||
<PackageId>Dustbin</PackageId>
|
<PackageId>Dustbin</PackageId>
|
||||||
|
|||||||
@@ -4,6 +4,9 @@
|
|||||||
#### 储物仓和储液罐可以转变为垃圾桶(销毁送进的物品)
|
#### 储物仓和储液罐可以转变为垃圾桶(销毁送进的物品)
|
||||||
|
|
||||||
## Changelog
|
## Changelog
|
||||||
|
* 1.3.2
|
||||||
|
+ Fix a display issue that the dustbin checkbox is overlapped with the filter button in storage UI.
|
||||||
|
|
||||||
* 1.3.1
|
* 1.3.1
|
||||||
+ Support for game version 0.10.28.20759
|
+ Support for game version 0.10.28.20759
|
||||||
|
|
||||||
@@ -35,8 +38,12 @@
|
|||||||
+ You can get item ID list [here](https://dsp-wiki.com/Modding:Items_IDs).
|
+ You can get item ID list [here](https://dsp-wiki.com/Modding:Items_IDs).
|
||||||
|
|
||||||
## 更新日志
|
## 更新日志
|
||||||
|
* 1.3.2
|
||||||
|
+ 修正了储物仓UI中的垃圾桶勾选框与筛选按钮重叠的显示问题
|
||||||
|
|
||||||
* 1.3.1
|
* 1.3.1
|
||||||
+ 支持游戏版本 0.10.28.20759
|
+ 支持游戏版本 0.10.28.20759
|
||||||
|
|
||||||
* 1.3.0
|
* 1.3.0
|
||||||
+ 添加了一个传送带信号(可以在信号选择面板的第一个页签中找到)作为垃圾桶,这是目前销毁物品最简单的方法
|
+ 添加了一个传送带信号(可以在信号选择面板的第一个页签中找到)作为垃圾桶,这是目前销毁物品最简单的方法
|
||||||
+ 重写了储液罐的垃圾桶实现,以提高性能并解决已知的bug
|
+ 重写了储液罐的垃圾桶实现,以提高性能并解决已知的bug
|
||||||
|
|||||||
@@ -135,7 +135,7 @@ public static class StoragePatch
|
|||||||
_storageDustbinCheckBox.Checked = storagePool[storageId].IsDustbin;
|
_storageDustbinCheckBox.Checked = storagePool[storageId].IsDustbin;
|
||||||
if (__instance.transform is RectTransform rectTrans)
|
if (__instance.transform is RectTransform rectTrans)
|
||||||
{
|
{
|
||||||
_storageDustbinCheckBox.rectTrans.anchoredPosition3D = new Vector3(50, 58 - rectTrans.sizeDelta.y, 0);
|
_storageDustbinCheckBox.rectTrans.anchoredPosition3D = new Vector3(190, 57 - rectTrans.sizeDelta.y, 0);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "Dustbin",
|
"name": "Dustbin",
|
||||||
"version_number": "1.3.1",
|
"version_number": "1.3.2",
|
||||||
"website_url": "https://github.com/soarqin/DSP_Mods/tree/master/Dustbin",
|
"website_url": "https://github.com/soarqin/DSP_Mods/tree/master/Dustbin",
|
||||||
"description": "Can turn Storages and Tanks into Dustbin(Destroy incoming items) / 储物仓和储液罐可以转变为垃圾桶(销毁送进的物品)",
|
"description": "Can turn Storages and Tanks into Dustbin(Destroy incoming items) / 储物仓和储液罐可以转变为垃圾桶(销毁送进的物品)",
|
||||||
"dependencies": [
|
"dependencies": [
|
||||||
|
|||||||
Reference in New Issue
Block a user