QuickDecomposeAllv0.2

If you liked this item, please rate it up on Steam Workshop page.

Author: lastshoooooot

Last revision: 12 Nov, 2025 at 23:44 UTC

File size: 98.46 KB

On Steam Workshop

Description:

Quick Decompose All Items (QuickDecomposeAll) – v0.2

Description

Permanently configure all items in your inventory that need quick decomposition. Settings are saved in a local configuration file, which can be added in-game or modified outside the game. The configuration file only records item tags; once added, changes take effect immediately.


Pre-Use Notes

0. This mod is not meant to make you break up quickly.
1. This is a practice project. I am not a C# developer (C# is too difficult and abstract to write). The code was generated with AI assistance and built by referencing other developers’ code. Use at your own risk. I am not responsible for lost items (if you lose something, find or farm it again yourself).
2. This project hasn’t undergone rigorous testing. I’ve only tried it a few times on my own completed saves and a new game. It’s been uploaded as-is. It works with nearly 90 other mods, and no conflicts or bugs have been found so far.
3. Theoretically, this mod only scans your inventory and disassembles items with tags you’ve configured. If an unintended item gets disassembled, it’s likely because both the mod item and the target item share the same tag within your inventory (I’m not sure if such items exist, but if they do, it’s probably an issue with the item mod author).
-2. Updates will happen based on my mood if no major bugs are found. Feel free to leave feedback if you encounter issues. I’ll organize and post to GitHub when I have time.
-1. May depend on HarmonyLib.


Operation and Functionality:
1. Right-click an item in your inventory to open its menu. Decomposable items display two buttons: (1) “加入快分” and (2) “移除快分.” These respectively add/remove the current item from the configuration file based on its tag.
2. A “快!” button appears next to the Sort button in the middle toolbar. Left-click to display the list of deconstructable items in your inventory. Top-right options: “Y (Yes)” confirms deconstruction of all items, “X (Exit)” closes the list (note: button symbols are slightly off—likely intended as Y/N). Right-click to deconstruct all matching items in your inventory immediately.
3. When the decomposition list interface appears, left-clicking the background or pressing ESC/TAB/BACKSPACE will exit the interface.
4. If no qualifying items are in the backpack, the duck will quack to indicate nothing happened.
5. Configuration settings are stored in `[Game Directory]ModConfigsduckov_mod_decompose_all_listconfig.json` as an array of item TypeIDs.
6. Item TypeIDs can be found in the upper-right corner of the item’s properties panel.


Known Limitations

1. Items may overflow when the list becomes lengthy, affecting appearance. Scrolling remains functional; this is a temporary solution.

Update Log

v0.2 – Added a pink dot marker in the bottom-left corner of items indicating they are configured for decomposition. If you don’t want the marker, please create a file named `no_dot.txt` in the mod config dir and restart the game.

Translated with DeepL.com (free version)