> ## Documentation Index
> Fetch the complete documentation index at: https://docs.jaksam-scripts.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Get static items list

> Devuelve la lista de todos los ítems del inventario.

Devuelve la lista de todos los ítems del inventario.

<CodeGroup>
  ```lua Export theme={null}
  exports['jaksam_inventory']:getStaticItemsList()
  ```

  ```lua Example theme={null}
  local items = exports['jaksam_inventory']:getStaticItemsList()
  local weaponsCount = 0
  for itemName, item in pairs(items) do
      if item.type == 'weapon' then
          weaponsCount = weaponsCount + 1
      end
  end
  print("There are in total " .. weaponsCount .. " registered weapons in the inventory")
  ```
</CodeGroup>

### Parámetros

Ninguno.

### Valor de retorno

| Nombre | Tipo de Dato | Descripción |
| - | - | - |
| `items` | table | La lista de ítems, la clave es el nombre del ítem, el valor es la información del ítem (label, maxStack, weight, stackable, description, rarity, type, etc.) |


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.