aboutsummaryrefslogtreecommitdiff
path: root/data/help/use.yaml
diff options
context:
space:
mode:
Diffstat (limited to 'data/help/use.yaml')
-rw-r--r--data/help/use.yaml28
1 files changed, 15 insertions, 13 deletions
diff --git a/data/help/use.yaml b/data/help/use.yaml
index a6efafb..92c717f 100644
--- a/data/help/use.yaml
+++ b/data/help/use.yaml
@@ -4,26 +4,28 @@ description: |
Use an item on a target — the universal interaction command.
Usage:
- use <item> Use an item on a room object
use <item> on <target> Use item on a specific target
- use <item> with <item> Combine two inventory items (shorthand)
+ use <item> with <item> Combine two inventory items
The "use" command routes to different systems based on the target:
- Object target (room object)
- If a recipe matches: opens the recipe menu for crafting/cooking
- Otherwise: dispatches to the object's behavior (gather, talk, toggle)
+ Station object (furnace, anvil, fire, range)
+ If recipes match the item and station, opens a production menu.
- Item target (inventory or ground)
- If a recipe matches both items: combines them (e.g., flour + water)
+ Object with use_interactions
+ Shows a message or triggers an action (flags, teleport, etc.).
- Mob target
- Future: give items to NPCs for quests
+ Object with behavior
+ Dispatches to the object's behavior (gather, talk, toggle).
+
+ Inventory item
+ If a MadeFrom recipe matches both items, starts a combine
+ production action. You are prompted "How many?" before starting.
Examples:
use trout on fire Cook trout on a campfire
- use water on flour Mix dough (opens recipe menu)
- use bronze pickaxe on rock Mine copper/tin rocks
- use iron gate Push/pull a gate (falls through to toggle)
+ use copper ore on furnace Smelt copper ore
+ use bronze bar on anvil Smith bronze items
+ use flour on water Combine into dough
- See also: cook, recipe, gather, talk
+ See also: cook, smelt, smith, recipe