> 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-equipment/adjust-player-grenades.md).

# Adjust Player Grenades

![](https://692276616-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FN06Vv6nlwviUQ4hI2Kkd%2Fuploads%2Fgit-blob-4f774e57705491323678ef2af5e48047d4e40347%2Fadjust-player-grenades.png?alt=media)

## Description

Adjusts the number of grenades in the *Player*'s inventory. Negative values will subtract grenades. Doesn't work with AI units.

## Node Type

Nodes fall into two basic categories: Data and Execution. This node Executes a function directly in the node string.

## Inputs

| Input          | Type         | Required | Description                                    |
| -------------- | ------------ | -------- | ---------------------------------------------- |
| Player         | Object       | Yes      | Which player to give ammo to.                  |
| Grenade Type   | Grenade Type | Yes      | What type of grenade to adjust count of.       |
| Refill Percent | Number       | Yes      | How many grenades to give or take from player. |

## Outputs

| Output | Type | Description |
| ------ | ---- | ----------- |
| N/A    | N/A  | N/A         |

\
\
**Contributors**

AddiCt3d 2CHa0s
