OneClickCrafting

版本 v1.4.1·更新於 2026-04-28

別再一件件往機器裏面擺材料了,用我一鍵製作商品不好嗎?--Stop placing materials into the machine one by one! Why not use my one-click crafting feature instead?

模組介紹 作者原文

一鍵製作商品

🔮 中文

✨ 功能說明

更新

2026.4.29-1.4.1:

  • 修復因爲遊戲版本更新導致的報錯。
  • 修復熔煉機和香料機的報錯,不再使用協程處理邏輯

背景

我一直覺得用鼠標右鍵一件件把材料擺到機器裏頭是一件非常傻逼的事情,一開始用香料機和藥水機的時候,感覺還行,因爲擺材料的空間很大,但是後面用釀酒機的時候,哥們我破防了,那麼小的箱子,擺四樣東西,要不說這是釀酒機,哥們我還以爲這是我媽給我收拾的去上學用的行李箱呢,後來我發現直接把材料甩進去也能正常啓動,但還是不方便,於是就有了這個Mod,一鍵製作。

Mod功能

此Mod提供了極致的商品製作體驗優化:

  • 當您的背包裏面有對應的材料時,可以通過機器上的食譜,一鍵自動製作相應商品,如果你有多個同類型的機器,比如10臺釀酒機,該Mod會自動幫您找到符合條件的那一臺機器開啓製作。也就是說您可以在一臺機器的菜單上多次點擊一鍵製作,Mod會自動幫您啓動其他的同類型機器,不需要自己去每一臺機器上點。
  • 這是我寫過的最複雜的Mod,沒有之一,可能會有Bug,如果有Bug,歡迎通過我的郵箱反饋: 127777172@qq.com
  • 當前Mod的版本爲1.4.1(2026.04.29),已經經過多次測試,功能已經較爲完善。

📦 技術細節

  • 修改:通過UIManager.OpenRecipesPanel後置補丁實現了一鍵製作按鈕的添加,再通過事件監聽器實現了一鍵製作的邏輯,其中通過CheckRecipe的能力實現了插件工廠化,讓每個機器實現自己的一鍵製作邏輯。
  • 兼容性:未發現與其他Mod衝突。

🛠️ 安裝指南

  • 下載 Lan-OneClickCrafting-1.4.1.zip
  • 解壓至 Old Market Simulator 遊戲的根目錄

OneClickCrafting

🔮 English

✨ Feature Description

2026.4.28 - v1.4.1:

  • Fixed errors caused by the game version update.
  • Fixed errors in the Smelter and Spice Machine; logic no longer uses coroutines.

Background

I always thought right-clicking to place materials into machines one by one was utterly ridiculous. When first using the Spice Machine and Potion Machine, it felt manageable due to their spacious interfaces. But when I encountered the Brewery Machine, I was completely defeated. That tiny interface requiring four ingredients? If not for the name, I'd have mistaken it for my mom's overstuffed suitcase for school! Later, I realized I could just toss materials in directly, but it was still inconvenient. Thus, this Mod was born: One-Click Crafting.

Mod Features

This Mod delivers the ultimate crafting experience optimization:

  • When your inventory contains the required materials, click a one-click auto-craft button via the machine's recipe menu to instantly create the item. If you own multiple machines of the same type (e.g., 10 Brewery Machines), the Mod automatically finds and activates eligible machines. For example, you can click the one-click button repeatedly in a single machine's menu, and the Mod will distribute tasks across all compatible machines—no need to manually interact with each one.
  • This is the most complex Mod I've ever developed. Bugs may exist. If encountered, please report to my email: 127777172@qq.com.
  • Current version: 1.4.1. Thoroughly tested and functionally stable.

📦 Technical Details

  • Modifications:

Added a one-click crafting button via a postfix patch to UIManager.OpenRecipesPanel, with event listeners handling the crafting logic. Implemented plugin-like factory patterns using CheckRecipe to enable per-machine customization of crafting behavior.

  • Compatibility:

No conflicts with other Mods have been detected.

🛠️ Installation Guide

  • Download Lan-OneClickCrafting-1.4.1.zip.
  • Extract into the root directory of your Old Market Simulator game folder.

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

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

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

前置依賴

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

BepInEx-BepInExPack

檔案與校驗

檔案名稱
OneClickCrafting-1.4.1.zip
檔案大小
41.7 KiB