# start_kit.ron

> What a new survivor on a server starts with.

<!-- Generated by `zombye-server --docs`. Do not edit: change the game and generate again. -->

**What a new survivor on a server starts with.** Read by the game's rules: a change here changes how the game plays, and a world remembers the content it was made with.

File: `assets/data/start_kit.ron`

## About this file

What a new survivor on a multiplayer server starts with: a little, in its pockets. Single-player doesn't use it (you wake up in a bedroom with a house to search). `item` is an id in items/items.ron; `count` defaults to 1 (1 to 20). At most 12 entries, and keep it to what pockets hold (3 litres): the kit is put there without asking whether it fits. A server reads this file from its data folder (`--data DIR`); without it, survivors start with nothing.


## Fields

The file is one `KitFile`.

| Field | Type | What it is |
|---|---|---|
| `items` | `Vec<KitEntry>` |  |

### `KitEntry`

| Field | Type | What it is |
|---|---|---|
| `item` | `String` |  |
| `count` | `u16` |  |

## The file

<details>
<summary>The whole file as shipped</summary>

```ron
// What a new survivor on a multiplayer server starts with (#68): a little, in its pockets.
// Single-player doesn't use it (you wake up in a bedroom with a house to search).
// `item` is an id in items/items.ron; `count` defaults to 1 (1 to 20). At most 12 entries, and
// keep it to what pockets hold (3 litres): the kit is put there without asking whether it fits.
// A server reads this file from its data folder (`--data DIR`); without it, survivors start with
// nothing.
(
    items: [
        (item: "water_bottle"),
        (item: "chocolate_bar"),
        (item: "rag", count: 2),
        (item: "matches"),
    ],
)
```

</details>