Skip to main content
forge-crafting is a pure orchestrator with zero storage of its own: recipes ride on progression unlocks, stations on interactions, materials and outputs on inventory, quality on loot, and XP on progression. It coordinates them into a crafting job.

Concepts

  • Recipe. A stable recipe:<name>: ingredients, an output, optional station, time, XP, and requirements.
  • Knowledge. By default a character must learn a recipe (a refcounted progression unlock). Set requires.unlock = false for common-knowledge recipes anyone can craft.
  • Consume at completion. Ingredients leave the bag only as each item completes, so cancelling, disconnecting, or walking away mid-craft is lossless.

Exports

Registry & knowledge

Crafting

Recipe shape

See add a recipe for the full walk.

Configuration

Ships one neutral default, recipe:bandage, in editable shared/data/recipes.lua (ForgeCrafting.DefaultRecipes), gated by Config.ShipDefaults. Rules (max batch, station reach, rate cap) live in Config.Rules.