# How to create table

{% stepper %}
{% step %}

## Change the config

* Go to the `configs/client.lua` folder, find `Config.DeveloperMode`, and set it to `true`
  {% endstep %}

{% step %}

## Restarting the Script

* Restart the script, then in the game, use the command `tablegenerator` to open the table creator.
  {% endstep %}

{% step %}

## **Table settings**

* Select the table UID; this will be useful later for triggering the event to open the correct table.
* Choose the table prop (it will automatically update after pressing confirm).
* If you have our script on SkillTree, you can enable XP gain after a successful craft.
  {% endstep %}

{% step %}

## **Rewards**

* You can specify which items the player should have after a successful craft.
  {% endstep %}

{% step %}

## Needed **items**

* You can specify which items the player must have in their inventory to start crafting.
  {% endstep %}

{% step %}

## Props

### **1. Setting the Prop’s Initial Position**

Define the starting position where the prop will first appear in the game world.

### **2. Setting the Prop’s Final Position**

Specify the destination to which the player must move the prop. This marks the end location the prop should be transferred to.

### **3. Configuring Particles (Optional)**

You can enhance the prop with particle effects and sound effects.

* **Particle Settings (Optional):**
  * Set the particle library and particle name.
  * Adjust the particle scale (Optional).
  * If no particle effect is needed but other options are required, leave these fields empty.
* **Sound Settings (Optional):**
  * Provide a URL for the sound effect.
  * If no sound effect is needed, leave this field empty.
  * (The framework used for sound can be modified here.)
* **Additional Particle Properties:**
  * Define the duration for which the particle effect should last.
  * Choose whether the prop should be deleted after the animation finishes (1 = Yes, 0 = No).

***

## **4. Additional Prop Features**

Each prop can be customized with different functionalities:

| Feature          | Description                                                                                              |
| ---------------- | -------------------------------------------------------------------------------------------------------- |
| **Static Prop**  | The prop remains in a fixed position.                                                                    |
| **Spawn Delay**  | The prop appears **with a delay**, making it visible only when its turn comes.                           |
| **Model Change** | The prop **changes its model or location** at a specific step (e.g., a pot changes when water is added). |

These settings allow you to create a more dynamic and interactive experience using our table.

{% endstep %}

{% step %}

## Saving & Applying the Configuration

Once all settings are configured:

1. **Press the "Save" button** in the Table Generator.
2. **Open** the `configs/shared.lua` file.
3. **Find** the following configuration:

   ```lua
   Shared.Recepie = {
       -- Generated code
   }
   ```
4. **Paste the generated table code inside `Shared.Recepie`**.
   {% endstep %}
   {% endstepper %}


---

# Agent Instructions: 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:

```
GET https://docs.devhub.gg/3d-crafting-table/how-to-create-table.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
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.
