# Others

## Config.lua

HOW TO ADD A BLUEPRINT (client-side):

```lua
exports["zat-crafting"]:GiveBlueprint("drill")
```

HOW TO ADD REPUTATION (client-side):

```
exports["zat-crafting"]:IncreaseReputationBy(10)
```

HOW TO SHOW ITEM DESCRIPTION IN THE INVENTORY:

{% hint style="info" %}

```
qb-inventory : 
add this part 
```

{% endhint %}

```
case "blueprint":
return `<p>Type : ${itemData.info.type}</p>`;
```

Under this :

```
case "harness":
return `<p>${itemData.info.uses} uses left</p>`;
```

{% hint style="info" %}

```
ps-inventory : 
add this part 
```

{% endhint %}

```
else if (itemData.name == "blueprint") {
$(".item-info-title").html("<p>" + itemData.label + "</p>"); 
$(".item-info-description").html("<p> Type: " + itemData.info.type + "</p>");
	
```

Under this :

```
} else if (itemData.name == "harness") {
var finalHarness = harnessUsePart + "<br><br>"  +  "</p>";
$(".item-info-title").html("<p>" + itemData.label + "</p>");
$(".item-info-description").html(finalHarness);
        
```


---

# 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://zat-scripts.gitbook.io/zat-scripts/qbcore/crafting/others.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.
