Old Market Simulator

Details

Last Updated
last week
First Uploaded
last week
Downloads
4.2K
Likes
4
Size
42KB
Dependency string
Lan-OneClickCrafting-1.2.6
Dependants

Categories

一键制作商品

🔮 中文

✨ 功能说明

更新

2025.11.20-1.2.6:

  • 修复因为罗马地图更新导致不可用的问题,新增了榨油机和雕刻机的一键制作支持

  • 果酱机、烘焙机、药水机的制作时间缩短一半

  • 我看很多人没掌握这个Mod的正确用法哦,我打一个比方,你买了10台酿酒机,其中3台放在工坊1,3台放在工坊2,3台放在工坊3,1台放在你的院子里,这种情况下,要跑很多地方给酿酒机挨个点一键制作是完全没有一点减负的效果的,正确做法是,往背包里面装满酿酒材料,在你的院子里操作那1台酿酒机,就在这台酿酒机的菜单里多次点击一键制作,系统会自动帮你把背包里的材料传递到空着的机子上开始酿酒,不需要挨个跑,挨个菜单点,这就是遥控玩法。

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冲突。

🛠️ 安装指南

  1. 下载 Lan-OneClickCrafting-1.2.5.zip
  2. 解压至 Old Market Simulator 游戏的根目录

OneClickCrafting

🔮 English

✨ Feature Description

2025.11.20-1.2.6:

  • Fixed incompatibility issues caused by the Rome map update. Added one-click crafting support for the Oil Press and Engraving Machine.

  • Halved the crafting time for the Jam Maker, Bakery Oven, and Potion Brewer.

  • I've noticed many players aren't using this mod correctly. Let me give you an example: suppose you own 10 Wine Makers—3 placed in Workshop 1, 3 in Workshop 2, 3 in Workshop 3, and 1 in your backyard. If you run around manually clicking "One-Click Craft" on each machine individually, you're not actually reducing your workload at all!
    The correct approach is this: fill your inventory with wine-making ingredients, then interact with just the single Wine Maker in your backyard. From its menu, repeatedly click "One-Click Craft." The system will automatically distribute your ingredients from your inventory to any idle machines across all your workshops and start production remotely—no need to visit each machine or open each menu separately. This is what we call "remote crafting."

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 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

  1. Download Lan-OneClickCrafting-1.2.5.zip.
  2. Extract into the root directory of your Old Market Simulator game folder.
Thunderstore development is made possible with ads. Please consider making an exception to your adblock.
Thunderstore development is made possible with ads. Please consider making an exception to your adblock.
Thunderstore development is made possible with ads. Please consider making an exception to your adblock.