> For the complete documentation index, see [llms.txt](https://wiki.thescriptersguild.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://wiki.thescriptersguild.com/scripting/nodes/inventory/get-weapon-magazine-rounds.md).

# Get Weapon Magazine Rounds

![](https://692276616-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FN06Vv6nlwviUQ4hI2Kkd%2Fuploads%2Fgit-blob-bed0780de46f8d5a949685bf796406db50f3e999%2Fget-weapon-magazine-rounds.png?alt=media)

## Description

Returns the number of rounds in the Weapon magazine. Returns 0 if the weapon does not have a magazine.

## Node Type

Nodes fall into two basic categories: Data and Execution. This node supplies Data for an Execution node.

## Inputs

| Input  | Type   | Required | Description                                             |
| ------ | ------ | -------- | ------------------------------------------------------- |
| Weapon | Object | Yes      | Which weapon to check how many rounds it currently has. |

## Outputs

| Output | Type   | Description                                  |
| ------ | ------ | -------------------------------------------- |
| Rounds | Number | Total number of rounds weapon currently has. |

\
\
**Contributors**

AddiCt3d 2CHa0s
