> For the complete documentation index, see [llms.txt](https://picnic-in-the-oblivion.gitbook.io/source-code-scripts/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://picnic-in-the-oblivion.gitbook.io/source-code-scripts/gameplay/slot.gd.md).

# Slot.gd

Slot object. Store current equipped item data.

```gdscript
extends Control
class_name slot

var equipped_item : item # item object that equipped tho current slot
```

So we can get access to them through <mark style="color:green;">Inventory</mark> by using:

```gdscript
func _ready():
    # slot id can be: pistol, rifle, outfit, belt1, belt2, belt3, belt4
    # will return currently equipped item data
    GameManager.Gui.InventoryWindow._GetItemInSlot(slot_id : string).equipped_item
```
