> For the complete documentation index, see [llms.txt](https://stonehill-games.gitbook.io/survival-starter-kit/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://stonehill-games.gitbook.io/survival-starter-kit/technical-details/itemdata.md).

# ItemData

The ItemData scriptable object is the foundation of the inventory system and contains all the information about the item you want to create in the game.

## Info Section

<figure><img src="https://4180822528-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Foq4xd4pPI5u0cPrFOCrg%2Fuploads%2F9XF4ja2aQxuxtqz41vpN%2Fitems_info.png?alt=media&amp;token=e13a68f2-823a-41c6-b44f-c35bfa6a9ac9" alt=""><figcaption></figcaption></figure>

* Display Name = The name of the object as it appears on the screen
* Description = The description the player will see in the crafting window when selecting this item
* Type = The type of item this is: Resource, Equipable, Consumable, or Buildable
* Resource Group = The group of resources this item is or produces.  For example, a piece of wood comes from the Resource Group: Trees, while an Arrow is from the Resource Group: WoodArrow.
* Icon = The image you want to use to represent this item
* Drop Prefab = The prefab that will be instantiated when this item is dropped from the inventory into the world

## Stacking Section

<figure><img src="https://4180822528-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Foq4xd4pPI5u0cPrFOCrg%2Fuploads%2FCz1rEF2oEKzldE7pgaHi%2Fitems_stacking.png?alt=media&amp;token=b0ff0462-59f0-4095-8cde-4291415b99ec" alt=""><figcaption></figcaption></figure>

* Can Stack = Whether or not this item is stackable at all
* Max Stack = The maximum number of items to have in a single stack

## Consumables Section

<figure><img src="https://4180822528-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Foq4xd4pPI5u0cPrFOCrg%2Fuploads%2FMGucGsluQJDomSQfWE4r%2FConsumable.png?alt=media&amp;token=a1b20729-131d-4a62-8617-f75a314c0264" alt=""><figcaption></figcaption></figure>

* Consumables = A list representing the Vital and how much to add to that vital when this item is consumed by the player

## &#x20;Wieldable Section

<figure><img src="https://4180822528-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Foq4xd4pPI5u0cPrFOCrg%2Fuploads%2FmuZq3SEgmF1bMN9ZJe8G%2Fitems_wieldable.png?alt=media&amp;token=ad243e57-2c1b-49fa-84f5-adbbecb6f5bd" alt=""><figcaption></figcaption></figure>

* Wieldable Prefab = The prefab to instantiate when the player equips the item.  This is the prefab that will be displayed as the arms and weapon for the player

## Building Section

<figure><img src="https://4180822528-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Foq4xd4pPI5u0cPrFOCrg%2Fuploads%2F0S0V4ltdrBlmw3GlL3TB%2Fitems_building.png?alt=media&amp;token=334a6607-2fc1-4981-8760-2c0a377e7f9e" alt=""><figcaption></figcaption></figure>

* Building Prefab = The prefab that will be placed in the world when a building item is equipped and done rotating

## Usage Section

<figure><img src="https://4180822528-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Foq4xd4pPI5u0cPrFOCrg%2Fuploads%2F4jKNUPi3WzX4xTbgFi71%2Fitems_usage.png?alt=media&amp;token=3ed21cda-c561-43d5-8664-c3dc787948b8" alt=""><figcaption></figcaption></figure>

* Usage Rate = The rate at which this item can be used by the player.  The higher the number the more time must pass before the next usage.
* Usage Distance = The distance from the player at which world objects will be affected by this item

## Resource Gathering Section

<figure><img src="https://4180822528-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Foq4xd4pPI5u0cPrFOCrg%2Fuploads%2FrcDhQA1TiN424bxvbxPN%2Fitems_resourceGathering.png?alt=media&amp;token=729c6508-f8f7-4565-9252-6290e3241836" alt=""><figcaption></figcaption></figure>

* Can Gather Resources = Can this item gather resources from the world?
* Types that can be Gathered = A list of Resource Types that can be gathered from the world.  An Axe, for example, can gather wood but not stone

## Combat Section

<figure><img src="https://4180822528-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Foq4xd4pPI5u0cPrFOCrg%2Fuploads%2FsSKmvepT5SEAEK65qx9n%2Fitems_combat.png?alt=media&amp;token=984a92e2-bb10-429d-9599-9a5b3dc41b3e" alt=""><figcaption></figcaption></figure>

* Can Deal Damage = Can this item be used in combat to deal damage to NPCs?
* Damage = The amount of damage this item can do

## Crafting Section

<figure><img src="https://4180822528-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Foq4xd4pPI5u0cPrFOCrg%2Fuploads%2FPvluPv8Fp7FF77Vw2QM0%2Fitems_crafting.png?alt=media&amp;token=9fba1ae1-3e65-43b3-94b5-93c0431d2c05" alt=""><figcaption></figcaption></figure>

* Is Craftable = Is this item craftable via the crafting menu?
* Category = The category that this item will show up under when crafting
* Level = The level of crafting table that must be used to craft this item.  By default, the level is zero which means the player does not need a crafting table to craft this item
* Number per Craft = How many items will be crafted when a recipe is crafted
* Cost = A list of costs to craft this item.  For example, an axe may take one wood and one stone to craft

## Item Type Specifics Section

<figure><img src="https://4180822528-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Foq4xd4pPI5u0cPrFOCrg%2Fuploads%2FXDRDGyOehItPgzjCGP1y%2Fitems_itemTypeSpecifics.png?alt=media&amp;token=2cb49fdb-9498-47fc-aefb-31655ca6e454" alt=""><figcaption></figcaption></figure>

* Burn Rate = The rate at which this item burns in a campfire

## Cooking Section

<figure><img src="https://4180822528-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Foq4xd4pPI5u0cPrFOCrg%2Fuploads%2FcCQNWAJiHBU7mEsALttE%2Fitems_cooking.png?alt=media&amp;token=ac5ac291-9f03-415d-aca6-8948898de0bd" alt=""><figcaption></figcaption></figure>

* Is Cookable = Can this item be cooked on the campfire?
* Cook Time = How long does  it take to cook this item
* Cooking Result = What item will be produced when this item has finished cooking?
