You are viewing a potentially older version of this package. View all versions.
IlldariFairlight-Dustbin-1.4.1 icon

Dustbin

Trash disposal for belts, storages and tanks. Community 0.10.34 build of soarqin's Dustbin (belt-signal hook only). Install instead of soarqin-Dustbin; deprecate when upstream updates.

Date uploaded 3 days ago
Version 1.4.1
Download link IlldariFairlight-Dustbin-1.4.1.zip
Downloads 77
Dependency string IlldariFairlight-Dustbin-1.4.1

This mod requires the following mods to function

xiaoye97-BepInEx-5.4.17 icon
xiaoye97-BepInEx

BepInEx5.4.17 mod plugin framework, Mod框架

Preferred version: 5.4.17

README

Dustbin (0.10.34 fix)

This is soarqin's Dustbin (trash disposal for belts, storages and tanks), rebuilt so it loads on game 0.10.34+. The mod is soarqin's. This package exists only because the belt-signal feature currently fails on 0.10.34 and upstream has been inactive for several months.

Install this instead of soarqin-Dustbin, not alongside it.

The same fix is offered upstream: https://github.com/soarqin/DSP_Mods/pull/94 If soarqin releases an updated Dustbin, use that. This package will be deprecated.

What broke

Game 0.10.34 removed GameData.GameTick (the main loop was split into per-system methods). Dustbin 1.4.0's belt-signal transpiler targeted that method, so Harmony threw and the belt-signal patches did not apply. Storage and tank dustbins were a separate patch and kept working.

The fix

Belt-signal processing is now a postfix on GameLogic.TrashSystemGameTick (once per logic tick, after cargo). Everything else is Dustbin 1.4.0.

Usage (unchanged)

  • Checkbox on Storage and Tank UI to turn them into dustbins.
  • Belt signal "DUSTBIN" (first tab of the signal panel) destroys items on the belt.
  • Destroyed items can yield soil piles (json config). Item IDs: https://dsp-wiki.com/Modding:Items_IDs

Source: https://github.com/AndrewLuebke/DSP_Mods (branch fix-dustbin-belt-signal-0.10.34). License: MIT, same as upstream. The package includes the upstream license file.

CHANGELOG

Changelog

1.4.1

  • 0.10.34 compatibility: belt-signal feature retargeted from the removed GameData.GameTick to GameLogic.TrashSystemGameTick. No functional changes otherwise. (Fix offered upstream as soarqin/DSP_Mods#94.)