JunkAndItemAutoDestroy

版本 v1.4.1·更新於 2025-11-17

自動回收腐爛商品和垃圾(可配置),拒絕當垃圾回收廠的搬運工。Auto-Recycle Rotten Items and Junk (Configurable) – Never Be the Junkyard's Porter Again!

模組介紹 作者原文

自動回收垃圾和過期商品

🔮 中文

✨ 功能說明

(2025.11.17)1.4.1更新

1:爲回收提示增加中英雙語

(2025.11.17)1.4.0更新

1:修復Mod在聯機場景下不生效的問題,現在房主安裝了Mod就能正常使用。

2:新增回收垃圾金額和數量提示,新增回收過期商品金額和數量提示。

(2025.10.1)1.3.0更新

1:修復:腐敗的魚類不會被回收的BUG。

2:新增:丟在地上的空籃子,空袋子也會被自動回收。

(2025.8.28)1.2.1更新

修復了丟棄在地上的垃圾不會被自動回收的錯誤。

(2025.8.25)1.2.0更新

現在過期商品自動銷燬功能不會將貨架上的商品連帶籃子一起回收,而是僅回收籃子內的食材,在貨架上保留籃子,方便地窖專員幫您捕獲,但是丟棄在地上的垃圾和過期商品會連同籃子一起被回收掉。

自動回收系統

每日早上6點自動回收過期物品、垃圾處理,包含兩大核心機制:

  • 🗑️ 過期商品自動回收

自動檢測並回收已過期的商品,回收價格與垃圾回收廠開出來的價格一致

  • ♻️ 智能垃圾清理

自動檢測並回收背包/場景中的垃圾物品(junk),回收價格與垃圾回收廠開出來的價格一致

  • ⚙️ 雙重回收模式

可通過配置文件自由組合:

  • 僅回收過期商品
  • 僅回收垃圾
  • 同時回收兩者

📦 技術細節

  • 執行時間檢測

檢測遊戲時間6:00 AM,通過GameManager.OnTimelineChanged後置補丁觸發

  • 回收價格計算

與垃圾回收廠使用的價格計算公式一致,即過期商品半價出售,如果該商品有籃子或者盤子,會有額外的20C

  • 兼容性

目前暫未發現與該Mod衝突的其他Mod。

爲了與AutoRestock以及其他自動補貨的Mod兼容,這裏不提供自動回收空籃子的功能。

🛠️ 安裝指南

  • 下載 Lan-JunkAndItemAutoDestroy-1.1.0.zip
  • 解壓至 Old Market Simulator 根目錄

Auto-Recycle Junk and Rotten Items

🔮 English

✨ Feature Description

(2025.11.17) Version 1.4.1 Update

  • Added Chinese-English bilingual support for recycling notifications.

(2025.11.17) Version 1.4.0 Update

  • Fixed an issue where the mod did not work in multiplayer scenarios. Now, as long as the host has the mod installed, it functions properly.
  • Added on-screen notifications showing the amount and quantity of money earned from recycling trash, as well as from recycling expired items.

(2025.10.1) Version 1.3.0 Update

  • Fixed: A bug where corrupted fish were not being recycled.
  • Added: Empty baskets and empty bags dropped on the ground will now also be automatically recycled.

(2025.8.28)1.2.1 Update

Fixed a bug where junk discarded on the ground would not be automatically recycled.

(2025.8.25)1.2.0 Update

The expired item auto-recycle feature now preserves baskets on shelves (only recycling ingredients inside), allowing cellar specialists to capture them, while ground-discarded junk and expired items will be recycled along with their baskets.

Automatic Recycling System automatically processes rotten items and junk daily at 6:00 AM, featuring two core mechanisms:

  • 🗑️ Rotten Item Auto-Recycle

Automatically detects and recycles expired goods using the same pricing formula as the junkyard

  • ♻️ Smart Junk Cleanup

Automatically detects and recycles junk items (marked as "junk") from inventory/scenes using junkyard pricing

  • ⚙️ Dual Recycling Modes

Configurable through settings file:

  • Recycle rotten items only
  • Recycle junk only
  • Recycle both

📦 Technical Details

  • Execution Timing

Triggers via postfix patch on GameManager.OnTimelineChanged when game time reaches 6:00 AM

  • Price Calculation

Uses identical pricing formula as junkyard:

  • Rotten items sold at 50% base price
  • Additional 20C compensation for containers (baskets/plates)
  • Compatibility

Currently no known mod conflicts. To maintain compatibility with AutoRestock and other auto-restock mods, this mod intentionally excludes automatic recycling of empty containers.

🛠️ Installation Guide

  • Download Lan-JunkAndItemAutoDestroy-1.1.0.zip
  • Extract to Old Market Simulator root directory

安裝與使用 安裝:按包內說明操作

  1. 解壓本站下載的壓縮包,先讀包內的 readme / 說明檔案。
  2. 多數模組依賴遊戲的模組載入器:常見做法是用社群模組管理器(如 r2modman)選中本遊戲安裝,由管理器自動處理載入器與依賴。
  3. 手動安裝時,把模組檔案放進遊戲目錄下對應的 Mod / plugins 資料夾。
  4. 啟動遊戲確認載入成功;帶「前置依賴」的模組需要把依賴一併安裝。

不同模組的安裝位置差異較大,包內說明是最可靠的依據。

前置依賴

下面這些內容需要先安裝,否則該模組不會生效:

BepInEx-BepInExPack

檔案與校驗

檔案名稱
JunkAndItemAutoDestroy-1.4.1.zip
檔案大小
30.5 KiB