Interaction Recipes
Recipes are short, practical examples for specific outcomes.
This section is not a complete cookbook yet. For now, it captures the first recipe patterns Interaction should support.
Basic Door
Section titled “Basic Door”Goal: create a simple world actor that receives an interaction request and responds by opening, closing, or toggling state.
Typical flow:
Create door actor vAdd interactable capability vSet prompt text such as "Open Door" vConnect the interaction event to door behavior vVerify the prompt appears vTrigger interaction vConfirm the door receives the requestInteraction owns the request path. The door owns what opening means.
Gathering Entry Point
Section titled “Gathering Entry Point”Goal: use Interaction as the way a player starts harvesting without making Interaction responsible for resource rules.
Interaction request -> Resource actor -> Gathering logic validates harvest -> Rewards, depletion, respawn, or skill progressInteraction should not calculate loot, depletion, respawn timing, or gathering XP. Those decisions belong to the resource actor, the project, or a gathering-focused system.
Crafting Station Entry Point
Section titled “Crafting Station Entry Point”Goal: use an interaction request to open or activate a crafting station.
Interaction request -> Crafting station -> Station opens or calls crafting logic -> Recipes and crafting rules executeInteraction gets the request to the station. Crafting owns recipe validation, ingredients, outputs, and related rules.
Reusable Interaction Definitions
Section titled “Reusable Interaction Definitions”A future Interaction Definition could let many actors share the same generic interaction behavior.
For example, several ore actors might use a shared Mine Resource definition for prompt text, hold duration, cancellation behavior, and interaction points. Gathering would still own tool requirements, yield, depletion, respawn, and rewards.
That keeps repeated interaction setup reusable without turning Interaction into a gathering, inventory, quest, or skill system.
Planned Recipes
Section titled “Planned Recipes”Future recipes may cover:
- basic interactable door
- timed gathering interaction
- interaction prompt customization
- interaction with a custom UI
- inventory-backed crafting station
- reputation-gated interaction
- quest or dialogue triggered interaction
- multiplayer-authoritative interaction request