Handcraft Everything(2.1 移植版)
Handcraft Everything (2.1 Port)
厌倦了“这个物品必须用组装机”的提示?装上这个 mod,几乎所有物品都能直接在背包里手搓。
Tired of being told "you need an assembler for that"? With this mod, almost anything can be crafted by hand.
中文
这个 mod 做什么
- 自动把所有适合手搓的配方加入 2.1 新增的
hand-crafting分类,让你在制作菜单(E)里直接手工制作。 - 保留配方原有的机器分类:铁板仍然能在熔炉里烧,铀浓缩仍然能在离心机里做,只是“同时”也能手搓。
- 自动兼容其他 mod:它在数据阶段的最后一步扫描所有配方,所以 mod 新增的机器、建筑、中间产物同样适用。
- 解除原本被作者隐藏的手搓限制(
hide_from_player_crafting)。 - 纯数据阶段实现,不加实体、不加物品、不改存档结构。
它不会做什么
以下配方仍然无法手搓,这是游戏机制而非遗漏:
- 含液体的配方:原料或产物是流体的配方(如处理器、混凝土、火箭燃料、多数化学/冶金配方)。玩家背包无法存放液体。
fixed_recipe固定机器配方:例如火箭部件,只能由火箭发射井制造。- 标记为
hidden的配方:作者有意隐藏的调试/内部配方。 - 不可携带的物品:
only-in-cursor或堆叠数为 0 的物品。 - 运行时脚本动态生成的配方:本 mod 只在数据阶段工作,
control.lua里运行时添加的配方无法覆盖。
为什么需要 2.1 移植版
原版 Handcraft Everything(1.0.1)只支持 Factorio 2.0。2.1 修改了配方 API:RecipePrototype.category(单值)被 categories(数组)取代,并新增了专门表示“玩家手工制作”的 hand-crafting 分类。因此旧代码在 2.1 中不再生效。本版本按 2.1 的新机制重写,并保留原版的所有过滤逻辑。
使用方法
- 安装并启用 mod,无需任何设置。
- 按
E打开制作菜单,搜索你想要的物品即可。 - 若仍有物品不能手搓,检查它是否属于上面的“不会做什么”。
兼容性
- Factorio 2.1.x
- 可选 Space Age、Quality
- 与绝大多数 mod 兼容,包括新增配方的大型内容 mod
注意事项
- 启用任何 mod 都会禁用该存档的成就,这是游戏设定。
- 可随时加入或移除,不影响现有存档;已手搓出的物品不会消失。
AI 使用声明
本 2.1 移植版在开发过程中使用了 AI 辅助,特此说明:
- AI 参与的部分:分析 Factorio 2.0 → 2.1 的配方 API 变更、重写
data-final-fixes.lua、起草中英文描述与更新日志。
致谢与许可
- 原作者:ToxicShadow — Handcraft Everything 原版页面
- 2.1 移植:本页面作者
- 许可:The Unlicense(公有领域),遵循原版许可
English
What this mod does
- Adds the new 2.1
hand-craftingrecipe category to every recipe that makes sense to craft by hand, so it shows up in the crafting menu (E). - Keeps each recipe's original machine categories — iron plates still smelt in furnaces, uranium processing still runs in centrifuges, they just also become hand-craftable.
- Works with other mods automatically: it scans every recipe at the very end of the data stage, so items added by other mods are covered too.
- Removes
hide_from_player_craftingwhere it otherwise blocks hand crafting. - Data-stage only: adds no entities, no items, and does not touch save data.
What it does not do
Recipes that cannot be hand-crafted, by design:
- Fluid recipes: any recipe with a fluid ingredient or product (processing units, concrete, rocket fuel, most chemistry/metallurgy). The player inventory cannot hold fluids.
fixed_reciperecipes: hardcoded to a specific machine, e.g. rocket parts (rocket silo only).hiddenrecipes: internal or debug recipes intentionally hidden by their author.- Non-carryable items:
only-in-cursoritems or items with zero stack size. - Runtime-generated recipes: added via
control.lua; this mod only runs during the data stage.
Why a 2.1 port
The original Handcraft Everything (1.0.1) only supported Factorio 2.0. Factorio 2.1 replaced RecipePrototype.category (a single value) with categories (an array) and introduced the dedicated hand-crafting category for player-only crafting. The old code therefore did nothing on 2.1. This version is rewritten for the 2.1 API while keeping the original filtering rules.
How to use
- Install and enable the mod — no configuration needed.
- Press
Eto open the crafting menu and search for the item you want. - If something is still not craftable, check the list above.
Compatibility
- Factorio 2.1.x
- Optional: Space Age, Quality
- Compatible with most mods, including large content mods that add recipes
Notes
- Enabling any mod disables achievements for that save, as usual in Factorio.
- Safe to add or remove at any time; existing saves and already-crafted items are unaffected.
AI usage disclosure
AI assistance was used while developing this 2.1 port:
- Done with AI assistance: analysing the Factorio 2.0 → 2.1 recipe API changes, rewriting data-final-fixes.lua, and drafting the bilingual description and changelog.
- No AI-generated image or audio assets are included; the thumbnail comes from the original mod.
- The publisher is responsible for the mod's behaviour, content and future updates.
Credits & license
- Original mod by ToxicShadow: Handcraft Everything
- 2.1 port: author of this mod page
- License: The Unlicense (public domain), following the original