# My custom item doesn't have the correct properties!

If your custom item appears in-game but doesn't have the correct properties (e.g., a weapon with incorrect damage, a keycard with the wrong access levels), check the following:

1. **Verify the `CustomItemType` and `Item` type**: The `CustomItemType` in your `.yml` file must match the base `Item` type. For example, if you set `CustomItemType` to `Weapon`, the `Item` must be a weapon (e.g., `GunCOM18`).
2. **Check your `CustomData` formatting**: The `CustomData` section of your `.yml` file must be correctly formatted for the specified `CustomItemType`. For instance, a `Weapon` requires properties like `damage`, `max_ammo`, etc., while a `Keycard` needs `containment`, `armory`, and `admin` levels.
3. **Inspect the `CustomData` properties**: Ensure that all the properties in your `CustomData` are spelled correctly and have the correct data types (e.g., `float` for damage, `int` for ammo, `string` for a keycard's name).


---

# 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.uci.ucserver.it/uncomplicatedcustomitems/troubleshooting/my-custom-item-doesnt-have-the-correct-properties.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.
