# Armor

## Follow the Item Guide

Follow the steps in the generic item guide first to define the other required properties of your item.

{% content-ref url="/pages/Ge8PWDDEbvOKI7LkNBWe" %}
[Items](/modding-wiki/creating-mods/modding-examples/items.md)
{% endcontent-ref %}

## Armor

{% hint style="warning" %}
The [CoreLib.Equipment submodule](/modding-wiki/creating-mods/modding-libraries/corelib.md) is required for this guide section.
{% endhint %}

To make armor you need to:

* Set the `ObjectType` to armor type
* Add `DurabilityAuthoring`, `ModEquipmentSkinAuthoring`, `GivesConditionsWhenEquipedAuthoring` and `LevelAuthoring` component authorings and configure them correctly

Make a armor spite sheet. Examples of such sheets can be found in the Unity Editor. Now assign your texture to `ModEquipmentSkinAuthoring` (CoreLib feature). The component will automatically set everything up.


---

# 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://core-keeper-modding.gitbook.io/modding-wiki/creating-mods/modding-examples/items/armor.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.
