π§ͺ Demo Helpers β Authoring¶
This folder contains sample-only authoring utilities used by the Crafting demo scenes.
These types exist purely to make demos easier to set up and understand. They are not part of the core Crafting API and are not required for production use.
π― Purpose¶
The Crafting system is built around a pure runtime model:
RecipeCoreβ the actual recipe format used by the system
In production, recipes can be provided in multiple ways:
- via integrations (e.g. Inventory β
RecipeDefinition) - via code
- via custom authoring pipelines
The demo helpers in this folder provide a lightweight Unity authoring surface for standalone Crafting examples, without requiring any integrations.
π§© Included Types¶
StandaloneRecipeDefinition¶
A simple ScriptableObject used in demo scenes to define recipes using:
- GUIDs (instead of
ItemDefinition) - quantities
- optional currency
At runtime, this is converted into a RecipeCore.
β οΈ Important Notes¶
- These types are sample scaffolding only
- They are not used by the Crafting runtime directly
- They may be removed, changed, or replaced without affecting the core system
- They are intentionally minimal and not feature-complete
π§ When to Use This¶
Use these helpers if:
- you are exploring Crafting without the Inventory integration
- you want a quick way to define recipes in demo scenes
π« When NOT to Use This¶
Do not rely on these types as part of your production pipeline.
Instead:
- use
RecipeDefinitionwhen working with Inventory - or build your own authoring layer tailored to your project
- or provide
RecipeCoreinstances directly
πͺ Summary¶
RecipeCoreβ runtime truthRecipeDefinitionβ Inventory integration authoringStandaloneRecipeDefinitionβ demo-only convenience
Thatβs it β simple, honest, and keeps your architecture clean without confusing the poor bastards using it π