> For the complete documentation index, see [llms.txt](https://ss3d.gitbook.io/design/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://ss3d.gitbook.io/design/actions/crafting/advanced-crafting.md).

# Advanced Crafting

Advanced Crafting is a way for characters to make better Weapons, Clothing, Food and other various items, using a specific workstation (such as a Workbench, Stove, Microwave, Fabricator, Forge or other).

In order to implement Advanced crafting, an Advanced Recipe List (ARL) should be implemented first.

## Advanced Recipe List (ARL)

This list should contain the ID’s and quantities of various items and materials used for crafting, ID’s for needed tools and the ID’s and quantities of the resulting items, as well as the type of the crafting station.

Example of the entry from the said list:

```
{
  "type": "workbench",
  "result": "Flamethrower",
  "time": "20 s",
  "tool": [ { "Screwdriver " } ],
  "component": [ [ [ "Welding Tool", 1 ], [“Igniter”, 1], [“Metal_rod”, 1] ] ]
},
```

Where (the names of these can change):

* "type" is a type of the crafting station;
* "result" is the object, created in the end of the completed recipe;
* "time" is the length of waiting for an action in the recipe to be completed;
* "tool" is the object, that is supposed to be used (depleting the set amount of fuel or durability for one action), but not consumed;
* "component" is the set of objects consumed in the crafting process;

This set of recipes requires a Screwdriver as a tool, 1 Igniter, 1 Rod and 1 Welding Tool to create Flamethrower

Crafting menu should be implemented for this kind of crafting.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://ss3d.gitbook.io/design/actions/crafting/advanced-crafting.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
