# ps-inventory

This edit adds a metadata tooltip to the `vehiclekeys` item so players can see the vehicle name and plate when hovering over the key in their inventory.

{% hint style="info" %}
Use the link below as a reference for where to insert the code — find the block that handles item tooltips and add the new `else if` alongside the existing ones.

<https://github.com/Project-Sloth/ps-inventory/blob/27b0ebe84c672bcf0d8e1cbc0ff54ca1f3caebec/html/js/app.js#L621>
{% endhint %}

```javascript
} else if (itemData.name == "vehiclekeys") {
    $(".item-info-title").html("<p>" + itemData.label + "</p>");
    $(".item-info-description").html('<p><strong>Vehicle Keys for:  </strong><span>' + itemData.info.vehName + "</p><p style=\"font-size:11px\"><b>Plate: </b>" + itemData.info.plate + "</a>");
```


---

# 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://mrnewbs-scrips.gitbook.io/guide/mrnewbvehiclekeys-beta/vehiclekeys-install/inventory/ps-inventory.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.
