🛠️ Crafting — Sample Scenes¶
This folder contains sample scenes that demonstrate key behaviours and integration patterns of the Crafting System.
These scenes are intended for learning, debugging, and validation in the Unity Editor.
They are not reference gameplay setups and are not part of the supported Crafting Public API.
Scope: Behavioural demonstrations and integration patterns
Audience: Developers exploring or validating Crafting features
Safety: Sample-only — do not ship as-is
📂 Scene Overview¶
| Scene | Focus |
|---|---|
| 00 • Quickstart | Minimal demo setup showing preflight, enqueue, and live job state/progress |
| 01 • Workbench Basics (2D or 3D) | Scene-driven crafting via workbenches, proximity + input, and station tag gating |
| 02 • Routing / Space / Currency | Output routing behaviour, space budgeting policies, and currency preflight |
| 03 • Validators & Modifiers | Custom rule validation and dynamic modifiers influencing crafting behaviour |
| 04 • Offline Progress & Persistence | Saving, restoring, and advancing jobs using wall-clock time |
| 05 • Real Adapters (Inventory + Currency) | Integration with real inventory data and optional currency services |
🧠 How to Use These Scenes¶
- Open a scene and enter Play Mode in the Unity Editor.
- Use the associated panel in each scene to explore behaviour.
- Adjust settings at runtime to observe how preflight and job execution respond.
- Read each scene’s README for important caveats and scope notes.
Each scene focuses on a single concept and avoids unnecessary setup so you can see how Crafting behaves in isolation.
⚠️ Important Notes¶
- These scenes may use fake adapters, sample data, or demo-only helpers.
- Some scenes intentionally include misconfigurations or warnings to demonstrate validation behaviour.
- No networking, replication, or cross-device synchronisation is provided.
- Authority enforcement is demonstrated only as a pattern, not a full solution.
If you are building production gameplay: - Copy patterns, not scenes. - Replace sample adapters and data with your own systems. - Build your own UI and persistence around the documented public APIs.
TL;DR¶
These scenes are your interactive reference lab for Crafting.
Useful to explore behaviour, safe to modify or delete, unsupported by design.