

OneClickCrafting
别再一件件往机器里面摆材料了,用我一键制作商品不好吗?--Stop placing materials into the machine one by one! Why not use my one-click crafting feature instead?Details
一键制作商品
🔮 中文
✨ 功能说明
更新
2025.9.26-1.2.5:增加了没有空闲机器时的提示,以及将熔炼机冶炼金属锭的时间缩短一半
2025.9.23-1.2.4:修复了切肉机会导致食物腐败的BUG
2025.9.23-1.2.3:修复了任意机器上有物品存在时,其他空闲的机器无法制作商品的BUG
背景 我一直觉得用鼠标右键一件件把材料摆到机器里头是一件非常傻逼的事情,一开始用香料机和药水机的时候,感觉还行,因为摆材料的空间很大,但是后面用酿酒机的时候,哥们我破防了,那么小的箱子,摆四样东西,要不说这是酿酒机,哥们我还以为这是我妈给我收拾的去上学用的行李箱呢,后来我发现直接把材料甩进去也能正常启动,但还是不方便,于是就有了这个Mod,一键制作。
Mod功能 此Mod提供了极致的商品制作体验优化:
- 当您的背包里面有对应的材料时,可以通过机器上的食谱,一键自动制作相应商品,如果你有多个同类型的机器,比如10台酿酒机,该Mod会自动帮您找到符合条件的那一台机器开启制作。也就是说您可以在一台机器的菜单上多次点击一键制作,Mod会自动帮您启动其他的同类型机器,不需要自己去每一台机器上点。
- 这是我写过的最复杂的Mod,没有之一,可能会有Bug,如果有Bug,欢迎通过我的邮箱反馈:
[email protected]
- 当前Mod的版本为
1.2.5(2025.9.26)
,已经经过多次测试,功能已经较为完善。
📦 技术细节
- 修改:通过
UIManager.OpenRecipesPanel
后置补丁实现了一键制作按钮的添加,再通过事件监听器实现了一键制作的逻辑,其中通过CheckRecipe
的能力实现了插件工厂化,让每个机器实现自己的一键制作逻辑。 - 兼容性:未发现与其他Mod冲突。
🛠️ 安装指南
- 下载
Lan-OneClickCrafting-1.2.5.zip
- 解压至
Old Market Simulator
游戏的根目录
OneClickCrafting
🔮 English
✨ Feature Description
2025.9.26-1.2.5:Added a notification when no idle machines are available, and halved the smelting time for metal ingots in the smelter.
2025.9.23-1.2.4:Fixed a bug that caused food spoilage when cutting meat
2025.9.23-1.2.3: Fixed a bug where other idle machines cannot produce products when there are items present on any machine
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:
[email protected]
. - Current version:
1.2.5
. Thoroughly tested and functionally stable.
📦 Technical Details
- Modifications:
Added a one-click crafting button via a postfix patch toUIManager.OpenRecipesPanel
, with event listeners handling the crafting logic. Implemented plugin-like factory patterns usingCheckRecipe
to enable per-machine customization of crafting behavior. - Compatibility:
No conflicts with other Mods have been detected.
🛠️ Installation Guide
- Download
Lan-OneClickCrafting-1.2.5.zip
. - Extract into the root directory of your
Old Market Simulator
game folder.