# Ninja G.A.S.

> For the complete documentation index, see [llms.txt](llms.txt).

![Ninja G.A.S.](Documentation/gas_feature.png)

Use Ninja G.A.S. to give a character starting abilities and attributes through a single setup asset. A guard can own its abilities for its lifetime. A player can keep a shared set of abilities when they respawn and gain different moves when they possess a new pawn.

## What It Does

A G.A.S. Setup asset lists the attributes, effects, and abilities an actor starts with. The Ability System Component applies that setup. You choose whether the character owns the component or borrows it from the Player State.

## Main Features

| What you want to build | Start here |
| --- | --- |
| A character with starting energy and an ability that restores it | [Grant starting attributes and abilities](gas-guide-starting-abilities.html) |
| A charge effect that only the aiming player sees | [Play a local Gameplay Cue](gas-local-gameplay-cues.html) |
| An AI that recovers when its energy runs low | [Have an AI recover when energy runs low](gas-artificial-intelligence.html) |

## How a Guard Gets Its Recovery Move

The guard's setup asset grants Energy and a Recover ability. Its AI can read Energy, activate Recover when the value drops, and return to patrol once the ability ends. Another guard can use the same move with different starting values by changing the setup asset.

[Set up Ninja G.A.S.](gas-setup.html), then [give a character an ability system](gas-first-steps.html).

## Integrations

[Input and G.A.S.](ipt-gas-handlers.html) connects an input action to a granted ability. [Initialize plugin attributes](gas-guide-attributes.html) walks through starting health for Ninja Combat and backpack capacity for Ninja Inventory.

