# nova\_ambulancejob

NOVA Framework ambulance job system. Provides medical interactions for the ambulance/EMS role.

## Features

* **Revive** — Revive downed players (10s timer by default)
* **Heal** — Restore player health (5s timer)
* **Health Check** — Check a player's health status (3s timer)
* **Target Integration** — Uses `nova_target` for interaction menus

## Configuration

Edit `config.lua`:

```lua
Config.JobName = 'ambulancia'       -- Job name in nova_core
Config.InteractDistance = 2.5       -- Max interaction distance
Config.ReviveTime = 10000          -- Revive duration (ms)
Config.HealTime = 5000             -- Heal duration (ms)
Config.HealthCheckTime = 3000      -- Health check duration (ms)
```

### Configuration Options

| Option             | Type   | Default        | Description                                |
| ------------------ | ------ | -------------- | ------------------------------------------ |
| `JobName`          | string | `'ambulancia'` | Job identifier in the framework            |
| `InteractDistance` | number | `2.5`          | Maximum distance to interact with patients |
| `ReviveTime`       | number | `10000`        | Time to revive in milliseconds             |
| `HealTime`         | number | `5000`         | Time to heal in milliseconds               |
| `HealthCheckTime`  | number | `3000`         | Time to check health in milliseconds       |

## How It Works

1. Players with the `ambulancia` job see target options on downed/nearby players
2. Select an action (Revive, Heal, Health Check)
3. A progress bar runs for the configured duration
4. The action is applied server-side after completion

## Dependencies

* **nova\_core** — Job system, player data
* **nova\_target** — Interaction targeting system

## Notes

* Only players with the configured job can use ambulance actions
* Revive restores a downed player to standing state
* Health check shows the patient's current health percentage
* Uses `nova_hud:ProgressBar` for action timing
