A simple mod that chatGPT made for me that automatically removes spoiled science from labs and sends it to a designated logistic chest.
Instructions:
1. Open a logistic chest you want to use as the spoilage chest.
2. Either click the 'Set/Sweep Spoilage Chest' GUI button at the top of the screen or run the command '/set-spoilage-chest'.
3. Once set, the GUI button can be clicked anytime to immediately move all spoilage from labs to the designated chest.
4. Spoilage is also automatically collected periodically every 2 seconds, and any labs built or repaired by bots are cleaned automatically.