1
0
mirror of https://github.com/soarqin/DSP_Mods.git synced 2025-12-09 01:33:33 +08:00
Files
DSP_Mods/Dustbin
2023-10-19 23:07:40 +08:00
..
2023-10-19 22:07:54 +08:00
2023-10-19 22:07:54 +08:00
2023-08-15 21:20:02 +08:00
2023-09-05 18:29:37 +08:00
2023-10-19 23:07:40 +08:00
2023-10-19 22:07:54 +08:00
2023-10-19 23:07:40 +08:00
2023-10-19 23:07:40 +08:00
2023-10-19 22:07:54 +08:00

Dustbin

Can turn Storages and Tanks into Dustbin(Destroy incoming items)

储物仓和储液罐可以转变为垃圾桶(销毁送进的物品)

Changelog

  • 1.3.0

  • 1.2.1

    • Fix dynamic array bug in codes, which causes various bugs and errors.
  • 1.2.0

    • Use DSPModSave to save dustbin specified data now, which fixes #1.
    • Fix issue for storages on multiple planets.
    • Fix issue for multi-level tanks.
    • Add a note in README for known bug on tank.
  • 1.1.0

    • Rewrite whole plugin, make a checkbox on UI so that you can turn storages into dustbin by just ticking it.
    • Can turn tank into dustbin now.

Usage

  • A checkbox is added to Storages and Tanks UI, which turns them into dustbins.
  • Items sent into dustbins are removed immediately.
  • Can get sands from destroyed items, configurable through a json encoded config entry.

更新日志

  • 1.3.0

  • 1.2.1

    • 修正了代码中的动态数组Bug该Bug可能导致各种问题
  • 1.2.0

    • 现在使用DSPModSave来保存垃圾桶的数据,修正了#1
    • 修正了多星球上的储物仓问题
    • 修正了多层储液罐的问题
    • 在README中添加了一个已知储液罐Bug的说明
  • 1.1.0

    • 重写了整个插件现在可以在仓储类建筑的UI上勾选来将其转变为垃圾桶
    • 现在可以将储液罐转变为垃圾桶

使用说明

  • 在储物仓和储液罐上增加一个垃圾桶的勾选框。
  • 送进垃圾桶的物品会立即被移除。
  • 可以从移除的物品中获得沙子可以通过json编码的设置项进行配置。